Struct thrussh::client::Channel[][src]

pub struct Channel { /* fields omitted */ }

Implementations

Returns the min between the maximum packet size and the remaining window size in the channel.

Request a pseudo-terminal with the given characteristics.

Request a remote shell.

Execute a remote program (will be passed to a shell). This can be used to implement scp (by calling a remote scp and tunneling to its standard input).

Signal a remote process.

Request the start of a subsystem with the given name.

Request the forwarding of a remote port to the client. The server will then open forwarding channels (which cause the client to call .channel_open_forwarded_tcpip()).

Cancel a previous forwarding request.

Request X11 forwarding through an already opened X11 channel. See RFC4254 for security issues related to cookies.

Set a remote environment variable.

Inform the server that our window size has changed.

Send data to a channel.

Send data to a channel. The number of bytes added to the “sending pipeline” (to be processed by the event loop) is returned.

Wait for data to come.

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.

Should always be Self

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.