pub struct ExactWidthError { /* private fields */ }Expand description
Error returned when an exact-width byte value has the wrong length.
Implementations§
Trait Implementations§
Source§impl Clone for ExactWidthError
impl Clone for ExactWidthError
Source§fn clone(&self) -> ExactWidthError
fn clone(&self) -> ExactWidthError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExactWidthError
Source§impl Debug for ExactWidthError
impl Debug for ExactWidthError
Source§impl Display for ExactWidthError
impl Display for ExactWidthError
impl Eq for ExactWidthError
Source§impl Error for ExactWidthError
impl Error for ExactWidthError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 ExactWidthError
impl PartialEq for ExactWidthError
impl StructuralPartialEq for ExactWidthError
Auto Trait Implementations§
impl Freeze for ExactWidthError
impl RefUnwindSafe for ExactWidthError
impl Send for ExactWidthError
impl Sync for ExactWidthError
impl Unpin for ExactWidthError
impl UnsafeUnpin for ExactWidthError
impl UnwindSafe for ExactWidthError
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