pub enum ThreadBaseSelection {
Use(StateId),
RequireCurrent,
}Expand description
Outcome of pure base selection after --from / existing tip are resolved.
Variants§
Use(StateId)
Use this already-resolved change id as the thread base.
RequireCurrent
No existing tip and no --from: caller must use current HEAD / bootstrap.
Trait Implementations§
Source§impl Clone for ThreadBaseSelection
impl Clone for ThreadBaseSelection
Source§fn clone(&self) -> ThreadBaseSelection
fn clone(&self) -> ThreadBaseSelection
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 moreSource§impl Debug for ThreadBaseSelection
impl Debug for ThreadBaseSelection
impl Eq for ThreadBaseSelection
Source§impl PartialEq for ThreadBaseSelection
impl PartialEq for ThreadBaseSelection
impl StructuralPartialEq for ThreadBaseSelection
Auto Trait Implementations§
impl Freeze for ThreadBaseSelection
impl RefUnwindSafe for ThreadBaseSelection
impl Send for ThreadBaseSelection
impl Sync for ThreadBaseSelection
impl Unpin for ThreadBaseSelection
impl UnsafeUnpin for ThreadBaseSelection
impl UnwindSafe for ThreadBaseSelection
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