pub enum Progress {
PollAgain(StatementHandle),
FetchPartition {
handle: StatementHandle,
partition: u32,
},
Complete(CompletedStatement),
TimedOut(QueryFailureStatus),
Failed(QueryFailureStatus),
}Expand description
The next step a caller should take after feeding the machine a response.
Variants§
PollAgain(StatementHandle)
Poll this handle again (the statement is still running).
FetchPartition
Fetch this result partition next (multi-partition assembly in progress).
Fields
§
handle: StatementHandleThe statement handle to fetch from.
Complete(CompletedStatement)
The statement completed and all partitions are assembled.
TimedOut(QueryFailureStatus)
Terminal: the statement hit its server-side STATEMENT_TIMEOUT (408).
Failed(QueryFailureStatus)
Terminal: the statement failed to compile or execute (422).
Trait Implementations§
impl StructuralPartialEq for Progress
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).