pub struct SnapshotReadLimits {
pub file_bytes: u64,
pub entries: u64,
pub decoded_bytes: u64,
}Expand description
Resource limits for loading a verified logical snapshot as an offline witness.
Fields§
§file_bytes: u64Maximum complete snapshot file length.
entries: u64Maximum number of logical KV entries.
decoded_bytes: u64Maximum aggregate decoded key and value bytes retained in memory.
Trait Implementations§
Source§impl Clone for SnapshotReadLimits
impl Clone for SnapshotReadLimits
Source§fn clone(&self) -> SnapshotReadLimits
fn clone(&self) -> SnapshotReadLimits
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 SnapshotReadLimits
impl Debug for SnapshotReadLimits
Source§impl Default for SnapshotReadLimits
impl Default for SnapshotReadLimits
impl Eq for SnapshotReadLimits
Source§impl PartialEq for SnapshotReadLimits
impl PartialEq for SnapshotReadLimits
impl StructuralPartialEq for SnapshotReadLimits
Auto Trait Implementations§
impl Freeze for SnapshotReadLimits
impl RefUnwindSafe for SnapshotReadLimits
impl Send for SnapshotReadLimits
impl Sync for SnapshotReadLimits
impl Unpin for SnapshotReadLimits
impl UnsafeUnpin for SnapshotReadLimits
impl UnwindSafe for SnapshotReadLimits
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