pub trait WrapperTypeDecode: Sized {
type Wrapped: Into<Self>;
}
Expand description
A marker trait for types that can be created solely from other decodable types.
The decoding of such type is assumed to be the same as the wrapped type.
Required Associated Types§
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.