pub trait TcpConnectionExt: 'static {
    // Required methods
    fn is_graceful_disconnect(&self) -> bool;
    fn set_graceful_disconnect(&self, graceful_disconnect: bool);
    fn connect_graceful_disconnect_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn is_graceful_disconnect(&self) -> bool

source

fn set_graceful_disconnect(&self, graceful_disconnect: bool)

source

fn connect_graceful_disconnect_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§