pub struct CursorExecutor;Expand description
Executor for cursor operations
Implementations§
Source§impl CursorExecutor
impl CursorExecutor
Sourcepub fn declare(
store: &mut CursorStore,
stmt: &DeclareCursorStmt,
) -> Result<(), ExecutorError>
pub fn declare( store: &mut CursorStore, stmt: &DeclareCursorStmt, ) -> Result<(), ExecutorError>
Execute DECLARE CURSOR statement
Sourcepub fn open(
store: &mut CursorStore,
stmt: &OpenCursorStmt,
db: &Database,
) -> Result<(), ExecutorError>
pub fn open( store: &mut CursorStore, stmt: &OpenCursorStmt, db: &Database, ) -> Result<(), ExecutorError>
Execute OPEN CURSOR statement
Sourcepub fn fetch(
store: &mut CursorStore,
stmt: &FetchStmt,
) -> Result<FetchResult, ExecutorError>
pub fn fetch( store: &mut CursorStore, stmt: &FetchStmt, ) -> Result<FetchResult, ExecutorError>
Execute FETCH statement
Sourcepub fn close(
store: &mut CursorStore,
stmt: &CloseCursorStmt,
) -> Result<(), ExecutorError>
pub fn close( store: &mut CursorStore, stmt: &CloseCursorStmt, ) -> Result<(), ExecutorError>
Execute CLOSE CURSOR statement
Auto Trait Implementations§
impl Freeze for CursorExecutor
impl RefUnwindSafe for CursorExecutor
impl Send for CursorExecutor
impl Sync for CursorExecutor
impl Unpin for CursorExecutor
impl UnwindSafe for CursorExecutor
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more