pub(super) enum SshCommand {
Forge,
User,
}Expand description
Whether forge builds the ssh command for a child, or the checkout does.
GIT_SSH_COMMAND outranks both core.sshCommand and GIT_SSH, so a
command forge sets is the one that runs: it may not be set while either of
the others is the user’s own way to reach their remote.
Variants§
Forge
The environment and the checkout name none, so forge’s bounded one runs.
User
One of the user’s spellings is in force, and it is left alone.
Trait Implementations§
Source§impl Clone for SshCommand
impl Clone for SshCommand
impl Copy for SshCommand
Source§impl Debug for SshCommand
impl Debug for SshCommand
impl Eq for SshCommand
Source§impl PartialEq for SshCommand
impl PartialEq for SshCommand
impl StructuralPartialEq for SshCommand
Auto Trait Implementations§
impl Freeze for SshCommand
impl RefUnwindSafe for SshCommand
impl Send for SshCommand
impl Sync for SshCommand
impl Unpin for SshCommand
impl UnsafeUnpin for SshCommand
impl UnwindSafe for SshCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.