pub enum Ssh {
User,
Batch,
}Expand description
Whose ssh a remote call uses.
Variants§
User
The user configured their own (GIT_SSH_COMMAND, GIT_SSH or
core.sshCommand); it is left alone — replacing it could drop the
key selection it exists for. It may prompt; the deadline bounds that.
Batch
Ours: batch mode, no prompt, a 10 s connect timeout.
Trait Implementations§
impl Copy for Ssh
impl StructuralPartialEq for Ssh
Auto Trait Implementations§
impl Freeze for Ssh
impl RefUnwindSafe for Ssh
impl Send for Ssh
impl Sync for Ssh
impl Unpin for Ssh
impl UnsafeUnpin for Ssh
impl UnwindSafe for Ssh
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