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§
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more