pub trait ConvertProtocolNameList {
// Required methods
fn from_slices(names: &[&[u8]]) -> Self;
fn to_slices(&self) -> Vec<&[u8]>;
fn as_single_slice(&self) -> Option<&[u8]>;
}
Required Methods§
fn from_slices(names: &[&[u8]]) -> Self
fn to_slices(&self) -> Vec<&[u8]>
fn as_single_slice(&self) -> Option<&[u8]>
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.