Struct stens::UndersizeError
source · Fields§
§len: u16
§min_len: u16
Trait Implementations§
source§impl Clone for UndersizeError
impl Clone for UndersizeError
source§fn clone(&self) -> UndersizeError
fn clone(&self) -> UndersizeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UndersizeError
impl Debug for UndersizeError
source§impl Display for UndersizeError
impl Display for UndersizeError
source§impl Error for UndersizeError
impl Error for UndersizeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<UndersizeError> for AsciiStringError
impl From<UndersizeError> for AsciiStringError
source§fn from(v: UndersizeError) -> Self
fn from(v: UndersizeError) -> Self
Converts to this type from the input type.
source§impl From<UndersizeError> for CollectionError
impl From<UndersizeError> for CollectionError
source§fn from(v: UndersizeError) -> Self
fn from(v: UndersizeError) -> Self
Converts to this type from the input type.
source§impl From<UndersizeError> for RemoveError
impl From<UndersizeError> for RemoveError
source§fn from(v: UndersizeError) -> Self
fn from(v: UndersizeError) -> Self
Converts to this type from the input type.
source§impl From<UndersizeError> for String
impl From<UndersizeError> for String
source§fn from(err: UndersizeError) -> Self
fn from(err: UndersizeError) -> Self
Converts to this type from the input type.
source§impl Hash for UndersizeError
impl Hash for UndersizeError
source§impl Ord for UndersizeError
impl Ord for UndersizeError
source§fn cmp(&self, other: &UndersizeError) -> Ordering
fn cmp(&self, other: &UndersizeError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<UndersizeError> for UndersizeError
impl PartialEq<UndersizeError> for UndersizeError
source§fn 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 ==
.source§impl PartialOrd<UndersizeError> for UndersizeError
impl PartialOrd<UndersizeError> for UndersizeError
source§fn partial_cmp(&self, other: &UndersizeError) -> Option<Ordering>
fn partial_cmp(&self, other: &UndersizeError) -> Option<Ordering>
1.0.0 · source§fn 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