Trait base::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§