Struct wayland_server::sources::FdEventSourceImpl
[−]
[src]
pub struct FdEventSourceImpl<ID> { pub ready: fn(_: &mut EventLoopHandle, _: &mut ID, _: RawFd, _: FdInterest), pub error: fn(_: &mut EventLoopHandle, _: &mut ID, _: RawFd, _: IoError), }
Implementation for FD events
Fields
ready: fn(_: &mut EventLoopHandle, _: &mut ID, _: RawFd, _: FdInterest)
The FD is ready to be read/written
Details of the capability state are given as argument.
error: fn(_: &mut EventLoopHandle, _: &mut ID, _: RawFd, _: IoError)
An error occured with this FD
Most likely it won't be usable any longer