pub trait ToByteable: Into<Self::Target> {
type Target: Byteable;
// Provided method
fn to_byteable(self) -> Self::Target { ... }
}Required Associated Types§
Provided Methods§
fn to_byteable(self) -> Self::Target
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.