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]
I: StreamingIterator<Item = ToSql>,
fn new(types: &'a [Type], it: I) -> BinaryCopyReader<'a, I>
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]
I: Debug,
impl<'a, I> ReadWithInfo for BinaryCopyReader<'a, I> where
I: StreamingIterator<Item = ToSql>, [src]
I: StreamingIterator<Item = ToSql>,