pub struct RpcConnection(_);

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The resulting type after dereferencing.

Dereferences the value.

Called when a TCP connection is made.

Called when the WebSocket is shutting down.

Called when a new connection is established for a client endpoint. This method can be used to differentiate a client aspect for a handler. Read more

Called when a new connection is established for a server endpoint. This method can be used to differentiate a server aspect for a handler. Read more

Called when a TCP connection is lost with the handler that was setup for that connection. Read more

Called on incoming messages.

Called when a request to shutdown all connections has been received.

Called when the WebSocket handshake is successful and the connection is open for sending and receiving messages. Read more

Called any time this endpoint receives a close control frame. This may be because the other endpoint is initiating a closing handshake, or it may be the other endpoint confirming the handshake initiated by this endpoint. Read more

Called when an error occurs on the WebSocket.

A method for handling the low-level workings of the request portion of the WebSocket handshake. Read more

A method for handling the low-level workings of the response portion of the WebSocket handshake. Read more

Called when a timeout is triggered. Read more

Called when a timeout has been scheduled on the eventloop. Read more

A method for handling incoming frames. Read more

A method for handling outgoing frames. Read more

A method for creating the initial handshake request for WebSocket clients. Read more

A method for wrapping a client TcpStream with Ssl Authentication machinery Read more

A method for wrapping a server TcpStream with Ssl Authentication machinery 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

Convert from a value of T into an equivalent instance of Option<Self>. Read more

Consume self to return Some equivalent value of Option<T>. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Cast reference.

Cast reference.

Cast mutable reference.

Cast mutable reference.

Get a reference to the inner from the outer.

Get a mutable reference to the inner from the outer.

Should always be Self

Convert from a value of T into an equivalent instance of Self. Read more

Consume self to return an equivalent value of T. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. 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.

The counterpart to unchecked_from.

Consume self to return an equivalent value of T.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more