pub trait Mode {
// Required method
fn is_keep_alive() -> bool;
}Expand description
Connection mode, indicate is keep alive or not.
Required Methods§
fn is_keep_alive() -> bool
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.