pub enum DiffDecodeError {
OutOfMemory,
BaseSizeMismatch(usize, usize),
ResultSizeMismatch(usize, usize),
UnexpectedEof,
InvalidData,
}Variants§
OutOfMemory
BaseSizeMismatch(usize, usize)
ResultSizeMismatch(usize, usize)
UnexpectedEof
InvalidData
Trait Implementations§
Source§impl Debug for DiffDecodeError
impl Debug for DiffDecodeError
Source§impl Display for DiffDecodeError
impl Display for DiffDecodeError
Source§impl Error for DiffDecodeError
impl Error for DiffDecodeError
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<DiffDecodeError> for Error
impl From<DiffDecodeError> for Error
Source§fn from(value: DiffDecodeError) -> Self
fn from(value: DiffDecodeError) -> Self
Converts to this type from the input type.
Source§impl From<TryReserveError> for DiffDecodeError
impl From<TryReserveError> for DiffDecodeError
Source§fn from(_: TryReserveError) -> Self
fn from(_: TryReserveError) -> Self
Converts to this type from the input type.
Source§impl From<VarintDecodeError> for DiffDecodeError
impl From<VarintDecodeError> for DiffDecodeError
Source§fn from(e: VarintDecodeError) -> Self
fn from(e: VarintDecodeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DiffDecodeError
impl PartialEq for DiffDecodeError
impl StructuralPartialEq for DiffDecodeError
Auto Trait Implementations§
impl Forget for DiffDecodeError
impl Freeze for DiffDecodeError
impl Move for DiffDecodeError
impl RefUnwindSafe for DiffDecodeError
impl Send for DiffDecodeError
impl Sync for DiffDecodeError
impl Unpin for DiffDecodeError
impl UnsafeUnpin for DiffDecodeError
impl UnwindSafe for DiffDecodeError
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