pub enum InvalidStringList {
InvalidStringLength(),
StringListNotUnique(),
StringListNotSorted(),
}
Expand description
Custom Errors for CodePointInversionListAndStringList
.
Variants§
InvalidStringLength()
A string in the string list had an invalid length
StringListNotUnique()
A string in the string list appears more than once
StringListNotSorted()
Two strings in the string list compare to each other opposite of sorted order
Trait Implementations§
Source§impl Debug for InvalidStringList
impl Debug for InvalidStringList
Auto Trait Implementations§
impl Freeze for InvalidStringList
impl RefUnwindSafe for InvalidStringList
impl Send for InvalidStringList
impl Sync for InvalidStringList
impl Unpin for InvalidStringList
impl UnwindSafe for InvalidStringList
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
InvalidStringLength
: 0 bytesStringListNotUnique
: 0 bytesStringListNotSorted
: 0 bytes