pub enum Derivation {
Derived,
Reused,
}Expand description
Whether a pass derived a branch’s verdict or reused one it recorded earlier.
A pass records each verdict it derives under everything the derivation read, and reuses it only while every one of those inputs is unchanged. What it reuses is the derivation — the ancestry, landing and content proofs — and nothing else: live holders, exclusions, checked-out and dirty worktrees, and every read around a deletion are asked fresh on every pass whichever this is.
Variants§
Derived
Decided on this pass: the proofs were run, or a check made fresh decided it before any proof was needed.
Reused
The proofs were answered by the verdict recorded under inputs this pass read unchanged.
Implementations§
Trait Implementations§
Source§impl Clone for Derivation
impl Clone for Derivation
impl Copy for Derivation
Source§impl Debug for Derivation
impl Debug for Derivation
Source§impl Default for Derivation
impl Default for Derivation
Source§impl<'de> Deserialize<'de> for Derivation
impl<'de> Deserialize<'de> for Derivation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Derivation
Source§impl PartialEq for Derivation
impl PartialEq for Derivation
Source§impl Serialize for Derivation
impl Serialize for Derivation
impl StructuralPartialEq for Derivation
Auto Trait Implementations§
impl Freeze for Derivation
impl RefUnwindSafe for Derivation
impl Send for Derivation
impl Sync for Derivation
impl Unpin for Derivation
impl UnsafeUnpin for Derivation
impl UnwindSafe for Derivation
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.