Trait butane_core::db::BackendRows
source · pub trait BackendRows {
// Required methods
fn next<'a>(&'a mut self) -> Result<Option<&'a (dyn BackendRow + 'a)>>;
fn current<'a>(&'a self) -> Option<&'a (dyn BackendRow + 'a)>;
// Provided method
fn mapped<F, B>(self, f: F) -> MapDeref<Self, F>
where Self: Sized,
F: FnMut(&dyn BackendRow) -> Result<B> { ... }
}
Expand description
Abstraction of rows returned from a query. Most users do not need
to deal with this directly and should use the query!
macro or
Query type.