Enum userfaultfd::Event [−][src]
Events from the userfaultfd object that are read by Uffd::read_event()
.
Variants
A pagefault event.
Fields of Pagefault
Generated when the faulting process invokes fork(2)
(or clone(2)
without the CLONE_VM
flag).
Fields of Fork
uffd: Uffd
The Uffd
object created for the child by fork(2)
Generated when the faulting process invokes mremap(2)
.
Fields of Remap
Generated when the faulting process invokes madvise(2)
with MADV_DONTNEED
or
MADV_REMOVE
advice.
Fields of Remove
Generated when the faulting process unmaps a meomry range, either explicitly using
munmap(2)
or implicitly during mmap(2)
or mremap(2)
.
Fields of Unmap
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
[src]
impl !Send for Event
[src]
impl !Sync for Event
[src]
impl Unpin for Event
[src]
impl UnwindSafe for Event
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,