pub trait RowLockScopeSource<S: Clone>: Sync {
// Required methods
fn production_resources(&self) -> Result<OwnedProductionControl, SQLError>;
fn current_routine_scope(&self) -> Result<CteScope<S>, SQLError>;
fn transition_relation_names_with_control(
&self,
control: &ProductionControl<'_>,
) -> Result<BindingNameSet, SQLError>;
}Required Methods§
fn production_resources(&self) -> Result<OwnedProductionControl, SQLError>
fn current_routine_scope(&self) -> Result<CteScope<S>, SQLError>
fn transition_relation_names_with_control( &self, control: &ProductionControl<'_>, ) -> Result<BindingNameSet, SQLError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".