Skip to main content

SnapshotSource

Trait SnapshotSource 

Source
pub trait SnapshotSource<S: Clone + 'static> {
    // Required method
    fn capture(&self) -> Result<S, SQLError>;
}
Expand description

Select a read generation while keeping its owner alive only for the borrowed operation.

Required Methods§

Source

fn capture(&self) -> Result<S, SQLError>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§