pub struct StateObservations {
pub valid_locations: Vec<PathBuf>,
pub missing_locations: Vec<PathBuf>,
pub corrupted_locations: Vec<PathBuf>,
pub error_locations: Vec<PathBuf>,
}Expand description
Observations about state file storage locations.
Fields§
§valid_locations: Vec<PathBuf>§missing_locations: Vec<PathBuf>§corrupted_locations: Vec<PathBuf>§error_locations: Vec<PathBuf>Implementations§
Source§impl StateObservations
impl StateObservations
pub fn has_inconsistency(&self) -> bool
pub fn has_valid_state(&self) -> bool
pub fn total_locations(&self) -> usize
Trait Implementations§
Source§impl Clone for StateObservations
impl Clone for StateObservations
Source§fn clone(&self) -> StateObservations
fn clone(&self) -> StateObservations
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 StateObservations
impl Debug for StateObservations
Source§impl Default for StateObservations
impl Default for StateObservations
Source§fn default() -> StateObservations
fn default() -> StateObservations
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StateObservations
impl RefUnwindSafe for StateObservations
impl Send for StateObservations
impl Sync for StateObservations
impl Unpin for StateObservations
impl UnsafeUnpin for StateObservations
impl UnwindSafe for StateObservations
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