pub enum Proof {
Request(String),
LocalIntegration(String),
ReachableTip(String),
}Expand description
What authorized a branch’s retirement.
Exactly three proofs are admissible, and none stands in for another. The first two are records, one per integration authority, and both rest on the same predicate: the tip the proof recorded equals the tip observed now. The third is no record at all: the trunk reaches the tip observed now, and the branch moved since its reflog’s creation entry, so the tip is work the trunk carries rather than the commit a fresh branch started at.
SATISFIES maintenance:gone-is-a-candidate-not-proof SATISFIES maintenance:one-merge-proof-authorizes-both-removals
Variants§
Request(String)
A merged request whose recorded head equals this tip.
LocalIntegration(String)
A local integration whose recorded branch tip equals this tip.
ReachableTip(String)
A trunk that reaches this tip, carrying the commit the branch’s creation entry names, which differs from the tip.
Implementations§
Trait Implementations§
impl Eq for Proof
impl StructuralPartialEq for Proof
Auto Trait Implementations§
impl Forget for Proof
impl Freeze for Proof
impl Move for Proof
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnsafeUnpin for Proof
impl UnwindSafe for Proof
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
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
key and return true if they are equal.