Struct tokio_postgres::binary_copy::BinaryCopyOutRow [−][src]
pub struct BinaryCopyOutRow { /* fields omitted */ }
A row of data parsed from a binary copy out stream.
Implementations
impl BinaryCopyOutRow
[src]
impl BinaryCopyOutRow
[src]pub fn try_get<'a, T>(&'a self, idx: usize) -> Result<T, Error> where
T: FromSql<'a>,
[src]
T: FromSql<'a>,
Like get
, but returns a Result
rather than panicking.
pub fn get<'a, T>(&'a self, idx: usize) -> T where
T: FromSql<'a>,
[src]
T: FromSql<'a>,
Deserializes a value from the row.
Panics
Panics if the index is out of bounds or if the value cannot be converted to the specified type.
Auto Trait Implementations
impl RefUnwindSafe for BinaryCopyOutRow
impl RefUnwindSafe for BinaryCopyOutRow
impl Send for BinaryCopyOutRow
impl Send for BinaryCopyOutRow
impl Sync for BinaryCopyOutRow
impl Sync for BinaryCopyOutRow
impl Unpin for BinaryCopyOutRow
impl Unpin for BinaryCopyOutRow
impl UnwindSafe for BinaryCopyOutRow
impl UnwindSafe for BinaryCopyOutRow