pub trait Write {
type Error;
// Required method
fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>;
}
Expand description
A type that writes byte slices.
pub trait Write {
type Error;
// Required method
fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>;
}
A type that writes byte slices.