Struct weezl::StreamResult [−][src]
pub struct StreamResult { pub bytes_read: usize, pub bytes_written: usize, pub status: Result<()>, }
Expand description
The result of coding into an output stream.
Fields
bytes_read: usize
The total number of bytes consumed from the reader.
bytes_written: usize
The total number of bytes written into the writer.
status: Result<()>
The possible error that occurred.
Note that when writing into streams it is not in general possible to recover from an error.