pub enum BranchAdvance {
Created,
UpToDate,
FastForward,
}Expand description
Outcome of Store::advance_branch_head_ff — how the ref moved.
Variants§
Created
The branch didn’t exist (or had no head) and was set to the new head.
UpToDate
The branch already pointed at the new head; nothing to do.
FastForward
The current head was an ancestor of the new head; advanced.
Trait Implementations§
Source§impl Clone for BranchAdvance
impl Clone for BranchAdvance
Source§fn clone(&self) -> BranchAdvance
fn clone(&self) -> BranchAdvance
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 moreimpl Copy for BranchAdvance
Source§impl Debug for BranchAdvance
impl Debug for BranchAdvance
impl Eq for BranchAdvance
Source§impl PartialEq for BranchAdvance
impl PartialEq for BranchAdvance
Source§impl Serialize for BranchAdvance
impl Serialize for BranchAdvance
impl StructuralPartialEq for BranchAdvance
Auto Trait Implementations§
impl Freeze for BranchAdvance
impl RefUnwindSafe for BranchAdvance
impl Send for BranchAdvance
impl Sync for BranchAdvance
impl Unpin for BranchAdvance
impl UnsafeUnpin for BranchAdvance
impl UnwindSafe for BranchAdvance
Blanket Implementations§
impl<T> Allocation for T
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,
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
Compare self to
key and return true if they are equal.