#[repr(C)]pub struct es_event_access_t {
pub mode: i32,
pub target: ShouldNotBeNull<es_file_t>,
/* private fields */
}Available on macOS and crate feature
macos_10_15_1 only.Expand description
Test file access
This event type does not support caching (notify-only).
Fields§
§mode: i32Access permission to check
target: ShouldNotBeNull<es_file_t>The file to check for access
Implementations§
Source§impl es_event_access_t
Accessors for ShouldNotBeNull fields
impl es_event_access_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn target(&self) -> &es_file_t
pub unsafe fn target(&self) -> &es_file_t
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Auto Trait Implementations§
impl Freeze for es_event_access_t
impl RefUnwindSafe for es_event_access_t
impl !Send for es_event_access_t
impl !Sync for es_event_access_t
impl Unpin for es_event_access_t
impl UnwindSafe for es_event_access_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