pub struct VersionTable {
pub background: Arc<BackgroundRunner>,
pub block_ref_table: Arc<Table<BlockRefTable, TableShardedReplication>>,
}
Fields§
§background: Arc<BackgroundRunner>
§block_ref_table: Arc<Table<BlockRefTable, TableShardedReplication>>
Trait Implementations§
Source§impl TableSchema for VersionTable
impl TableSchema for VersionTable
type P = FixedBytes32
type S = EmptyKey
type E = Version
type Filter = ()
fn updated<'life0, 'async_trait>(
&'life0 self,
old: Option<Self::E>,
new: Option<Self::E>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn matches_filter(entry: &Self::E, _filter: &Self::Filter) -> bool
fn try_migrate(_bytes: &[u8]) -> Option<Self::E>
Auto Trait Implementations§
impl Freeze for VersionTable
impl !RefUnwindSafe for VersionTable
impl Send for VersionTable
impl Sync for VersionTable
impl Unpin for VersionTable
impl !UnwindSafe for VersionTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more