Trait HasRequired

Source
pub trait HasRequired {
    type Required;

    // Required method
    fn required(&self) -> Result<Self::Required, Error>;
}
Expand description

A trait for types that have a required representation.

Required Associated Types§

Source

type Required

The required representation of the type.

Required Methods§

Source

fn required(&self) -> Result<Self::Required, Error>

Converts the type to its required representation.

Implementors§