pub enum FingerprintError {
TooShort,
UnknownLayout,
}Expand description
Error surface for fingerprint operations.
Variants§
TooShort
Account bytes too short to contain a layout_id (< 12 bytes).
UnknownLayout
No matching layout manifest for the supplied name.
Trait Implementations§
Source§impl Clone for FingerprintError
impl Clone for FingerprintError
Source§fn clone(&self) -> FingerprintError
fn clone(&self) -> FingerprintError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FingerprintError
impl Debug for FingerprintError
Source§impl From<FingerprintError> for ReaderError
impl From<FingerprintError> for ReaderError
Source§fn from(e: FingerprintError) -> Self
fn from(e: FingerprintError) -> Self
Converts to this type from the input type.
Source§impl From<FingerprintError> for SdkError
impl From<FingerprintError> for SdkError
Source§fn from(e: FingerprintError) -> Self
fn from(e: FingerprintError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FingerprintError
impl PartialEq for FingerprintError
Source§fn eq(&self, other: &FingerprintError) -> bool
fn eq(&self, other: &FingerprintError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FingerprintError
impl Eq for FingerprintError
impl StructuralPartialEq for FingerprintError
Auto Trait Implementations§
impl Freeze for FingerprintError
impl RefUnwindSafe for FingerprintError
impl Send for FingerprintError
impl Sync for FingerprintError
impl Unpin for FingerprintError
impl UnsafeUnpin for FingerprintError
impl UnwindSafe for FingerprintError
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