usecore::error::Error;/// A trait that reads a byte.
pubtraitRead{/// An error.
typeError: Error;/// Reads a byte.
fnread(&mutself)->Result<Option<u8>, Self::Error>;}impl<T: Read> Read for&mutT{typeError=T::Error;fnread(&mutself)->Result<Option<u8>, Self::Error>{(**self).read()}}