pub enum Cursor {
BTree(Box<dyn CursorTrait>),
IndexMethod(Box<dyn IndexMethodCursor>),
Pseudo(Box<PseudoCursor>),
Sorter(Box<Sorter>),
Virtual(VirtualTableCursor),
MaterializedView(Box<MaterializedViewCursor>),
}Variants§
BTree(Box<dyn CursorTrait>)
IndexMethod(Box<dyn IndexMethodCursor>)
Pseudo(Box<PseudoCursor>)
Sorter(Box<Sorter>)
Virtual(VirtualTableCursor)
MaterializedView(Box<MaterializedViewCursor>)
Implementations§
Source§impl Cursor
impl Cursor
pub fn new_btree(cursor: Box<dyn CursorTrait>) -> Self
pub fn new_pseudo(cursor: PseudoCursor) -> Self
pub fn new_sorter(cursor: Sorter) -> Self
pub fn new_materialized_view(cursor: MaterializedViewCursor) -> Self
pub fn as_btree_mut(&mut self) -> &mut dyn CursorTrait
pub fn as_pseudo_mut(&mut self) -> &mut PseudoCursor
pub fn as_sorter_mut(&mut self) -> &mut Sorter
pub fn as_virtual_mut(&mut self) -> &mut VirtualTableCursor
pub fn as_materialized_view_mut(&mut self) -> &mut MaterializedViewCursor
pub fn as_index_method_mut(&mut self) -> &mut dyn IndexMethodCursor
Sourcepub fn set_null_flag(&mut self, flag: bool)
pub fn set_null_flag(&mut self, flag: bool)
Move the cursor to a synthetic null row. See [Insn::NullRow]
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Cursor
impl !Send for Cursor
impl !Sync for Cursor
impl !UnwindSafe for Cursor
impl Freeze for Cursor
impl Unpin for Cursor
impl UnsafeUnpin for Cursor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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