pub enum TrunkState {
Level,
Behind,
Ahead,
Diverged,
}Expand description
How the local trunk stands against its remote.
Variants§
Level
No remote answered, or the two name one commit.
Behind
The remote is ahead: the local trunk fast-forwards onto it.
Ahead
The local trunk carries integrations nobody pushed yet, which is the ordinary state under local integration.
Diverged
Neither reaches the other.
Trait Implementations§
Source§impl Clone for TrunkState
impl Clone for TrunkState
impl Copy for TrunkState
Source§impl Debug for TrunkState
impl Debug for TrunkState
impl Eq for TrunkState
Source§impl PartialEq for TrunkState
impl PartialEq for TrunkState
impl StructuralPartialEq for TrunkState
Auto Trait Implementations§
impl Freeze for TrunkState
impl RefUnwindSafe for TrunkState
impl Send for TrunkState
impl Sync for TrunkState
impl Unpin for TrunkState
impl UnsafeUnpin for TrunkState
impl UnwindSafe for TrunkState
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
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.