pub struct ActiveTrustedRoot {
pub root: TrustedRoot,
pub status: &'static str,
pub cache_path: Option<PathBuf>,
}Expand description
Bundle returned by active_trusted_root describing which root is in
force for the current verification call.
Fields§
§root: TrustedRootParsed trust root currently in force.
status: &'static strStable status token: EMBEDDED_ROOT_STATUS when the embedded
snapshot is in force, CACHED_ROOT_STATUS when a cached file
was loaded.
cache_path: Option<PathBuf>Cache path that was inspected. None when the caller did not
supply one.
Trait Implementations§
Source§impl Clone for ActiveTrustedRoot
impl Clone for ActiveTrustedRoot
Source§fn clone(&self) -> ActiveTrustedRoot
fn clone(&self) -> ActiveTrustedRoot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActiveTrustedRoot
impl Debug for ActiveTrustedRoot
Source§impl PartialEq for ActiveTrustedRoot
impl PartialEq for ActiveTrustedRoot
Source§fn eq(&self, other: &ActiveTrustedRoot) -> bool
fn eq(&self, other: &ActiveTrustedRoot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ActiveTrustedRoot
impl StructuralPartialEq for ActiveTrustedRoot
Auto Trait Implementations§
impl Freeze for ActiveTrustedRoot
impl RefUnwindSafe for ActiveTrustedRoot
impl Send for ActiveTrustedRoot
impl Sync for ActiveTrustedRoot
impl Unpin for ActiveTrustedRoot
impl UnsafeUnpin for ActiveTrustedRoot
impl UnwindSafe for ActiveTrustedRoot
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