Struct apollo_framework::server::ConnectionInfo[][src]

pub struct ConnectionInfo<P: Default + Send + Sync> {
    pub peer_address: String,
    pub payload: P,
}
Expand description

Provides some metadata for a client connection.

Fields

peer_address: String

Contains the peer address of the client being connected.

payload: P

Contains the name of the connected client.

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.