Constant epoll::EPOLLONESHOT []

pub const EPOLLONESHOT: Events = Events{bits: libc::EPOLLONESHOT as u32,}

Sets the one-shot behavior for the associated file descriptor.

This means that after an event is pulled out with wait the associated file descriptor is internally disabled and no other events will be reported by the epoll interface. The user must call ctl with EPOLL_CTL_MOD to rearm the file descriptor with a new event mask.