[][src]Trait serde_scale::Write

pub trait Write {
    type Error: Debug + Display;
    fn write(&mut self, data: &[u8]) -> Result<(), Self::Error>;
}

Interface to write bytes

Associated Types

Loading content...

Required methods

fn write(&mut self, data: &[u8]) -> Result<(), Self::Error>

Writes bytes

Loading content...

Implementations on Foreign Types

impl<W: Write + ?Sized, '_> Write for &'_ mut W[src]

type Error = W::Error

impl Write for Vec<u8>[src]

type Error = Infallible

Loading content...

Implementors

Loading content...