pub struct RecoveryLimits {
pub timeout: Duration,
pub max_directory_entries: u64,
pub max_log_file_bytes: u64,
pub max_log_frames: u64,
pub max_transactions: u64,
pub max_operations: u64,
pub max_decoded_operation_bytes: u64,
pub snapshot: SnapshotReadLimits,
pub max_lexical_documents: u64,
pub max_lexical_tokens: u64,
}Expand description
Finite policy for one complete open/recovery operation.
Fields§
§timeout: DurationCooperative end-to-end open/recovery timeout.
max_directory_entries: u64Maximum entries inspected in any owned metadata directory.
max_log_file_bytes: u64Maximum complete active log segment length.
max_log_frames: u64Maximum complete frames inspected in the active segment.
max_transactions: u64Maximum unique committed transactions retained for replay.
max_operations: u64Maximum operation frames retained across committed transactions.
max_decoded_operation_bytes: u64Maximum aggregate decoded operation payload bytes retained for replay.
snapshot: SnapshotReadLimitsSnapshot file, logical-record, and decoded-byte limits during restore.
max_lexical_documents: u64Maximum durable documents inspected while rebuilding one lexical index.
max_lexical_tokens: u64Maximum normalized tokens retained while rebuilding one lexical index.
Trait Implementations§
Source§impl Clone for RecoveryLimits
impl Clone for RecoveryLimits
Source§fn clone(&self) -> RecoveryLimits
fn clone(&self) -> RecoveryLimits
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 RecoveryLimits
impl Debug for RecoveryLimits
Source§impl Default for RecoveryLimits
impl Default for RecoveryLimits
Source§fn default() -> RecoveryLimits
fn default() -> RecoveryLimits
Returns the “default value” for a type. Read more
impl Eq for RecoveryLimits
Source§impl PartialEq for RecoveryLimits
impl PartialEq for RecoveryLimits
impl StructuralPartialEq for RecoveryLimits
Auto Trait Implementations§
impl Freeze for RecoveryLimits
impl RefUnwindSafe for RecoveryLimits
impl Send for RecoveryLimits
impl Sync for RecoveryLimits
impl Unpin for RecoveryLimits
impl UnsafeUnpin for RecoveryLimits
impl UnwindSafe for RecoveryLimits
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