pub trait BorrowDecoder<'de>: Decoder {
    type BR: BorrowReader<'de>;
    fn borrow_reader(&mut self) -> &mut Self::BR;
}
Expand description

Any source that can decode basic types. This type is most notably implemented for Decoder.

This is an extension of Decode that can also return borrowed data.

Associated Types

The concrete BorrowReader type

Required methods

Rerturns a mutable reference to the borrow reader

Implementations on Foreign Types

Implementors