pub enum HostedPushPlan {
NativePerThreadFanout,
GitOverlayMirror,
NativeSingleThread,
}Expand description
Hosted/network push strategy for one push invocation.
Derived solely from RepositoryCapability and the --all-threads flag.
CLI applies the plan by calling the corresponding transport (mirror RPC,
per-thread native fan-out, or single native push).
Variants§
NativePerThreadFanout
Native path: one push RPC per pushable thread (heddle#838).
GitOverlayMirror
Git-overlay: single multi-ref git-mirror transfer (heddle#846).
Covers every ref (= every thread) in one ship even when
--all-threads was set.
NativeSingleThread
Native path: single-thread push RPC for the resolved track name.
Trait Implementations§
Source§impl Clone for HostedPushPlan
impl Clone for HostedPushPlan
Source§fn clone(&self) -> HostedPushPlan
fn clone(&self) -> HostedPushPlan
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 HostedPushPlan
Source§impl Debug for HostedPushPlan
impl Debug for HostedPushPlan
impl Eq for HostedPushPlan
Source§impl PartialEq for HostedPushPlan
impl PartialEq for HostedPushPlan
impl StructuralPartialEq for HostedPushPlan
Auto Trait Implementations§
impl Freeze for HostedPushPlan
impl RefUnwindSafe for HostedPushPlan
impl Send for HostedPushPlan
impl Sync for HostedPushPlan
impl Unpin for HostedPushPlan
impl UnsafeUnpin for HostedPushPlan
impl UnwindSafe for HostedPushPlan
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