pub struct LibsqlRows { /* private fields */ }Expand description
A set of rows returned from a connection.
Implementations§
Source§impl Rows
impl Rows
Sourcepub async fn next(&mut self) -> Result<Option<Row>, Error>
pub async fn next(&mut self) -> Result<Option<Row>, Error>
Get the next Row returning an error if it failed and
None if there are no more rows.
Sourcepub fn column_count(&self) -> i32
pub fn column_count(&self) -> i32
Get the count of columns in this set of rows.
Sourcepub fn column_name(&self, idx: i32) -> Option<&str>
pub fn column_name(&self, idx: i32) -> Option<&str>
Fetch the name of the column for the provided column index.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rows
impl !RefUnwindSafe for Rows
impl Send for Rows
impl Sync for Rows
impl Unpin for Rows
impl !UnwindSafe for Rows
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