pub trait FromRow: Sized {
// Required method
fn from_row(result_set: &ResultSet, row_idx: usize) -> GraphResult<Self>;
}
Expand description
Implemented by types that can be constructed from a row in a ResultSet
.
Required Methods§
fn from_row(result_set: &ResultSet, row_idx: usize) -> GraphResult<Self>
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.