pub fn wrap_write(write: &mut dyn Write) -> Result<Stream, Error<'static>>
Create a stream that wraps a std::io::Write trait object