Trait ssh_encoding::Writer
source · pub trait Writer: Sized {
// Required method
fn write(&mut self, bytes: &[u8]) -> Result<()>;
}
Expand description
Writer trait which encodes the SSH binary format to various output encodings.
Required Methods§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
Implementors§
impl Writer for Base64Writer<'_>
Available on crate feature
base64
only.impl<D> Writer for DigestWriter<'_, D>where
D: Digest,
Available on crate feature
digest
only.