pub trait ByteString {
// Required methods
fn bytes(&self) -> Vec<u8> ⓘ;
fn encoded(&self) -> String;
fn encoded_with_prefix(&self) -> String;
}Required Methods§
fn bytes(&self) -> Vec<u8> ⓘ
fn encoded(&self) -> String
fn encoded_with_prefix(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".