pub enum RetryKind {
NotRetryable,
TransientNetwork,
TransientTimeout,
TransientSsh,
PermanentAuth,
PermanentClient,
PermanentRemoteCommand,
Cancelled,
}Expand description
Detailed retry kind returned by SshCliError::retry_kind.
Variants§
NotRetryable
Never retry with the same argv.
TransientNetwork
Transient network/connect failure (exit 74).
TransientTimeout
Operation deadline exceeded (exit 74).
TransientSsh
SSH session/channel flaked after connect (exit 74).
PermanentAuth
Auth / host-key — change credentials first.
PermanentClient
Validation / not-found / schema — fix inputs.
PermanentRemoteCommand
Remote command non-zero — not a transport retry.
Cancelled
SIGINT/SIGTERM/EPIPE.
Trait Implementations§
impl Copy for RetryKind
impl Eq for RetryKind
impl StructuralPartialEq for RetryKind
Auto Trait Implementations§
impl Freeze for RetryKind
impl RefUnwindSafe for RetryKind
impl Send for RetryKind
impl Sync for RetryKind
impl Unpin for RetryKind
impl UnsafeUnpin for RetryKind
impl UnwindSafe for RetryKind
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.