Struct epoll::Interest
[−]
[src]
pub struct Interest { // some fields omitted }
Methods
impl Interest
[src]
fn new(fd: RawFd, flags: Events, data: u64) -> Interest
Creates a new Interest.
fn events(&self) -> Events
Copy of Event
flags associated with this Interest
.
fn events_mut<'a>(&'a mut self) -> &'a mut Events
Returns a mutable reference to its Events
flags.
fn set_events(&mut self, events: Events)
Replaces all associated Event
flags with events
.
fn data(&self) -> u64
Copy of arbitrary data associated with this Interest
.
fn data_mut<'a>(&'a mut self) -> &'a mut u64
Returns a mutable reference to its arbitrary data.
fn set_data(&mut self, data: u64)
Replaces arbitrary data with data
.
Trait Implementations
impl Clone for Interest
[src]
fn clone(&self) -> Interest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more