pub enum VerifyResult {
Stale(Hash),
Okay(Hash),
Failed(Hash, Hash),
EOF,
}Variants§
Stale(Hash)
The hash has already been verified.
Okay(Hash)
The actual and expected hashes match.
Failed(Hash, Hash)
The actual and expected hashes don’t match.
EOF
There are no further expected hashes.
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VerifyResult
impl RefUnwindSafe for VerifyResult
impl Send for VerifyResult
impl Sync for VerifyResult
impl Unpin 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