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