pub struct SnapshotLimits {
pub max_nodes: usize,
pub max_depth: usize,
pub max_total_file_bytes: u64,
}Expand description
Bounds for eager host metadata traversal; file and link bytes remain lazy.
Fields§
§max_nodes: usizeMaximum nodes including the virtual root.
max_depth: usizeMaximum directory nesting below the root.
max_total_file_bytes: u64Maximum sum of file and symlink byte sizes represented by metadata.
Trait Implementations§
Source§impl Clone for SnapshotLimits
impl Clone for SnapshotLimits
Source§fn clone(&self) -> SnapshotLimits
fn clone(&self) -> SnapshotLimits
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 moreimpl Copy for SnapshotLimits
Source§impl Debug for SnapshotLimits
impl Debug for SnapshotLimits
Source§impl Default for SnapshotLimits
impl Default for SnapshotLimits
impl Eq for SnapshotLimits
Source§impl PartialEq for SnapshotLimits
impl PartialEq for SnapshotLimits
impl StructuralPartialEq for SnapshotLimits
Auto Trait Implementations§
impl Freeze for SnapshotLimits
impl RefUnwindSafe for SnapshotLimits
impl Send for SnapshotLimits
impl Sync for SnapshotLimits
impl Unpin for SnapshotLimits
impl UnsafeUnpin for SnapshotLimits
impl UnwindSafe for SnapshotLimits
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