pub enum ByteConversionError {
FromBEBytesError,
FromLEBytesError,
}
Variants§
Trait Implementations§
source§impl Debug for ByteConversionError
impl Debug for ByteConversionError
source§impl From<ByteConversionError> for DeserializationError
impl From<ByteConversionError> for DeserializationError
source§fn from(error: ByteConversionError) -> Self
fn from(error: ByteConversionError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ByteConversionError> for ByteConversionError
impl PartialEq<ByteConversionError> for ByteConversionError
source§fn eq(&self, other: &ByteConversionError) -> bool
fn eq(&self, other: &ByteConversionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ByteConversionError
impl StructuralEq for ByteConversionError
impl StructuralPartialEq for ByteConversionError
Auto Trait Implementations§
impl RefUnwindSafe for ByteConversionError
impl Send for ByteConversionError
impl Sync for ByteConversionError
impl Unpin for ByteConversionError
impl UnwindSafe for ByteConversionError
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