pub trait DataRWAdapter {
// Required methods
fn adapt_reader<'r>(&self, reader: Box<dyn Read + 'r>) -> Box<dyn Read + 'r>;
fn adapt_writer<'w>(
&self,
writer: Box<dyn Write + 'w>,
) -> Box<dyn Write + 'w>;
}
Expand description
A fully dynamic adapter of byte read and write streams.