pub enum EpollWaitError {
Interrupt,
UnknownError(i32),
}Expand description
Errors that can be returned by Epoll::try_wait(), Epoll::timed_wait() or
Epoll::blocking_wait().
Variants§
Interrupt
FetchableSignal::Interrupt was received (SIGINT).
UnknownError(i32)
An error occurred that was not described in the linux man-page.
Trait Implementations§
Source§impl Clone for EpollWaitError
impl Clone for EpollWaitError
Source§fn clone(&self) -> EpollWaitError
fn clone(&self) -> EpollWaitError
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 EpollWaitError
impl Debug for EpollWaitError
Source§impl Display for EpollWaitError
impl Display for EpollWaitError
Source§impl Error for EpollWaitError
impl Error for EpollWaitError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for EpollWaitError
impl PartialEq for EpollWaitError
impl Copy for EpollWaitError
impl Eq for EpollWaitError
impl StructuralPartialEq for EpollWaitError
Auto Trait Implementations§
impl Freeze for EpollWaitError
impl RefUnwindSafe for EpollWaitError
impl Send for EpollWaitError
impl Sync for EpollWaitError
impl Unpin for EpollWaitError
impl UnwindSafe for EpollWaitError
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