pub struct VerifyResult {
pub computed_md5: Option<[u8; 16]>,
pub computed_sha1: Option<[u8; 20]>,
pub md5_match: Option<bool>,
pub sha1_match: Option<bool>,
}Expand description
Result of streamed logical media hash verification.
Fields§
§computed_md5: Option<[u8; 16]>MD5 hash computed from the logical media stream.
computed_sha1: Option<[u8; 20]>SHA1 hash computed from the logical media stream.
md5_match: Option<bool>Whether computed MD5 matched the stored MD5, or None if no MD5 was stored.
sha1_match: Option<bool>Whether computed SHA1 matched the stored SHA1, or None if no SHA1 was stored.
Trait Implementations§
Source§impl Clone for VerifyResult
impl Clone for VerifyResult
Source§fn clone(&self) -> VerifyResult
fn clone(&self) -> VerifyResult
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 VerifyResult
impl Debug for VerifyResult
impl Eq for VerifyResult
Source§impl PartialEq for VerifyResult
impl PartialEq for VerifyResult
impl StructuralPartialEq for VerifyResult
Auto Trait Implementations§
impl Freeze for VerifyResult
impl RefUnwindSafe for VerifyResult
impl Send for VerifyResult
impl Sync for VerifyResult
impl Unpin for VerifyResult
impl UnsafeUnpin for VerifyResult
impl UnwindSafe for VerifyResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.