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