pub enum ProcessingError {
ValidityError,
SinkError,
}
Expand description
The failure outcome of Uts46::process
Variants§
ValidityError
There was a validity error according to the chosen options.
In case of Operation::ToAscii
, there is no output. Otherwise, output was written to the
sink and the output contains at least one U+FFFD REPLACEMENT CHARACTER to denote an error.
SinkError
The sink emitted core::fmt::Error
. The partial output written to the sink must not
be used.
Trait Implementations§
Source§impl Clone for ProcessingError
impl Clone for ProcessingError
Source§fn clone(&self) -> ProcessingError
fn clone(&self) -> ProcessingError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProcessingError
impl Debug for ProcessingError
Source§impl From<Error> for ProcessingError
impl From<Error> for ProcessingError
Source§impl PartialEq for ProcessingError
impl PartialEq for ProcessingError
impl Copy for ProcessingError
impl Eq for ProcessingError
impl StructuralPartialEq for ProcessingError
Auto Trait Implementations§
impl Freeze for ProcessingError
impl RefUnwindSafe for ProcessingError
impl Send for ProcessingError
impl Sync for ProcessingError
impl Unpin for ProcessingError
impl UnwindSafe for ProcessingError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more