pub enum NetworkOp {
Push,
PushSetUpstream,
Pull,
Fetch,
FetchAll,
}Expand description
A network operation the binary runs by shelling out to the backend’s CLI, so the user’s existing auth (SSH agent, credential helper, tokens) applies without diffler holding any credentials.
Variants§
Trait Implementations§
impl Copy for NetworkOp
impl Eq for NetworkOp
impl StructuralPartialEq for NetworkOp
Auto Trait Implementations§
impl Freeze for NetworkOp
impl RefUnwindSafe for NetworkOp
impl Send for NetworkOp
impl Sync for NetworkOp
impl Unpin for NetworkOp
impl UnsafeUnpin for NetworkOp
impl UnwindSafe for NetworkOp
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