pub trait Label: AsRef<str> + FromStr<Err = Self::Error> {
    type Error: From<Error>;
}
Expand description

Labels for e.g. cryptographic algorithms.

Receives a blanket impl of Decode and Encode.

Required Associated Types

Type returned in the event of an encoding error.

Implementors