1 2 3 4 5 6
/// Common stream properties for both readers and writers pub trait StreamCommon {} impl<T> StreamCommon for &mut T where T: StreamCommon {} impl StreamCommon for () {}