pub struct TcpTransport { /* private fields */ }
Expand description

This is the thing that handles input and output for the open connection associated with the session.

Implementations

This is the entry point for the session. This function is asynchronous - it spawns tokio tasks to handle the session execution loop so this function will returns immediately.

Test if the connection should abort

Trait Implementations

Terminate the session and put the connection in a finished state

Returns the address of the client (peer) of this connection

Returns the session map for the connection

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.