pub trait DefaultBorrowDecode<'de>: BorrowDecode<'de, BincodeContext> {
// Provided method
fn borrow_decode<D: BorrowDecoder<'de, Context = BincodeContext>>(
decoder: &mut D,
) -> Result<Self, DecodeError>
where Self: Sized { ... }
}Expand description
BorrowDecode with the default () context.
Provided Methods§
fn borrow_decode<D: BorrowDecoder<'de, Context = BincodeContext>>(
decoder: &mut D,
) -> Result<Self, DecodeError>where
Self: Sized,
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.