pub trait IntoLabel: Sized {
// Required method
fn into_label(self) -> Result<Label, ProtoError>;
}
Expand description
Conversion into a Label
Required Methods§
Sourcefn into_label(self) -> Result<Label, ProtoError>
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.