pub enum SshConfigError {
Show 13 variants
InvalidField {
field: &'static str,
reason: &'static str,
},
InvalidPort,
PathNotAbsolute {
field: &'static str,
},
UnsafePath {
field: &'static str,
},
PathUnreadable {
field: &'static str,
},
PathNotRegularFile {
field: &'static str,
},
EmptyFile {
field: &'static str,
},
IdentityFilePermissions,
IdentityPathPermissions,
KnownHostsFilePermissions,
InvalidHostKeyFingerprint,
InvalidKnownHosts,
KnownHostsSnapshotFailed,
}Expand description
Invalid named SSH endpoint configuration.
Variants§
InvalidField
A stable text field did not match its conservative grammar.
InvalidPort
Port zero is never a valid SSH destination.
PathNotAbsolute
A security-sensitive path was not absolute.
UnsafePath
A security-sensitive path contained control data or OpenSSH expansion syntax.
PathUnreadable
A security-sensitive path could not be inspected.
PathNotRegularFile
A security-sensitive path was a symlink or another non-regular object.
EmptyFile
An empty trust or identity file cannot authenticate a worker.
IdentityFilePermissions
An identity file is readable by another local user.
IdentityPathPermissions
An identity path traverses a directory another local user can replace.
KnownHostsFilePermissions
The trust file could be replaced by another local user.
InvalidHostKeyFingerprint
The pinned fingerprint was not canonical OpenSSH SHA-256 syntax.
InvalidKnownHosts
The dedicated trust file did not contain exactly the pinned endpoint key.
KnownHostsSnapshotFailed
A private operation-owned trust snapshot could not be created.
Trait Implementations§
Source§impl Clone for SshConfigError
impl Clone for SshConfigError
Source§impl Debug for SshConfigError
impl Debug for SshConfigError
Source§impl Display for SshConfigError
impl Display for SshConfigError
impl Eq for SshConfigError
Source§impl Error for SshConfigError
impl Error for SshConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for SshConfigError
impl PartialEq for SshConfigError
impl StructuralPartialEq for SshConfigError
Auto Trait Implementations§
impl Freeze for SshConfigError
impl RefUnwindSafe for SshConfigError
impl Send for SshConfigError
impl Sync for SshConfigError
impl Unpin for SshConfigError
impl UnsafeUnpin for SshConfigError
impl UnwindSafe for SshConfigError
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.