pub trait SyncStore {
type Tx<'a>: SyncStoreTx
where Self: 'a;
// Required method
fn transaction<T>(
&mut self,
f: impl FnOnce(&mut Self::Tx<'_>) -> Result<T>,
) -> Result<T>;
// Provided methods
fn supports_sqlite_snapshot_artifacts(&self) -> bool { ... }
fn decode_sqlite_snapshot_artifact_rows(
&self,
_table: &str,
_artifact_bytes: &[u8],
) -> Result<Vec<Value>> { ... }
}Required Associated Types§
type Tx<'a>: SyncStoreTx where Self: 'a
Required Methods§
Provided Methods§
fn supports_sqlite_snapshot_artifacts(&self) -> bool
fn decode_sqlite_snapshot_artifact_rows( &self, _table: &str, _artifact_bytes: &[u8], ) -> Result<Vec<Value>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".