#[repr(i32)]pub enum EpollCtlOp {
    EPOLL_CTL_ADD = 1,
    EPOLL_CTL_MOD = 3,
    EPOLL_CTL_DEL = 2,
}Expand description
Epoll control operation, as used with epoll_ctl.
Variants§
Trait Implementations§
Source§impl Clone for EpollCtlOp
 
impl Clone for EpollCtlOp
Source§fn clone(&self) -> EpollCtlOp
 
fn clone(&self) -> EpollCtlOp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for EpollCtlOp
 
impl Debug for EpollCtlOp
Source§impl From<EpollCtlOp> for i32
 
impl From<EpollCtlOp> for i32
Source§fn from(enum_value: EpollCtlOp) -> Self
 
fn from(enum_value: EpollCtlOp) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EpollCtlOp
 
impl PartialEq for EpollCtlOp
Source§impl TryFrom<i32> for EpollCtlOp
 
impl TryFrom<i32> for EpollCtlOp
Source§type Error = TryFromPrimitiveError<EpollCtlOp>
 
type Error = TryFromPrimitiveError<EpollCtlOp>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for EpollCtlOp
 
impl TryFromPrimitive for EpollCtlOp
const NAME: &'static str = "EpollCtlOp"
type Primitive = i32
type Error = TryFromPrimitiveError<EpollCtlOp>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for EpollCtlOp
impl Eq for EpollCtlOp
impl StructuralPartialEq for EpollCtlOp
Auto Trait Implementations§
impl Freeze for EpollCtlOp
impl RefUnwindSafe for EpollCtlOp
impl Send for EpollCtlOp
impl Sync for EpollCtlOp
impl Unpin for EpollCtlOp
impl UnwindSafe for EpollCtlOp
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