dope-sys 0.43.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
use crate::Errno;

/// A native readiness event borrowed from its delivery storage.
pub trait Event {
    fn filter(&self) -> i16;
    fn error(&self) -> Option<Errno>;
    fn eof(&self) -> bool;
    fn data(self) -> usize;
}