Enum ssh_jumper_model::SshForwarderEnd[][src]

pub enum SshForwarderEnd {
    LocalConnectFail(Error),
    LocalReadEof,
    LocalToChannelWriteErr(Error),
    LocalReadErr(Error),
    ChannelReadEof,
    ChannelToLocalWriteErr(Error),
    ChannelReadErr(Error),
}

Variants

LocalConnectFail(Error)

Failed to connect to local TCP listener.

Tuple Fields of LocalConnectFail

0: Error
LocalReadEof

Local TCP stream reached EOF.

LocalToChannelWriteErr(Error)

IO error when writing data to SSH channel.

This may happen due to any of:

  • SSH connection breaking, e.g. due to timeout or flakey connection.
  • Target host closing the connection, and how that propagates through the SSH channel.

Tuple Fields of LocalToChannelWriteErr

0: Error
LocalReadErr(Error)

IO error when reading from local TCP stream.

Tuple Fields of LocalReadErr

0: Error
ChannelReadEof

Read from SSH channel reached EOF.

ChannelToLocalWriteErr(Error)

IO error when writing data to local TCP stream.

This happens when the local connection is closed when data is still being written.

Tuple Fields of ChannelToLocalWriteErr

0: Error
ChannelReadErr(Error)

IO error when reading from SSH channel.

Tuple Fields of ChannelReadErr

0: Error

Trait Implementations

Formats the value using the given formatter. Read more

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.

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.