Trait base::ReadNotifier
source · pub trait ReadNotifier {
// Required method
fn get_read_notifier(&self) -> &dyn AsRawDescriptor;
}
Required Methods§
sourcefn get_read_notifier(&self) -> &dyn AsRawDescriptor
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).