pub enum AuditLedgerError {
Show 15 variants
InvalidRecord(String),
RecordTooLarge {
bytes: usize,
maximum: usize,
},
InvalidBatch(String),
BatchTooLarge {
bytes: usize,
maximum: usize,
},
EventConflict(Uuid),
InvalidQuery(String),
InvalidLifecycle(String),
StorageLimitExceeded {
bytes: u64,
},
MissingSegment(u64),
InvalidSegmentState(u64),
Encoding,
Infrastructure,
InvalidJournalEntry,
InvalidJournalClaim,
JournalClaimLost,
}Variants§
InvalidRecord(String)
RecordTooLarge
InvalidBatch(String)
BatchTooLarge
EventConflict(Uuid)
InvalidQuery(String)
InvalidLifecycle(String)
StorageLimitExceeded
MissingSegment(u64)
InvalidSegmentState(u64)
Encoding
Infrastructure
InvalidJournalEntry
InvalidJournalClaim
JournalClaimLost
Implementations§
Source§impl AuditLedgerError
impl AuditLedgerError
pub const fn is_permanent(&self) -> bool
pub const fn stable_code(&self) -> &'static str
Trait Implementations§
Source§impl Debug for AuditLedgerError
impl Debug for AuditLedgerError
Source§impl Display for AuditLedgerError
impl Display for AuditLedgerError
Source§impl Error for AuditLedgerError
impl Error for AuditLedgerError
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 AuditLedgerError
impl RefUnwindSafe for AuditLedgerError
impl Send for AuditLedgerError
impl Sync for AuditLedgerError
impl Unpin for AuditLedgerError
impl UnsafeUnpin for AuditLedgerError
impl UnwindSafe for AuditLedgerError
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