pub trait TcpConnectionExt: 'static {
// Required methods
fn get_graceful_disconnect(&self) -> bool;
fn set_graceful_disconnect(&self, graceful_disconnect: bool);
fn connect_property_graceful_disconnect_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_graceful_disconnect(&self) -> bool
fn set_graceful_disconnect(&self, graceful_disconnect: bool)
fn connect_property_graceful_disconnect_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.