pub struct ExtraneousBytes;
Expand description
Called SafeBuf::should_be_exhausted
, but found bytes remaining
Trait Implementations§
Source§impl Clone for ExtraneousBytes
impl Clone for ExtraneousBytes
Source§fn clone(&self) -> ExtraneousBytes
fn clone(&self) -> ExtraneousBytes
Returns a duplicate 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 ExtraneousBytes
impl Debug for ExtraneousBytes
Source§impl Display for ExtraneousBytes
impl Display for ExtraneousBytes
Source§impl Error for ExtraneousBytes
impl Error for ExtraneousBytes
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 From<ExtraneousBytes> for Error
impl From<ExtraneousBytes> for Error
Source§fn from(source: ExtraneousBytes) -> Self
fn from(source: ExtraneousBytes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExtraneousBytes
impl PartialEq for ExtraneousBytes
impl Copy for ExtraneousBytes
impl Eq for ExtraneousBytes
impl StructuralPartialEq for ExtraneousBytes
Auto Trait Implementations§
impl Freeze for ExtraneousBytes
impl RefUnwindSafe for ExtraneousBytes
impl Send for ExtraneousBytes
impl Sync for ExtraneousBytes
impl Unpin for ExtraneousBytes
impl UnwindSafe for ExtraneousBytes
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