Struct fstr::LengthError
source · pub struct LengthError { /* private fields */ }
Expand description
An error converting to FStr<N>
from a slice having a different length than N
.
Trait Implementations§
source§impl Clone for LengthError
impl Clone for LengthError
source§fn clone(&self) -> LengthError
fn clone(&self) -> LengthError
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 LengthError
impl Debug for LengthError
source§impl Display for LengthError
impl Display for LengthError
source§impl Error for LengthError
Available on crate feature std
only.
impl Error for LengthError
Available on crate feature
std
only.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 PartialEq for LengthError
impl PartialEq for LengthError
source§fn eq(&self, other: &LengthError) -> bool
fn eq(&self, other: &LengthError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LengthError
impl Eq for LengthError
impl StructuralEq for LengthError
impl StructuralPartialEq for LengthError
Auto Trait Implementations§
impl RefUnwindSafe for LengthError
impl Send for LengthError
impl Sync for LengthError
impl Unpin for LengthError
impl UnwindSafe for LengthError
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