pub struct EventMmap<'a> { /* private fields */ }
Available on macOS only.
Expand description
Memory map a file event.
Implementations§
Source§impl<'a> EventMmap<'a>
impl<'a> EventMmap<'a>
Sourcepub fn protection(&self) -> i32
pub fn protection(&self) -> i32
The protection (region accessibility) value.
Sourcepub fn max_protection(&self) -> i32
pub fn max_protection(&self) -> i32
The maximum allowed protection value the operating system will respect.
Trait Implementations§
impl<'a> Eq for EventMmap<'a>
impl Send for EventMmap<'_>
impl Sync for EventMmap<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventMmap<'a>
impl<'a> RefUnwindSafe for EventMmap<'a>
impl<'a> Unpin for EventMmap<'a>
impl<'a> UnwindSafe for EventMmap<'a>
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