Struct userfaultfd::EventBuffer
source · pub struct EventBuffer(_);Expand description
Represents an opaque buffer where userfaultfd events are stored.
This is used in conjunction with Uffd::read_events.
Implementations§
source§impl EventBuffer
impl EventBuffer
sourcepub fn new(size: usize) -> Self
pub fn new(size: usize) -> Self
Creates a new buffer for size number of events.
Uffd::read_events will read up to this many events at a time.