pub struct Error(/* private fields */);
Expand description
Error when decoding a LEB128 value.
Implementations§
Source§impl Error
impl Error
Sourcepub const fn is_more_bytes_needed(&self) -> bool
pub const fn is_more_bytes_needed(&self) -> bool
If more bytes are needed in the slice to decode the value
Sourcepub const fn is_invalid_encoding(&self) -> bool
pub const fn is_invalid_encoding(&self) -> bool
If the value has an invalid encoding
Trait Implementations§
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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