pub enum StorageLimitError {
ZeroLimit {
name: &'static str,
},
TimedOut,
DirectoryEntriesExceeded {
maximum: u64,
},
LogFileBytesExceeded {
actual: u64,
maximum: u64,
},
LogFramesExceeded {
maximum: u64,
},
TransactionsExceeded {
maximum: u64,
},
OperationsExceeded {
maximum: u64,
},
DecodedOperationBytesExceeded {
maximum: u64,
},
LexicalDocumentsExceeded {
maximum: u64,
},
LexicalTokensExceeded {
maximum: u64,
},
}Expand description
Failure of a finite storage recovery or maintenance policy.
Variants§
ZeroLimit
A configured bound is zero.
TimedOut
The shared cooperative deadline expired.
DirectoryEntriesExceeded
An owned metadata directory contains too many entries.
LogFileBytesExceeded
The active log file exceeds policy before scan.
LogFramesExceeded
The active log contains too many complete frames.
TransactionsExceeded
Recovery retained too many unique transactions.
OperationsExceeded
Recovery retained too many operation frames.
DecodedOperationBytesExceeded
Recovery retained too many aggregate operation payload bytes.
LexicalDocumentsExceeded
A lexical rebuild inspected too many durable documents.
LexicalTokensExceeded
A lexical rebuild retained too many normalized tokens.
Trait Implementations§
Source§impl Clone for StorageLimitError
impl Clone for StorageLimitError
Source§fn clone(&self) -> StorageLimitError
fn clone(&self) -> StorageLimitError
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 StorageLimitError
impl Debug for StorageLimitError
Source§impl Display for StorageLimitError
impl Display for StorageLimitError
impl Eq for StorageLimitError
Source§impl Error for StorageLimitError
impl Error for StorageLimitError
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 StorageLimitError
impl PartialEq for StorageLimitError
impl StructuralPartialEq for StorageLimitError
Auto Trait Implementations§
impl Freeze for StorageLimitError
impl RefUnwindSafe for StorageLimitError
impl Send for StorageLimitError
impl Sync for StorageLimitError
impl Unpin for StorageLimitError
impl UnsafeUnpin for StorageLimitError
impl UnwindSafe for StorageLimitError
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