pub enum LedgerCompatibilityError {
UnsupportedLedgerSchemaVersion {
found: u32,
min_supported: u32,
max_supported: u32,
},
UnsupportedPhysicalFormat {
found: u32,
supported: u32,
},
}Expand description
LedgerCompatibilityError
Decoded ledger format is unsupported by this reader.
Variants§
UnsupportedLedgerSchemaVersion
Ledger schema version is outside the supported range.
Fields
UnsupportedPhysicalFormat
Physical format ID is not supported by this reader.
Trait Implementations§
Source§impl Clone for LedgerCompatibilityError
impl Clone for LedgerCompatibilityError
Source§fn clone(&self) -> LedgerCompatibilityError
fn clone(&self) -> LedgerCompatibilityError
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 LedgerCompatibilityError
impl Debug for LedgerCompatibilityError
Source§impl Display for LedgerCompatibilityError
impl Display for LedgerCompatibilityError
Source§impl Error for LedgerCompatibilityError
impl Error for LedgerCompatibilityError
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 PartialEq for LedgerCompatibilityError
impl PartialEq for LedgerCompatibilityError
Source§fn eq(&self, other: &LedgerCompatibilityError) -> bool
fn eq(&self, other: &LedgerCompatibilityError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LedgerCompatibilityError
impl Eq for LedgerCompatibilityError
impl StructuralPartialEq for LedgerCompatibilityError
Auto Trait Implementations§
impl Freeze for LedgerCompatibilityError
impl RefUnwindSafe for LedgerCompatibilityError
impl Send for LedgerCompatibilityError
impl Sync for LedgerCompatibilityError
impl Unpin for LedgerCompatibilityError
impl UnsafeUnpin for LedgerCompatibilityError
impl UnwindSafe for LedgerCompatibilityError
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