pub struct VerifyResult {
pub computed_md5: Option<[u8; 16]>,
pub computed_sha1: Option<[u8; 20]>,
pub computed_sha256: Option<[u8; 32]>,
pub md5_match: Option<bool>,
pub sha1_match: Option<bool>,
pub sha256_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.
computed_sha256: Option<[u8; 32]>SHA256 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.
sha256_match: Option<bool>Whether computed SHA256 matched the stored SHA256, or None if absent.
Trait Implementations§
Source§impl Clone for VerifyResult
impl Clone for VerifyResult
Source§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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more