pub enum CodePointInversionListAndStringListError {
InvalidCodePointInversionList(CodePointInversionListError),
InvalidStringLength(String),
StringListNotUnique(String),
StringListNotSorted(String, String),
}
Expand description
Custom Errors for CodePointInversionListAndStringList
.
Re-exported as Error
.
Variants§
InvalidCodePointInversionList(CodePointInversionListError)
An invalid CodePointInversionList was constructed
InvalidStringLength(String)
A string in the string list had an invalid length
StringListNotUnique(String)
A string in the string list appears more than once
StringListNotSorted(String, String)
Two strings in the string list compare to each other opposite of sorted order
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CodePointInversionListAndStringListError
impl Send for CodePointInversionListAndStringListError
impl Sync for CodePointInversionListAndStringListError
impl Unpin for CodePointInversionListAndStringListError
impl UnwindSafe for CodePointInversionListAndStringListError
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