Skip to main content

ArtifactUses

Struct ArtifactUses 

Source
pub struct ArtifactUses<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I> { /* private fields */ }
Expand description

Complete X.509/CRL/OCSP artifact census for the same participant requirements. Credential-format-specific data remain separate. This does not assert CA status, allowed placement, freshness or baseline grade.

Implementations§

Source§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I> ArtifactUses<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I>

Source

pub fn inputs( &self, ) -> &'closure ParticipantClosure<'requirements, 'view, 'certificate, 'document, N, D, G, I>

Same source-derived actor/status input closure, without another query.

Source

pub fn entries(&self) -> &[ArtifactUse<'certificate, 'document>]

Every distinct artifact once in first-encounter order.

Source

pub fn targets(&self, ordinal: usize) -> Targets<'_> ⓘ

The certificates whose status the CRL/OCSP entry at ordinal reports, as ordinals into Self::entries; empty for a certificate entry. Each step is constant time; a caller paying per target admits it.

§Panics

When ordinal is not an ordinal of Self::entries.

Auto Trait Implementations§

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I> !Freeze for ArtifactUses<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I> !RefUnwindSafe for ArtifactUses<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I> !Send for ArtifactUses<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I> !Sync for ArtifactUses<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I> !UnwindSafe for ArtifactUses<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I>

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I> Unpin for ArtifactUses<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I>
where &'closure ParticipantClosure<'requirements, 'view, 'certificate, 'document, N, D, G, I>: Unpin,

§

impl<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I> UnsafeUnpin for ArtifactUses<'closure, 'requirements, 'view, 'certificate, 'document, N, D, G, I>
where &'closure ParticipantClosure<'requirements, 'view, 'certificate, 'document, N, D, G, I>: UnsafeUnpin,

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.