Struct bonsaidb_core::key::IncorrectByteLength
source · pub struct IncorrectByteLength;
Expand description
An error that indicates an unexpected number of bytes were present.
Trait Implementations§
source§impl Debug for IncorrectByteLength
impl Debug for IncorrectByteLength
source§impl Display for IncorrectByteLength
impl Display for IncorrectByteLength
source§impl Error for IncorrectByteLength
impl Error for IncorrectByteLength
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<TryFromSliceError> for IncorrectByteLength
impl From<TryFromSliceError> for IncorrectByteLength
source§fn from(_: TryFromSliceError) -> Self
fn from(_: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for IncorrectByteLength
impl Send for IncorrectByteLength
impl Sync for IncorrectByteLength
impl Unpin for IncorrectByteLength
impl UnwindSafe for IncorrectByteLength
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