pub trait Writer: Sized {
// Required method
fn write(&mut self, bytes: &[u8]) -> Result<(), Error>;
}
Expand description
Writer trait which encodes the SSH binary format to various output encodings.
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.