pub struct SourceIntegrityServiceHandle(/* private fields */);Expand description
Cloneable, type-erased integrity service registered by the host.
Implementations§
Source§impl SourceIntegrityServiceHandle
impl SourceIntegrityServiceHandle
Sourcepub fn new(service: Arc<dyn SourceIntegrityService>) -> Self
pub fn new(service: Arc<dyn SourceIntegrityService>) -> Self
Wraps a trusted integrity service.
Sourcepub fn issues(
&self,
source: &SourceId,
) -> Result<Vec<IntegrityIssue>, IntegrityError>
pub fn issues( &self, source: &SourceId, ) -> Result<Vec<IntegrityIssue>, IntegrityError>
Lists issues, validating coverage, evidence exactness and source binding.
Trait Implementations§
Source§impl Clone for SourceIntegrityServiceHandle
impl Clone for SourceIntegrityServiceHandle
Source§impl SnapshotBoundService for SourceIntegrityServiceHandle
impl SnapshotBoundService for SourceIntegrityServiceHandle
Source§fn source_snapshots(&self) -> &[SourceSnapshot]
fn source_snapshots(&self) -> &[SourceSnapshot]
Exact source snapshots used to construct this service.
Auto Trait Implementations§
impl !RefUnwindSafe for SourceIntegrityServiceHandle
impl !UnwindSafe for SourceIntegrityServiceHandle
impl Freeze for SourceIntegrityServiceHandle
impl Send for SourceIntegrityServiceHandle
impl Sync for SourceIntegrityServiceHandle
impl Unpin for SourceIntegrityServiceHandle
impl UnsafeUnpin for SourceIntegrityServiceHandle
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