Skip to main content

IntoLabel

Trait IntoLabel 

pub trait IntoLabel: Sized {
    // Required method
    fn into_label(self) -> Result<Label, ProtoError>;
}
Available on crate features dns and hickory only.
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".

Implementations on Foreign Types§

§

impl IntoLabel for &str

§

impl IntoLabel for &[u8]

Implementors§