Enum uucore::parse_size::ParseSizeError
source · [−]Variants
InvalidSuffix(String)
ParseFailure(String)
SizeTooBig(String)
Trait Implementations
sourceimpl Debug for ParseSizeError
impl Debug for ParseSizeError
sourceimpl Display for ParseSizeError
impl Display for ParseSizeError
sourceimpl Error for ParseSizeError
impl Error for ParseSizeError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
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
sourceimpl PartialEq<ParseSizeError> for ParseSizeError
impl PartialEq<ParseSizeError> for ParseSizeError
sourcefn eq(&self, other: &ParseSizeError) -> bool
fn eq(&self, other: &ParseSizeError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ParseSizeError
impl StructuralEq for ParseSizeError
impl StructuralPartialEq for ParseSizeError
Auto Trait Implementations
impl RefUnwindSafe for ParseSizeError
impl Send for ParseSizeError
impl Sync for ParseSizeError
impl Unpin for ParseSizeError
impl UnwindSafe for ParseSizeError
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.