pub trait BufferedReader {
// Required method
async fn read(&mut self) -> Result<&[u8]>;
}Expand description
This trait is used for buffered reads where the packet length is not known
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".