#[non_exhaustive]pub enum CoverageError {
Missing,
Ambiguous,
Invalid(&'static str),
Unlisted,
}Expand description
Why the coverage question cannot be answered. A guard that cannot answer fails, unlike the verifier, whose contract is fail-open.
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 tree holds no spec.
Ambiguous
Both locations hold one.
Invalid(&'static str)
The spec at this path is unreadable or invalid.
Unlisted
git could not list the tree, or it is empty.
Implementations§
Trait Implementations§
Source§impl Clone for CoverageError
impl Clone for CoverageError
Source§fn clone(&self) -> CoverageError
fn clone(&self) -> CoverageError
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 CoverageError
impl Debug for CoverageError
impl Eq for CoverageError
Source§impl PartialEq for CoverageError
impl PartialEq for CoverageError
impl StructuralPartialEq for CoverageError
Auto Trait Implementations§
impl Freeze for CoverageError
impl RefUnwindSafe for CoverageError
impl Send for CoverageError
impl Sync for CoverageError
impl Unpin for CoverageError
impl UnsafeUnpin for CoverageError
impl UnwindSafe for CoverageError
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