Trait IntoLabel

pub trait IntoLabel: Sized {
    // Required method
    fn into_label(self) -> Result<Label, ProtoError>;
}
Expand description

Conversion into a Label

Required Methods§

fn into_label(self) -> Result<Label, ProtoError>

Convert this into Label

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.

Implementations on Foreign Types§

§

impl IntoLabel for &str

§

impl IntoLabel for &[u8]

Implementors§