pub enum VerifyStatus {
Ready,
AlreadyPatched,
HashMismatch,
NotFound,
}Expand description
Status of a file patch verification.
Variants§
Ready
File is ready to be patched (current hash matches beforeHash).
AlreadyPatched
File is already in the patched state (current hash matches afterHash).
HashMismatch
File hash does not match either beforeHash or afterHash.
NotFound
File was not found on disk.
Trait Implementations§
Source§impl Clone for VerifyStatus
impl Clone for VerifyStatus
Source§fn clone(&self) -> VerifyStatus
fn clone(&self) -> VerifyStatus
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 moreSource§impl Debug for VerifyStatus
impl Debug for VerifyStatus
Source§impl PartialEq for VerifyStatus
impl PartialEq for VerifyStatus
impl Eq for VerifyStatus
impl StructuralPartialEq for VerifyStatus
Auto Trait Implementations§
impl Freeze for VerifyStatus
impl RefUnwindSafe for VerifyStatus
impl Send for VerifyStatus
impl Sync for VerifyStatus
impl Unpin for VerifyStatus
impl UnsafeUnpin for VerifyStatus
impl UnwindSafe for VerifyStatus
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