Struct wayland_server::sources::FdEventSource
[−]
[src]
pub struct FdEventSource<ID> { /* fields omitted */ }fd_event_source
A handle to a registered FD event source
Dropping this struct does not remove the event source,
use the remove method for that.
Methods
impl<ID> FdEventSource<ID>[src]
pub fn update_mask(&mut self, mask: FdInterest)[src]
Change the registered interest for this FD
Trait Implementations
impl<ID> EventSource<ID> for FdEventSource<ID>[src]
fn with_idata<F, R>(&mut self, evlh: &mut EventLoopHandle, f: F) -> R where
F: FnOnce(&mut ID, &mut EventLoopHandle) -> R, [src]
F: FnOnce(&mut ID, &mut EventLoopHandle) -> R,
Access with the implementation data without removing it from the EventLoop
fn remove(self) -> ID[src]
Remove this event source from its event loop Read more