pub trait Write {
    type Error: Error + 'static;
    fn push(&mut self, input: &[u8]) -> Result<(), Self::Error>;
}
Expand description

Write trait

This is similar to Write of standard library, but it can define its own error type and work in no_std.

Associated Types

Required methods

write all data

Implementations on Foreign Types

Implementors