#[non_exhaustive]pub enum WorkspaceIssue {
Missing {
name: DbName,
},
Undescribed {
name: DbName,
},
Stale {
name: DbName,
},
Unreadable {
name: DbName,
why: String,
},
AmbiguousSelf {
name: DbName,
facts: usize,
},
}Expand description
Something Workspace::verify found. Reported, never repaired — a workspace
is a directory a person can edit, and guessing at their intent is how a
consistency check becomes a data-loss bug.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Missing
The registry describes a database that is not on disk.
Undescribed
A database on disk that the registry does not describe. It works; it just cannot be found by description until it is described.
Stale
The registry’s description disagrees with the database’s own.
Unreadable
A database could not be read, so nothing about it could be checked.
AmbiguousSelf
More than one fact claims the reserved self-description anchor.
Trait Implementations§
Source§impl Clone for WorkspaceIssue
impl Clone for WorkspaceIssue
Source§fn clone(&self) -> WorkspaceIssue
fn clone(&self) -> WorkspaceIssue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkspaceIssue
impl Debug for WorkspaceIssue
impl Eq for WorkspaceIssue
Source§impl PartialEq for WorkspaceIssue
impl PartialEq for WorkspaceIssue
impl StructuralPartialEq for WorkspaceIssue
Auto Trait Implementations§
impl Freeze for WorkspaceIssue
impl RefUnwindSafe for WorkspaceIssue
impl Send for WorkspaceIssue
impl Sync for WorkspaceIssue
impl Unpin for WorkspaceIssue
impl UnsafeUnpin for WorkspaceIssue
impl UnwindSafe for WorkspaceIssue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.