pub struct TooManyWords {
pub remaining: usize,
}Expand description
Attempted to Decode an instance of a type from a slice containing more
Words than necessary.
Fields§
§remaining: usizeThe number of words left remaining in the slice.
Trait Implementations§
Source§impl Debug for TooManyWords
impl Debug for TooManyWords
Source§impl Display for TooManyWords
impl Display for TooManyWords
Source§impl Error for TooManyWords
impl Error for TooManyWords
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<E> From<TooManyWords> for DecodeError<E>
impl<E> From<TooManyWords> for DecodeError<E>
Source§fn from(source: TooManyWords) -> Self
fn from(source: TooManyWords) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TooManyWords
impl RefUnwindSafe for TooManyWords
impl Send for TooManyWords
impl Sync for TooManyWords
impl Unpin for TooManyWords
impl UnwindSafe for TooManyWords
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