Struct pleingres::Buffer

source ·
pub struct Buffer<'a> { /* private fields */ }
Expand description

A single connection uses just two buffers, allocated at the beginning of the connection. This type is a view into one of these buffer, which can be used to send orders via the provided methods.

Implementations

Parse a statement.

Bind a statement to parameters and a “portal”, which is a result identifier. If only one statement is executed at a time, the unnamed portal (i.e. "") works.

Bind a statement to parameters and a “portal”, which is a result identifier. If only one statement is executed at a time, the unnamed portal (i.e. "") works.

Bind a statement to parameters and a “portal”, which is a result identifier. If only one statement is executed at a time, the unnamed portal (i.e. "") works.

Ask the server to flush.

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.

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.