Enum ssh_jumper_model::Error[][src]

pub enum Error {
Show 16 variants JumpHostConnectFail { jump_host_addr: HostSocketParams<'static>, io_error: Error, }, AsyncSessionInitialize(Error), DnsResolverCreate(ResolveError), DnsResolverLookup(ResolveError), JumpHostIpResolutionFail { jump_host_addr: String, }, LocalSocketAddr { local_socket: SocketAddr, io_error: Error, }, LocalSocketBind { local_socket: SocketAddr, io_error: Error, }, PrivateKeyPlainPath(HomeDirNotFound), SshHandshakeFail(Error), SshUserAuthFail(Error), SshUserAuthError(Error), SshUserAuthUnknownError, SshTunnelOpenFail(Error), SshTunnelListenerCreate(Error), SshTunnelStreamCreate(Error), SshStreamerSpawnFail(JoinError),
}

Variants

JumpHostConnectFail

Fields of JumpHostConnectFail

jump_host_addr: HostSocketParams<'static>io_error: Error
AsyncSessionInitialize(Error)

Tuple Fields of AsyncSessionInitialize

0: Error
DnsResolverCreate(ResolveError)

Tuple Fields of DnsResolverCreate

0: ResolveError
DnsResolverLookup(ResolveError)

Tuple Fields of DnsResolverLookup

0: ResolveError
JumpHostIpResolutionFail

Fields of JumpHostIpResolutionFail

jump_host_addr: String
LocalSocketAddr

Fields of LocalSocketAddr

local_socket: SocketAddrio_error: Error
LocalSocketBind

Fields of LocalSocketBind

local_socket: SocketAddrio_error: Error
PrivateKeyPlainPath(HomeDirNotFound)

Tuple Fields of PrivateKeyPlainPath

0: HomeDirNotFound
SshHandshakeFail(Error)

Tuple Fields of SshHandshakeFail

0: Error
SshUserAuthFail(Error)

Tuple Fields of SshUserAuthFail

0: Error
SshUserAuthError(Error)

Tuple Fields of SshUserAuthError

0: Error
SshUserAuthUnknownError
SshTunnelOpenFail(Error)

Tuple Fields of SshTunnelOpenFail

0: Error
SshTunnelListenerCreate(Error)

Tuple Fields of SshTunnelListenerCreate

0: Error
SshTunnelStreamCreate(Error)

Tuple Fields of SshTunnelStreamCreate

0: Error
SshStreamerSpawnFail(JoinError)

Tuple Fields of SshStreamerSpawnFail

0: JoinError

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.