pub trait CloseNotifier {
    // Required method
    fn get_close_notifier(&self) -> &dyn AsRawDescriptor;
}

Required Methods§

source

fn get_close_notifier(&self) -> &dyn AsRawDescriptor

Gets a descriptor that can be used in EventContext to wait for the closed event.

Implementations on Foreign Types§

source§

impl CloseNotifier for UnixStream

Implementors§