pub trait TcpConnectionExt:
IsA<TcpConnection>
+ Sealed
+ 'static {
// Provided 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 { ... }
}Provided 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
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.