pub struct PreparedResult { /* private fields */ }Expand description
Immutable result made visible only after every range has cleaned up.
Implementations§
Source§impl PreparedResult
impl PreparedResult
pub fn columns(&self) -> &[ColumnInfo]
pub fn row_count(&self) -> usize
Sourcepub fn open_prepared_stream(&self) -> PreparedResultStream
pub fn open_prepared_stream(&self) -> PreparedResultStream
Open an independent read-only stream over the immutable result.
pub fn query_result(&self) -> QueryResult
Trait Implementations§
Source§impl Clone for PreparedResult
impl Clone for PreparedResult
Source§fn clone(&self) -> PreparedResult
fn clone(&self) -> PreparedResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreparedResult
impl Debug for PreparedResult
Source§impl PartialEq for PreparedResult
impl PartialEq for PreparedResult
impl StructuralPartialEq for PreparedResult
Auto Trait Implementations§
impl Freeze for PreparedResult
impl RefUnwindSafe for PreparedResult
impl Send for PreparedResult
impl Sync for PreparedResult
impl Unpin for PreparedResult
impl UnsafeUnpin for PreparedResult
impl UnwindSafe for PreparedResult
Blanket Implementations§
impl<T> Allocation for T
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