pub struct VarIntUnexpectedEnd;Expand description
Error returned when a varint decode reaches EOF before all bytes are available.
Trait Implementations§
Source§impl Clone for VarIntUnexpectedEnd
impl Clone for VarIntUnexpectedEnd
Source§fn clone(&self) -> VarIntUnexpectedEnd
fn clone(&self) -> VarIntUnexpectedEnd
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 VarIntUnexpectedEnd
Source§impl Debug for VarIntUnexpectedEnd
impl Debug for VarIntUnexpectedEnd
Source§impl Display for VarIntUnexpectedEnd
impl Display for VarIntUnexpectedEnd
impl Eq for VarIntUnexpectedEnd
Source§impl Error for VarIntUnexpectedEnd
impl Error for VarIntUnexpectedEnd
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<VarIntUnexpectedEnd> for CapsuleError
impl From<VarIntUnexpectedEnd> for CapsuleError
Source§fn from(source: VarIntUnexpectedEnd) -> Self
fn from(source: VarIntUnexpectedEnd) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VarIntUnexpectedEnd
impl PartialEq for VarIntUnexpectedEnd
impl StructuralPartialEq for VarIntUnexpectedEnd
Auto Trait Implementations§
impl Freeze for VarIntUnexpectedEnd
impl RefUnwindSafe for VarIntUnexpectedEnd
impl Send for VarIntUnexpectedEnd
impl Sync for VarIntUnexpectedEnd
impl Unpin for VarIntUnexpectedEnd
impl UnsafeUnpin for VarIntUnexpectedEnd
impl UnwindSafe for VarIntUnexpectedEnd
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