pub struct Evidence { /* private fields */ }Expand description
Independently retained cryptographic/time evidence, not a trust verdict. The caller must establish TSA path/status, enforce signed ESS restrictions and apply algorithm/policy permissions before granting product acceptance.
Implementations§
Source§impl Evidence
impl Evidence
Sourcepub fn try_copy_in<W: Work>(&self, work: &W) -> Result<Self, EvidenceCopyError>
pub fn try_copy_in<W: Work>(&self, work: &W) -> Result<Self, EvidenceCopyError>
Makes a genuine independently charged copy, without infallible Clone. Map admission precedes fact copying so an inner refusal can retain its provenance without allocating while already handling that refusal.
Sourcepub fn facts(&self) -> &RetainedFacts
pub fn facts(&self) -> &RetainedFacts
Generation/imprint facts bound to this successfully checked token.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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