pub struct Cursor<'query, 'connection: 'query, 'd: 'connection, R, Q: TypedQuery, P = (), I = Empty>where
I: HasQuery<Q> + Catalog,{ /* private fields */ }Expand description
A bounded row scan tied to the connection or transaction that issued it. Borrowed rows are valid only for one visitor invocation and cannot be retained by a later invocation.
Implementations§
Auto Trait Implementations§
impl<'query, 'connection, 'd, R, Q, P = (), I = Empty> !RefUnwindSafe for Cursor<'query, 'connection, 'd, R, Q, P, I>
impl<'query, 'connection, 'd, R, Q, P = (), I = Empty> !Send for Cursor<'query, 'connection, 'd, R, Q, P, I>
impl<'query, 'connection, 'd, R, Q, P = (), I = Empty> !Sync for Cursor<'query, 'connection, 'd, R, Q, P, I>
impl<'query, 'connection, 'd, R, Q, P = (), I = Empty> !UnwindSafe for Cursor<'query, 'connection, 'd, R, Q, P, I>
impl<'query, 'connection, 'd, R, Q, P, I> Freeze for Cursor<'query, 'connection, 'd, R, Q, P, I>where
Machine<'query, 'connection, 'd, I, P, Statement<I, Q>>: Freeze,
PhantomData<fn() -> R>: Freeze,
impl<'query, 'connection, 'd, R, Q, P, I> Unpin for Cursor<'query, 'connection, 'd, R, Q, P, I>where
Machine<'query, 'connection, 'd, I, P, Statement<I, Q>>: Unpin,
PhantomData<fn() -> R>: Unpin,
impl<'query, 'connection, 'd, R, Q, P, I> UnsafeUnpin for Cursor<'query, 'connection, 'd, R, Q, P, I>where
Machine<'query, 'connection, 'd, I, P, Statement<I, Q>>: UnsafeUnpin,
PhantomData<fn() -> R>: UnsafeUnpin,
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