pub struct Uses(/* private fields */);Expand description
Actual validation purposes, not configurable policy or an authorization flag. Several purposes can apply to the same path or artifact. In particular a shared CA cannot be called exclusive to TSA/credentials merely because it was first encountered through one of those actors.
Implementations§
Source§impl Uses
impl Uses
Sourcepub fn participant<N: Copy>(participant: Participant<N>) -> Self
pub fn participant<N: Copy>(participant: Participant<N>) -> Self
The one purpose an actor’s own validation material serves.
Sourcepub fn signature(self) -> bool
pub fn signature(self) -> bool
Used for the actual root signer or an incorporated countersignature.
Sourcepub fn credential(self) -> bool
pub fn credential(self) -> bool
Used by an actual protected credential and its validation authorities.
Trait Implementations§
impl Copy for Uses
impl Eq for Uses
impl StructuralPartialEq for Uses
Auto Trait Implementations§
impl Freeze for Uses
impl RefUnwindSafe for Uses
impl Send for Uses
impl Sync for Uses
impl Unpin for Uses
impl UnsafeUnpin for Uses
impl UnwindSafe for Uses
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