Trait base::notifiers::ReadNotifier

source ·
pub trait ReadNotifier {
    // Required method
    fn get_read_notifier(&self) -> &dyn AsRawDescriptor;
}

Required Methods§

source

fn get_read_notifier(&self) -> &dyn AsRawDescriptor

Gets a descriptor that can be used in EventContext to wait for events to be available (e.g. to avoid receive_events blocking).

Implementations on Foreign Types§

source§

impl ReadNotifier for File

source§

impl ReadNotifier for UnixStream

Implementors§

source§

impl ReadNotifier for StreamChannel

source§

impl ReadNotifier for Tube

source§

impl ReadNotifier for RecvTube

impl ReadNotifier for EventDevice

impl ReadNotifier for Tap

impl ReadNotifier for DBusMonitor

impl ReadNotifier for BackendClient

impl ReadNotifier for SocketPlatformConnection

impl<S: Frontend> ReadNotifier for FrontendServer<S>