Skip to main content

TargetReading

Struct TargetReading 

Source
pub struct TargetReading<'target, 'request, 'response, 'source> { /* private fields */ }
Expand description

Complete target processing together with the original requested certificate. Target and response lifetimes are independent; no temporary request, evaluation context, provider or execution wrapper is retained.

Implementations§

Source§

impl<'target, 'request, 'response, 'source> TargetReading<'target, 'request, 'response, 'source>

Source

pub fn target(&self) -> &'target Certificate<'request>

Original actual target, not another certificate with a matching hint.

Source

pub fn evaluated_at(&self) -> Reading

Exact label used by the same update-window/revocation-time processing.

Source

pub fn outcome(&self) -> &TargetEvidence<'response, 'source>

Original complete result, including lookup and critical-demand failures.

Source

pub fn evidence( &self, ) -> Option<BoundEvidence<'target, 'request, 'response, 'source>>

Bind established mechanism facts to the target used by this invocation. Status, temporal uncertainty, nonce and delegated-responder requirements remain exactly as reported; this does not mean the status is Good.

Source

pub fn into_outcome(self) -> TargetEvidence<'response, 'source>

Move the original outcome when the caller does not retain target binding.

Trait Implementations§

Source§

impl<'target, 'request, 'response, 'source> Debug for TargetReading<'target, 'request, 'response, 'source>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'target, 'request, 'response, 'source> !RefUnwindSafe for TargetReading<'target, 'request, 'response, 'source>

§

impl<'target, 'request, 'response, 'source> !Send for TargetReading<'target, 'request, 'response, 'source>

§

impl<'target, 'request, 'response, 'source> !Sync for TargetReading<'target, 'request, 'response, 'source>

§

impl<'target, 'request, 'response, 'source> !UnwindSafe for TargetReading<'target, 'request, 'response, 'source>

§

impl<'target, 'request, 'response, 'source> Freeze for TargetReading<'target, 'request, 'response, 'source>

§

impl<'target, 'request, 'response, 'source> Unpin for TargetReading<'target, 'request, 'response, 'source>

§

impl<'target, 'request, 'response, 'source> UnsafeUnpin for TargetReading<'target, 'request, 'response, 'source>

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.