pub trait Stringify {
// Required method
fn to_bytes(&self) -> Vec<u8> ⓘ;
// Provided method
fn stringify(&self) -> String { ... }
}Expand description
A specializable version of std::string::ToString.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".