pub enum EncodeError {
NotEnoughData,
MinError,
MaxError,
}
Expand description
Type representing possible encoding errors.
Variants§
NotEnoughData
There is not enough byte data available to encode a value.
MinError
The value to encode is smaller than the minimum value encodable.
MaxError
The value to encode is greater than the maximum value encodable.
Trait Implementations§
Source§impl Debug for EncodeError
impl Debug for EncodeError
Source§impl PartialEq for EncodeError
impl PartialEq for EncodeError
impl StructuralPartialEq for EncodeError
Auto Trait Implementations§
impl Freeze for EncodeError
impl RefUnwindSafe for EncodeError
impl Send for EncodeError
impl Sync for EncodeError
impl Unpin for EncodeError
impl UnwindSafe for EncodeError
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