pub enum SheafResult {
Passed,
Failed(String),
Skipped,
}Expand description
Result of checking a sheaf condition at commit.
Variants§
Passed
Condition passed — deltas are consistent.
Failed(String)
Condition failed — deltas are inconsistent. The diagnostic describes what went wrong. The host decides what to do.
Skipped
Condition was advisory and skipped.
Trait Implementations§
Source§impl Clone for SheafResult
impl Clone for SheafResult
Source§impl Debug for SheafResult
impl Debug for SheafResult
impl Eq for SheafResult
Source§impl PartialEq for SheafResult
impl PartialEq for SheafResult
impl StructuralPartialEq for SheafResult
Auto Trait Implementations§
impl Freeze for SheafResult
impl RefUnwindSafe for SheafResult
impl Send for SheafResult
impl Sync for SheafResult
impl Unpin for SheafResult
impl UnsafeUnpin for SheafResult
impl UnwindSafe for SheafResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.