Enum idna::uts46::ProcessingError
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)