Trait conv::misc::InvalidSentinel [] [src]

pub trait InvalidSentinel {
    fn invalid_sentinel() -> Self;
}

This trait indicates that a type has an "invalid" sentinel value.

This is used by the errors::UnwrapOrInvalid extension trait.

Required Methods

Returns the type's "invalid" sentinel value.

Implementors