#[non_exhaustive]pub struct OpenFiles {
pub open: Option<u64>,
pub max: Option<u64>,
}Expand description
How many files are open across the machine.
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.open: Option<u64>Open now (Windows: handles).
max: Option<u64>The system-wide maximum (Windows has none).
Trait Implementations§
impl Copy for OpenFiles
impl Eq for OpenFiles
impl StructuralPartialEq for OpenFiles
Auto Trait Implementations§
impl Forget for OpenFiles
impl Freeze for OpenFiles
impl RefUnwindSafe for OpenFiles
impl Send for OpenFiles
impl Sync for OpenFiles
impl Unpin for OpenFiles
impl UnsafeUnpin for OpenFiles
impl UnwindSafe for OpenFiles
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