pub trait BorrowDecoder<'de>: Decoder {
type BR: BorrowReader<'de>;
// Required method
fn borrow_reader(&mut self) -> &mut Self::BR;
}Expand description
Required Associated Types§
Sourcetype BR: BorrowReader<'de>
type BR: BorrowReader<'de>
The concrete BorrowReader type
Required Methods§
Sourcefn borrow_reader(&mut self) -> &mut Self::BR
fn borrow_reader(&mut self) -> &mut Self::BR
Rerturns a mutable reference to the borrow reader
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.