#[repr(C)]pub struct es_event_exchangedata_t {
pub file1: ShouldNotBeNull<es_file_t>,
pub file2: ShouldNotBeNull<es_file_t>,
/* private fields */
}Available on macOS only.
Expand description
Exchange data atomically between two files
This event type does not support caching.
Fields§
§file1: ShouldNotBeNull<es_file_t>The first file to be exchanged
file2: ShouldNotBeNull<es_file_t>The second file to be exchanged
Implementations§
Source§impl es_event_exchangedata_t
Accessors for ShouldNotBeNull fields
impl es_event_exchangedata_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn file1(&self) -> &es_file_t
pub unsafe fn file1(&self) -> &es_file_t
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Sourcepub unsafe fn file2(&self) -> &es_file_t
pub unsafe fn file2(&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_exchangedata_t
impl RefUnwindSafe for es_event_exchangedata_t
impl !Send for es_event_exchangedata_t
impl !Sync for es_event_exchangedata_t
impl Unpin for es_event_exchangedata_t
impl UnwindSafe for es_event_exchangedata_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