Trait ParseFromRow

Source
pub trait ParseFromRow: Sized {
    // Required method
    fn parse<T>(&self) -> Result<T, Error>
       where T: FromRow;
}
Expand description

Parse a type from a row.

Required Methods§

Source

fn parse<T>(&self) -> Result<T, Error>
where T: FromRow,

Parse the row into type T.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ParseFromRow for Row

Source§

fn parse<T>(&self) -> Result<T, Error>
where T: FromRow,

Implementors§