Struct pleingres::Buffer[][src]

pub struct Buffer<'a> { /* fields omitted */ }

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.

Methods

impl<'a> Buffer<'a>
[src]

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

impl<'a> Send for Buffer<'a>

impl<'a> Sync for Buffer<'a>