Enum spurs::SshError [−][src]
pub enum SshError {
KeyNotFound {
file: String,
},
AuthFailed {
key: PathBuf,
},
NonZeroExit {
cmd: String,
exit: i32,
},
SshError {
error: Error,
},
IoError {
error: Error,
},
}
Expand description
An error type representing things that could possibly go wrong when using an SshShell.
Variants
Unable to find the private key at the given path.
Fields of KeyNotFound
file: String
SSH authentication failed.
Fields of AuthFailed
key: PathBuf
The comand run over SSH returned with a non-zero exit code.
An SSH error occurred.
Fields of SshError
error: Error
An I/O error occurred.
Fields of IoError
error: Error