Struct convergence::protocol_ext::DataRowWriter [−][src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,