Struct wayland_server::sources::FdEventSourceImpl [] [src]

pub struct FdEventSourceImpl<ID> {
    pub ready: fn(evlh: &mut EventLoopHandle, idata: &mut ID, fd: RawFd, mask: FdInterest),
    pub error: fn(evlh: &mut EventLoopHandle, idata: &mut ID, fd: RawFd, mask: 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

Trait Implementations

Auto Trait Implementations

impl<ID> Send for FdEventSourceImpl<ID>

impl<ID> Sync for FdEventSourceImpl<ID>