pub enum LocalFileIntegrity {
TrustedDigest,
Unverified,
NotAvailable,
Mismatch,
}Expand description
Whether local bytes were authenticated against the reviewed trust root.
Variants§
TrustedDigest
Exact size and SHA-256 match reviewed source-controlled metadata.
Unverified
A user-supplied file passed only the lightweight usability check.
NotAvailable
No complete usable file was available for integrity checking.
Mismatch
Complete bytes were present but did not match trusted metadata.
Trait Implementations§
Source§impl Clone for LocalFileIntegrity
impl Clone for LocalFileIntegrity
impl Copy for LocalFileIntegrity
Source§impl Debug for LocalFileIntegrity
impl Debug for LocalFileIntegrity
impl Eq for LocalFileIntegrity
Source§impl PartialEq for LocalFileIntegrity
impl PartialEq for LocalFileIntegrity
impl StructuralPartialEq for LocalFileIntegrity
Auto Trait Implementations§
impl Freeze for LocalFileIntegrity
impl RefUnwindSafe for LocalFileIntegrity
impl Send for LocalFileIntegrity
impl Sync for LocalFileIntegrity
impl Unpin for LocalFileIntegrity
impl UnsafeUnpin for LocalFileIntegrity
impl UnwindSafe for LocalFileIntegrity
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