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

Conversion into a Label

Required Methods§

source

fn into_label(self) -> ProtoResult<Label>

Convert this into Label

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IntoLabel for String

source§

impl IntoLabel for Vec<u8>

source§

impl<'a> IntoLabel for &'a str

source§

impl<'a> IntoLabel for &'a [u8]

Implementors§