pub trait HasRequired { type Required; // Required method fn required(&self) -> Result<Self::Required, Error>; }
A trait for types that have a required representation.
The required representation of the type.
Converts the type to its required representation.