pub trait CodingWrite {
type Error: Error;
// Required method
fn write(
&mut self,
frame: &[u8],
) -> impl Future<Output = Result<(), Self::Error>>;
}Expand description
Accepts a transfer frame and writes it through the coding chain to the physical layer.
Required Associated Types§
Required Methods§
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.