Trait Write
serde_scale
pub trait Write { type Error: Debug + Display; fn write(&mut self, data: &[u8]) -> Result<(), Self::Error>; }
Interface to write bytes
type Error: Debug + Display
fn write(&mut self, data: &[u8]) -> Result<(), Self::Error>
Writes bytes
impl<W: Write + ?Sized, '_> Write for &'_ mut W
type Error = W::Error
impl Write for Vec<u8>
type Error = Infallible