Struct convergence::connection::Connection[][src]

pub struct Connection<E: Engine> { /* fields omitted */ }
Expand description

Describes a connection using a specific engine. Contains connection state including prepared statements and portals.

Implementations

Create a new connection from an engine instance.

Given a stream (typically TCP), extract Postgres protocol messages and respond accordingly. This function only returns when the connection is closed (either gracefully or due to an error).

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.