pub enum StateFileLocationStatus {
Valid,
Missing,
Corrupted,
Tampered,
Inaccessible {
reason: String,
},
}Expand description
Status of a state file location
Variants§
Valid
Valid state file exists
Missing
File is missing
Corrupted
File exists but is corrupted
Tampered
File appears tampered with
Inaccessible
Unable to read/access
Trait Implementations§
Source§impl Clone for StateFileLocationStatus
impl Clone for StateFileLocationStatus
Source§fn clone(&self) -> StateFileLocationStatus
fn clone(&self) -> StateFileLocationStatus
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 StateFileLocationStatus
impl Debug for StateFileLocationStatus
Source§impl<'de> Deserialize<'de> for StateFileLocationStatus
impl<'de> Deserialize<'de> for StateFileLocationStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StateFileLocationStatus
impl RefUnwindSafe for StateFileLocationStatus
impl Send for StateFileLocationStatus
impl Sync for StateFileLocationStatus
impl Unpin for StateFileLocationStatus
impl UnsafeUnpin for StateFileLocationStatus
impl UnwindSafe for StateFileLocationStatus
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