Struct postgres_binary_copy::BinaryCopyReader [] [src]

pub struct BinaryCopyReader<'a, I> { /* fields omitted */ }

A ReadWithInfo implementation that generates binary-formatted output for use with COPY ... FROM STDIN (FORMAT binary) statements.

Methods

impl<'a, I> BinaryCopyReader<'a, I> where
    I: StreamingIterator<Item = ToSql>, 
[src]

Creates a new BinaryCopyReader.

The reader will output tuples with a structure described by types and values from it. it should return values in row-major order.

Trait Implementations

impl<'a, I> Debug for BinaryCopyReader<'a, I> where
    I: Debug
[src]

Formats the value using the given formatter.

impl<'a, I> ReadWithInfo for BinaryCopyReader<'a, I> where
    I: StreamingIterator<Item = ToSql>, 
[src]

Like Read::read.