pub enum IdentityDecodeError {
InvalidSize,
InvalidLength,
NonAscii,
NonZeroPadding,
}Expand description
Decode errors (storage / corruption boundary)
Variants§
Trait Implementations§
Source§impl Debug for IdentityDecodeError
impl Debug for IdentityDecodeError
Source§impl Display for IdentityDecodeError
impl Display for IdentityDecodeError
Source§impl Error for IdentityDecodeError
impl Error for IdentityDecodeError
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<IdentityDecodeError> for DataKeyDecodeError
impl From<IdentityDecodeError> for DataKeyDecodeError
Source§fn from(source: IdentityDecodeError) -> Self
fn from(source: IdentityDecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IdentityDecodeError
impl RefUnwindSafe for IdentityDecodeError
impl Send for IdentityDecodeError
impl Sync for IdentityDecodeError
impl Unpin for IdentityDecodeError
impl UnwindSafe for IdentityDecodeError
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