#[non_exhaustive]pub struct ListOptions {
pub include_network: bool,
pub include_pseudo: bool,
pub include_duplicates: bool,
pub max_mounts: usize,
}Expand description
Which filesystems list_with includes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.include_network: boolInclude network filesystems (default false: statvfs on a dead NFS
mount can hang).
include_pseudo: boolInclude pseudo filesystems: proc, sysfs, cgroup, tmpfs,
devtmpfs, squashfs, … (default false).
include_duplicates: boolInclude bind mounts and further mounts of one filesystem (default false: each filesystem once, by device number).
max_mounts: usizeThe most mounts read; more is TooLarge (default 4 096).
Trait Implementations§
Auto Trait Implementations§
impl Forget for ListOptions
impl Freeze for ListOptions
impl RefUnwindSafe for ListOptions
impl Send for ListOptions
impl Sync for ListOptions
impl Unpin for ListOptions
impl UnsafeUnpin for ListOptions
impl UnwindSafe for ListOptions
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