pub struct RegisteredSqlQuery { /* private fields */ }Implementations§
Source§impl RegisteredSqlQuery
impl RegisteredSqlQuery
pub fn id(&self) -> QueryId
pub fn control(&self) -> &ExecutionControl
pub fn phase(&self) -> SqlQueryPhase
pub fn status(&self) -> QueryStatus
pub fn set_sql_metadata(&self, sql: &str)
pub fn transition( &self, expected: SqlQueryPhase, next: SqlQueryPhase, ) -> Result<()>
pub fn enter_commit_critical(&self) -> Result<()>
pub fn exit_commit_critical(&self) -> Result<()>
pub fn begin_serialization(&self) -> Result<()>
pub fn mark_committed(&self)
pub fn begin_statement(&self, index: usize)
pub fn complete_statement(&self, index: usize)
pub fn complete_current_statement(&self)
pub fn request_cancel(&self, reason: CancellationReason) -> CancelOutcome
pub fn checkpoint(&self) -> Result<()>
pub fn complete(&self)
pub fn fail(&self)
Trait Implementations§
Source§impl Clone for RegisteredSqlQuery
impl Clone for RegisteredSqlQuery
Source§fn clone(&self) -> RegisteredSqlQuery
fn clone(&self) -> RegisteredSqlQuery
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 moreAuto Trait Implementations§
impl Freeze for RegisteredSqlQuery
impl RefUnwindSafe for RegisteredSqlQuery
impl Send for RegisteredSqlQuery
impl Sync for RegisteredSqlQuery
impl Unpin for RegisteredSqlQuery
impl UnsafeUnpin for RegisteredSqlQuery
impl UnwindSafe for RegisteredSqlQuery
Blanket Implementations§
impl<T> Allocation for T
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> 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