pub enum CleaningError {
NormalizationUnavailable {
requested: UnicodeNormalizationMode,
},
}Expand description
Errors produced by fallible cleaning APIs.
Variants§
A Unicode normalization mode was requested without the unorm feature.
Trait Implementations§
Source§impl Clone for CleaningError
impl Clone for CleaningError
Source§fn clone(&self) -> CleaningError
fn clone(&self) -> CleaningError
Returns a duplicate 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 CleaningError
impl Debug for CleaningError
Source§impl Display for CleaningError
impl Display for CleaningError
Source§impl Error for CleaningError
impl Error for CleaningError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for CleaningError
impl PartialEq for CleaningError
impl Copy for CleaningError
impl Eq for CleaningError
impl StructuralPartialEq for CleaningError
Auto Trait Implementations§
impl Freeze for CleaningError
impl RefUnwindSafe for CleaningError
impl Send for CleaningError
impl Sync for CleaningError
impl Unpin for CleaningError
impl UnsafeUnpin for CleaningError
impl UnwindSafe for CleaningError
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