pub struct StorageLimits {
pub recovery: RecoveryLimits,
pub maintenance: MaintenanceLimits,
}Expand description
Complete finite policy for opening and maintaining one data directory.
Fields§
§recovery: RecoveryLimitsLimits shared by directory validation, log recovery, and index replay.
maintenance: MaintenanceLimitsLimits shared by snapshot creation and online compaction.
Trait Implementations§
Source§impl Clone for StorageLimits
impl Clone for StorageLimits
Source§fn clone(&self) -> StorageLimits
fn clone(&self) -> StorageLimits
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 StorageLimits
impl Debug for StorageLimits
Source§impl Default for StorageLimits
impl Default for StorageLimits
Source§fn default() -> StorageLimits
fn default() -> StorageLimits
Returns the “default value” for a type. Read more
impl Eq for StorageLimits
Source§impl PartialEq for StorageLimits
impl PartialEq for StorageLimits
impl StructuralPartialEq for StorageLimits
Auto Trait Implementations§
impl Freeze for StorageLimits
impl RefUnwindSafe for StorageLimits
impl Send for StorageLimits
impl Sync for StorageLimits
impl Unpin for StorageLimits
impl UnsafeUnpin for StorageLimits
impl UnwindSafe for StorageLimits
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