pub struct ReaderRow<'row, 'statement> { /* private fields */ }Expand description
A value-extraction view of one row from a reader lease.
It deliberately exposes neither the prepared statement nor its connection.
ⓘ
fn statement(row: &khive_db::ReaderRow<'_, '_>) {
let _: &rusqlite::Statement<'_> = row.as_ref();
}Implementations§
Auto Trait Implementations§
impl<'row, 'statement> !RefUnwindSafe for ReaderRow<'row, 'statement>
impl<'row, 'statement> !Send for ReaderRow<'row, 'statement>
impl<'row, 'statement> !Sync for ReaderRow<'row, 'statement>
impl<'row, 'statement> !UnwindSafe for ReaderRow<'row, 'statement>
impl<'row, 'statement> Freeze for ReaderRow<'row, 'statement>
impl<'row, 'statement> Unpin for ReaderRow<'row, 'statement>
impl<'row, 'statement> UnsafeUnpin for ReaderRow<'row, 'statement>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more