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

The FD is ready to be read/written

Details of the capability state are given as argument.

An error occured with this FD

Most likely it won't be usable any longer