pub(crate) trait WriteLike { type Error; // Required method fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>; }
A trait for writing bytes from a pipe.
The error type.
Writes bytes from the given buffer.