pub enum VarintError {
Truncated,
Overflow,
}Variants§
Truncated
The buffer ended before a byte without the continuation bit.
Overflow
More than 64 bits of payload (10th byte > 0x01, or an 11th byte).
Trait Implementations§
Source§impl Clone for VarintError
impl Clone for VarintError
impl Copy for VarintError
Source§impl Debug for VarintError
impl Debug for VarintError
impl Eq for VarintError
Source§impl PartialEq for VarintError
impl PartialEq for VarintError
impl StructuralPartialEq for VarintError
Auto Trait Implementations§
impl Forget for VarintError
impl Freeze for VarintError
impl Move for VarintError
impl RefUnwindSafe for VarintError
impl Send for VarintError
impl Sync for VarintError
impl Unpin for VarintError
impl UnsafeUnpin for VarintError
impl UnwindSafe for VarintError
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