Expand description
Error types for anvil-ssh.
§Examples
use anvil_ssh::GitwayError;
fn handle(err: &GitwayError) {
if err.is_host_key_mismatch() {
eprintln!("Possible MITM — host key does not match pinned fingerprints.");
}
}Structs§
- Gitway
Error - The single error type returned by all
anvil-sshoperations.