pub enum RegistrationPlan {
Register,
Existing(ResolvedCodebase, Uuid),
Ambiguous(ResolvedCodebase),
}Expand description
What registering a checkout with the server should do, given the repos
its remote’s codebase already has. See plan_registration.
Variants§
Register
The remote’s codebase has no live repo (or is unknown): register one.
Existing(ResolvedCodebase, Uuid)
Bind this existing repo of the codebase; register nothing.
Ambiguous(ResolvedCodebase)
The codebase has several live repos and nothing says which one this checkout is; register nothing and let the user pick.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegistrationPlan
impl RefUnwindSafe for RegistrationPlan
impl Send for RegistrationPlan
impl Sync for RegistrationPlan
impl Unpin for RegistrationPlan
impl UnsafeUnpin for RegistrationPlan
impl UnwindSafe for RegistrationPlan
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