Enum tinystr::TinyStrError
source · [−]#[non_exhaustive]
pub enum TinyStrError {
TooLarge {
max: usize,
len: usize,
},
ContainsNull,
NonAscii,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TooLarge
ContainsNull
NonAscii
Trait Implementations
sourceimpl Debug for TinyStrError
impl Debug for TinyStrError
sourceimpl Display for TinyStrError
impl Display for TinyStrError
sourceimpl PartialEq<TinyStrError> for TinyStrError
impl PartialEq<TinyStrError> for TinyStrError
sourcefn eq(&self, other: &TinyStrError) -> bool
fn eq(&self, other: &TinyStrError) -> bool
impl Eq for TinyStrError
impl StructuralEq for TinyStrError
impl StructuralPartialEq for TinyStrError
Auto Trait Implementations
impl RefUnwindSafe for TinyStrError
impl Send for TinyStrError
impl Sync for TinyStrError
impl Unpin for TinyStrError
impl UnwindSafe for TinyStrError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more