pub enum SpecError {
Missing,
Ambiguous,
Invalid(&'static str),
Unlisted,
}Expand description
Why a spec cannot be used. The hooks collapse all three to “attest by tree alone”; the coverage check must say which one it is, because for a guard “no spec” and “a spec nobody can read” are both a failure to prove anything.
Variants§
Missing
Ambiguous
Invalid(&'static str)
Unlisted
git could not list the tree, or it is empty: nothing to cover.
Implementations§
Trait Implementations§
impl StructuralPartialEq for SpecError
Auto Trait Implementations§
impl Freeze for SpecError
impl RefUnwindSafe for SpecError
impl Send for SpecError
impl Sync for SpecError
impl Unpin for SpecError
impl UnsafeUnpin for SpecError
impl UnwindSafe for SpecError
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