pub trait IntoUtf8Bytes: Into<Bytes> + AsRef<str> {
// Provided method
fn into_utf8_bytes(self) -> Utf8Bytes { ... }
}Provided Methods§
fn into_utf8_bytes(self) -> Utf8Bytes
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.