pub enum CodePointInversionListError {
InvalidSet(Vec<u32>),
InvalidRange(u32, u32),
}
Expand description
Custom Errors for CodePointInversionList
.
Re-exported as Error
.
Variants§
InvalidSet(Vec<u32>)
A CodePointInversionList was constructed with an invalid inversion list
InvalidRange(u32, u32)
A CodePointInversionList was constructed containing an invalid range
Trait Implementations§
Source§impl Debug for CodePointInversionListError
impl Debug for CodePointInversionListError
Source§impl Error for CodePointInversionListError
impl Error for CodePointInversionListError
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()
Auto Trait Implementations§
impl Freeze for CodePointInversionListError
impl RefUnwindSafe for CodePointInversionListError
impl Send for CodePointInversionListError
impl Sync for CodePointInversionListError
impl Unpin for CodePointInversionListError
impl UnwindSafe for CodePointInversionListError
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