blob: 04175867a2743a0654e85ed00b79200bf27efc7d [file] [log] [blame]
use backend::Backend;
/// The row trait which is used for [`FromSqlRow`][]. Apps should not need to
/// concern themselves with this trait.
///
/// [`FromSqlRow`]: ../types/trait.FromSqlRow.html
pub trait Row<DB: Backend> {
fn take(&mut self) -> Option<&DB::RawValue>;
fn next_is_null(&self, count: usize) -> bool;
}