Skip to main content

CheckContext

Struct CheckContext 

Source
pub struct CheckContext<'a, 'r> {
    pub certificate: &'r Certificate<'a>,
    pub certificate_parent: &'r Reader<'a>,
    pub key: WorkingKey<'a>,
    pub requested: Option<Requested<'a, 'r>>,
    pub utc: &'r LeapTable<'a>,
    pub reference: Option<Instant>,
    pub window: Option<RequestWindow>,
}
Expand description

Explicit caller selection/time facts; this does not select a trusted path.

Fields§

§certificate: &'r Certificate<'a>

Caller-selected candidate, independently subject to trust/path checks.

§certificate_parent: &'r Reader<'a>

That certificate’s own original producing reader.

§key: WorkingKey<'a>

Effective key retaining independently established inherited parameters.

§requested: Option<Requested<'a, 'r>>

Complete live request, absent for archived evidence.

§utc: &'r LeapTable<'a>

Explicit UTC correction facts, without implicit clock lookup.

§reference: Option<Instant>

Caller-supplied comparison instant, when available.

§window: Option<RequestWindow>

Caller-established outstanding-imprint uniqueness/window fact.

Auto Trait Implementations§

§

impl<'a, 'r> !RefUnwindSafe for CheckContext<'a, 'r>

§

impl<'a, 'r> !Send for CheckContext<'a, 'r>

§

impl<'a, 'r> !Sync for CheckContext<'a, 'r>

§

impl<'a, 'r> !UnwindSafe for CheckContext<'a, 'r>

§

impl<'a, 'r> Freeze for CheckContext<'a, 'r>

§

impl<'a, 'r> Unpin for CheckContext<'a, 'r>

§

impl<'a, 'r> UnsafeUnpin for CheckContext<'a, 'r>

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.