pub struct BufferTooShortDetail { /* private fields */ }Expand description
Detail payload for “buffer too short”: a parser ran out of bytes.
Implementations§
Trait Implementations§
Source§impl Clone for BufferTooShortDetail
impl Clone for BufferTooShortDetail
Source§fn clone(&self) -> BufferTooShortDetail
fn clone(&self) -> BufferTooShortDetail
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 BufferTooShortDetail
Source§impl Debug for BufferTooShortDetail
impl Debug for BufferTooShortDetail
Source§impl Display for BufferTooShortDetail
impl Display for BufferTooShortDetail
impl Eq for BufferTooShortDetail
Source§impl Error for BufferTooShortDetail
impl Error for BufferTooShortDetail
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 Hash for BufferTooShortDetail
impl Hash for BufferTooShortDetail
Source§impl PartialEq for BufferTooShortDetail
impl PartialEq for BufferTooShortDetail
Source§fn eq(&self, other: &BufferTooShortDetail) -> bool
fn eq(&self, other: &BufferTooShortDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BufferTooShortDetail
Auto Trait Implementations§
impl Freeze for BufferTooShortDetail
impl RefUnwindSafe for BufferTooShortDetail
impl Send for BufferTooShortDetail
impl Sync for BufferTooShortDetail
impl Unpin for BufferTooShortDetail
impl UnsafeUnpin for BufferTooShortDetail
impl UnwindSafe for BufferTooShortDetail
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