#[repr(i32)]pub enum ControlOperation {
Add = 1,
Modify = 3,
Delete = 2,
}
Expand description
Wrapper over EPOLL_CTL_*
operations that can be performed on a file descriptor.
Variants§
Add = 1
Add a file descriptor to the interest list.
Modify = 3
Change the settings associated with a file descriptor that is already in the interest list.
Delete = 2
Remove a file descriptor from the interest list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ControlOperation
impl RefUnwindSafe for ControlOperation
impl Send for ControlOperation
impl Sync for ControlOperation
impl Unpin for ControlOperation
impl UnwindSafe for ControlOperation
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