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
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
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