Crate copoll

Crate copoll 

Source

Structs§

Epoll
Epoll structure
Event
Get the readiness and token of the event
Readiness
Readiness readable marks the event as readable writable marks the event as writable error means that your event is an error
Token
A unique token indentifying a file descripting in the Epoll instance

Enums§

Interest
Describe what you are interested in polling Readable means you are interested in the readable events Writable means you are itnerested in the writable event
Mode
Describe what mode you want to poll the fd with Level is the default linux behaviour Edge is for edge-triggered notifications on the fd OneShot is for one-shot notifications on the fd

Type Aliases§

Events
Shorthand for Vec<epoll::EpollEvent>