#[repr(C)]pub struct es_event_unmount_t {
pub statfs: ShouldNotBeNull<statfs>,
/* private fields */
}Available on macOS only.
Expand description
Unmount a file system
This event type does not support caching (notify-only).
Fields§
§statfs: ShouldNotBeNull<statfs>The file system stats for the file system being unmounted
Implementations§
Source§impl es_event_unmount_t
Accessors for ShouldNotBeNull fields
impl es_event_unmount_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn statfs(&self) -> &statfs
pub unsafe fn statfs(&self) -> &statfs
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Auto Trait Implementations§
impl Freeze for es_event_unmount_t
impl RefUnwindSafe for es_event_unmount_t
impl !Send for es_event_unmount_t
impl !Sync for es_event_unmount_t
impl Unpin for es_event_unmount_t
impl UnwindSafe for es_event_unmount_t
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