#[repr(C)]pub enum StepResult {
Error = 0,
Row = 1,
Done = 2,
Interrupt = 3,
Busy = 4,
}Expand description
StepResult is used to represent the state of a query as it is exposed to the public API of a connection in a virtual table extension. the IO variant is always handled internally and therefore is not included here.
Variants§
Trait Implementations§
Source§impl Clone for StepResult
impl Clone for StepResult
Source§fn clone(&self) -> StepResult
fn clone(&self) -> StepResult
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 moreimpl Copy for StepResult
Source§impl Debug for StepResult
impl Debug for StepResult
impl Eq for StepResult
Source§impl From<ResultCode> for StepResult
impl From<ResultCode> for StepResult
Source§fn from(code: ResultCode) -> Self
fn from(code: ResultCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StepResult
impl PartialEq for StepResult
Source§fn eq(&self, other: &StepResult) -> bool
fn eq(&self, other: &StepResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StepResult
Auto Trait Implementations§
impl Freeze for StepResult
impl RefUnwindSafe for StepResult
impl Send for StepResult
impl Sync for StepResult
impl Unpin for StepResult
impl UnsafeUnpin for StepResult
impl UnwindSafe for StepResult
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