pub trait Write { type Error; fn write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error>; }
A type that accepts byte slices for writing.
Write the whole byte slice.