Trait radicle_ssh::encoding::Encodable
source · pub trait Encodable: Sized {
type Error: Error + Send + Sync + 'static;
// Required methods
fn read(reader: &mut Cursor<'_>) -> Result<Self, Self::Error>;
fn write<E: Encoding>(&self, buf: &mut E);
}
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.