Struct convergence::protocol_ext::DataRowWriter[][src]

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

Temporarily leased from a DataRowBatch to encode a single row.

Implementations

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

pub fn write_null(&mut self)[src]

Writes a null value for the next column.

pub fn write_string(&mut self, val: &str)[src]

Writes a string value for the next column.

pub fn write_date(&mut self, val: NaiveDate)[src]

Writes a date value for the next column.

pub fn write_timestamp(&mut self, val: NaiveDateTime)[src]

Writes a timestamp value for the next column.

pub fn write_int2(&mut self, val: i16)[src]

pub fn write_int4(&mut self, val: i32)[src]

pub fn write_int8(&mut self, val: i64)[src]

pub fn write_float4(&mut self, val: f32)[src]

pub fn write_float8(&mut self, val: f64)[src]

Trait Implementations

impl<'a> Drop for DataRowWriter<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for DataRowWriter<'a>

impl<'a> Send for DataRowWriter<'a>

impl<'a> Sync for DataRowWriter<'a>

impl<'a> Unpin for DataRowWriter<'a>

impl<'a> !UnwindSafe for DataRowWriter<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.