pub trait AsHummock: Send + Sync {
// Required method
fn as_hummock(&self) -> Option<&HummockStorage>;
// Provided method
fn sync(
&self,
sync_table_epochs: Vec<(HummockEpoch, HashSet<TableId>)>,
) -> BoxFuture<'_, StorageResult<SyncResult>> { ... }
}Required Methods§
fn as_hummock(&self) -> Option<&HummockStorage>
Provided Methods§
fn sync( &self, sync_table_epochs: Vec<(HummockEpoch, HashSet<TableId>)>, ) -> BoxFuture<'_, StorageResult<SyncResult>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".