pub trait IntoNatural: Sized {
type Natural: FromWire<Self>;
// Provided method
fn into_natural(self) -> Self::Natural { ... }
}
Expand description
Associates a good default type for a wire type to convert into.
Required Associated Types§
Provided Methods§
Sourcefn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
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.