pub trait StatementQueryContexts<S: Clone + 'static> {
// Required methods
fn statement_scope(
&self,
privilege_subject: Option<&RoleReference>,
) -> Result<CteScope<S>, SQLError>;
fn query_context(&self) -> QueryContext<'_, S>;
fn row_lock_context(&self) -> RowLockContext<'_, S>;
fn with_expression_context(
&self,
scope: &CteScope<S>,
params: &[SQLParam],
operation: &mut StatementExpressionOperation<'_>,
) -> Result<SQLResult, SQLError>;
}Required Methods§
fn statement_scope( &self, privilege_subject: Option<&RoleReference>, ) -> Result<CteScope<S>, SQLError>
fn query_context(&self) -> QueryContext<'_, S>
fn row_lock_context(&self) -> RowLockContext<'_, S>
fn with_expression_context( &self, scope: &CteScope<S>, params: &[SQLParam], operation: &mut StatementExpressionOperation<'_>, ) -> Result<SQLResult, SQLError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".