pub enum Lookup<'r, 'a> {
Missing,
Found(&'r SingleResponse<'a>),
Ambiguous {
first: &'r SingleResponse<'a>,
second: &'r SingleResponse<'a>,
},
UnsupportedHash(&'r SingleResponse<'a>),
MalformedHashWidth(&'r SingleResponse<'a>),
}Expand description
Identity lookup within an authenticated response, not a complete verdict.
Variants§
Missing
No assertion matches the target and actual issuer.
Found(&'r SingleResponse<'a>)
One matching original assertion. Time/extensions/authorization still have to be checked before interpreting its revocation status.
Ambiguous
Multiple matching assertions are retained, including identical repeats. Selection must not silently pick first or last.
Fields
§
first: &'r SingleResponse<'a>First matching assertion in wire order.
§
second: &'r SingleResponse<'a>Next matching assertion in wire order.
UnsupportedHash(&'r SingleResponse<'a>)
A candidate identity uses a hash capability unavailable to this caller.
MalformedHashWidth(&'r SingleResponse<'a>)
Known fixed-output hash width contradicts the original CertID bytes.
Trait Implementations§
Auto Trait Implementations§
impl<'r, 'a> !RefUnwindSafe for Lookup<'r, 'a>
impl<'r, 'a> !Send for Lookup<'r, 'a>
impl<'r, 'a> !Sync for Lookup<'r, 'a>
impl<'r, 'a> !UnwindSafe for Lookup<'r, 'a>
impl<'r, 'a> Freeze for Lookup<'r, 'a>
impl<'r, 'a> Unpin for Lookup<'r, 'a>
impl<'r, 'a> UnsafeUnpin for Lookup<'r, '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