Enum ssh_cfg::ConfigError [−][src]
pub enum ConfigError {
SshOptionBeforeHost {
option: SshOptionKey,
value: String,
},
SshOptionUnknown {
key: String,
},
KeyValueNotFound {
line: String,
},
}
Expand description
Errors when parsing SSH config file.
Variants
An SSH option is provided before the Host
key.
Fields of SshOptionBeforeHost
Unknown SSH option in the SSH configuration file.
Fields of SshOptionUnknown
key: String
The configuration option key.
Line could not be parsed into a key and value pair.
Fields of KeyValueNotFound
line: String
The line that could not be parsed.