pub enum StorageKeyDecodeError {
InvalidSize,
InvalidTag,
InvalidPrincipalLength,
NonZeroPadding {
field: &'static str,
},
InvalidAccountPayload {
reason: &'static str,
},
}Expand description
StorageKeyDecodeError Errors returned when decoding a persisted storage key payload.
Variants§
Trait Implementations§
Source§impl Debug for StorageKeyDecodeError
impl Debug for StorageKeyDecodeError
Source§impl Display for StorageKeyDecodeError
impl Display for StorageKeyDecodeError
Source§impl Error for StorageKeyDecodeError
impl Error for StorageKeyDecodeError
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()
Auto Trait Implementations§
impl Freeze for StorageKeyDecodeError
impl RefUnwindSafe for StorageKeyDecodeError
impl Send for StorageKeyDecodeError
impl Sync for StorageKeyDecodeError
impl Unpin for StorageKeyDecodeError
impl UnsafeUnpin for StorageKeyDecodeError
impl UnwindSafe for StorageKeyDecodeError
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