pub trait QuerySnapshots<S: Clone + 'static>: SnapshotSource<S> {
// Required method
fn with_snapshot(
&self,
snapshot: &S,
operation: &mut dyn ScopedQueryOperation<S>,
) -> Result<(), SQLError>;
}Required Methods§
fn with_snapshot( &self, snapshot: &S, operation: &mut dyn ScopedQueryOperation<S>, ) -> Result<(), SQLError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".