pub trait IntoBytes: Into<Bytes> { }
Expand description
Types that implement FromInto<Bytes>
without
running afoul of the From<X> for X
base case, causing conflicting impls.
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.