Enum downloader::verify::Verification
source · pub enum Verification {
NotVerified,
Failed,
Ok,
}
Expand description
The possible states of file verification
Variants§
NotVerified
The file has not been verified at all.
Failed
The file failed the verification process.
Ok
The file passed the verification process.
Trait Implementations§
source§impl Debug for Verification
impl Debug for Verification
source§impl Display for Verification
impl Display for Verification
source§impl PartialEq<Verification> for Verification
impl PartialEq<Verification> for Verification
source§fn eq(&self, other: &Verification) -> bool
fn eq(&self, other: &Verification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Verification
impl StructuralEq for Verification
impl StructuralPartialEq for Verification
Auto Trait Implementations§
impl RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl UnwindSafe for Verification
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.