Struct stens::UndersizeError
source · [−]Fields
len: u16min_len: u16Trait Implementations
sourceimpl Clone for UndersizeError
impl Clone for UndersizeError
sourcefn clone(&self) -> UndersizeError
fn clone(&self) -> UndersizeError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UndersizeError
impl Debug for UndersizeError
sourceimpl Display for UndersizeError
impl Display for UndersizeError
sourceimpl Error for UndersizeError
impl Error for UndersizeError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<UndersizeError> for String
impl From<UndersizeError> for String
sourcefn from(err: UndersizeError) -> Self
fn from(err: UndersizeError) -> Self
Converts to this type from the input type.
sourceimpl From<UndersizeError> for CollectionError
impl From<UndersizeError> for CollectionError
sourcefn from(v: UndersizeError) -> Self
fn from(v: UndersizeError) -> Self
Converts to this type from the input type.
sourceimpl From<UndersizeError> for AsciiStringError
impl From<UndersizeError> for AsciiStringError
sourcefn from(v: UndersizeError) -> Self
fn from(v: UndersizeError) -> Self
Converts to this type from the input type.
sourceimpl From<UndersizeError> for RemoveError
impl From<UndersizeError> for RemoveError
sourcefn from(v: UndersizeError) -> Self
fn from(v: UndersizeError) -> Self
Converts to this type from the input type.
sourceimpl Hash for UndersizeError
impl Hash for UndersizeError
sourceimpl Ord for UndersizeError
impl Ord for UndersizeError
sourceimpl PartialEq<UndersizeError> for UndersizeError
impl PartialEq<UndersizeError> for UndersizeError
sourcefn eq(&self, other: &UndersizeError) -> bool
fn eq(&self, other: &UndersizeError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UndersizeError) -> bool
fn ne(&self, other: &UndersizeError) -> bool
This method tests for !=.
sourceimpl PartialOrd<UndersizeError> for UndersizeError
impl PartialOrd<UndersizeError> for UndersizeError
sourcefn partial_cmp(&self, other: &UndersizeError) -> Option<Ordering>
fn partial_cmp(&self, other: &UndersizeError) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for UndersizeError
impl Eq for UndersizeError
impl StructuralEq for UndersizeError
impl StructuralPartialEq for UndersizeError
Auto Trait Implementations
impl RefUnwindSafe for UndersizeError
impl Send for UndersizeError
impl Sync for UndersizeError
impl Unpin for UndersizeError
impl UnwindSafe for UndersizeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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