Skip to main content

Match

Enum Match 

Source
pub enum Match<'c, 'a> {
    None,
    One(&'c Certificate<'a>),
    Ambiguous,
    Unreadable,
}
Expand description

What the complete catalogue can establish about one certificate hint. Matching a hint never authenticates that certificate or its path.

Variants§

§

None

No certificate answers the complete hint, with no unreadable SKI gap.

§

One(&'c Certificate<'a>)

Exactly one certificate answers the complete hint.

§

Ambiguous

More than one certificate answers the complete hint; no candidate chosen.

§

Unreadable

An SKI value could not be read, so uniqueness/absence is unestablished. Original diagnostics are retained by Directory::unreadable_identifiers.

Trait Implementations§

Source§

impl<'c, 'a> Debug for Match<'c, 'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'c, 'a> !RefUnwindSafe for Match<'c, 'a>

§

impl<'c, 'a> !Send for Match<'c, 'a>

§

impl<'c, 'a> !Sync for Match<'c, 'a>

§

impl<'c, 'a> !UnwindSafe for Match<'c, 'a>

§

impl<'c, 'a> Freeze for Match<'c, 'a>

§

impl<'c, 'a> Unpin for Match<'c, 'a>

§

impl<'c, 'a> UnsafeUnpin for Match<'c, 'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.