Enum sieve::VirusStatus
source · pub enum VirusStatus {
Unknown,
Clean,
Replaced,
Cured,
MaybeVirus,
Virus,
}
Variants§
Implementations§
source§impl VirusStatus
impl VirusStatus
pub fn from_number(number: u32) -> Self
Trait Implementations§
source§impl Clone for VirusStatus
impl Clone for VirusStatus
source§fn clone(&self) -> VirusStatus
fn clone(&self) -> VirusStatus
Returns a copy 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 moresource§impl Debug for VirusStatus
impl Debug for VirusStatus
source§impl From<i32> for VirusStatus
impl From<i32> for VirusStatus
source§impl From<u32> for VirusStatus
impl From<u32> for VirusStatus
source§impl From<usize> for VirusStatus
impl From<usize> for VirusStatus
source§impl Hash for VirusStatus
impl Hash for VirusStatus
source§impl PartialEq for VirusStatus
impl PartialEq for VirusStatus
source§fn eq(&self, other: &VirusStatus) -> bool
fn eq(&self, other: &VirusStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VirusStatus
impl Eq for VirusStatus
impl StructuralPartialEq for VirusStatus
Auto Trait Implementations§
impl Freeze for VirusStatus
impl RefUnwindSafe for VirusStatus
impl Send for VirusStatus
impl Sync for VirusStatus
impl Unpin for VirusStatus
impl UnwindSafe for VirusStatus
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