Enum Tables
pub enum Tables {
Show 31 variants
CanonicalHeaders,
HeaderTerminalDifficulties,
HeaderNumbers,
Headers,
BlockBodyIndices,
BlockOmmers,
BlockWithdrawals,
BlockAccessLists,
BlockAccessListBlockNumbers,
Transactions,
TransactionHashNumbers,
TransactionBlocks,
Receipts,
Bytecodes,
PlainAccountState,
PlainStorageState,
AccountsHistory,
StoragesHistory,
AccountChangeSets,
StorageChangeSets,
HashedAccounts,
HashedStorages,
AccountsTrie,
StoragesTrie,
TransactionSenders,
StageCheckpoints,
StageCheckpointProgresses,
PruneCheckpoints,
VersionHistory,
ChainState,
Metadata,
}Expand description
A table in the database.
Variants§
CanonicalHeaders
The CanonicalHeaders database table.
HeaderTerminalDifficulties
The HeaderTerminalDifficulties database table.
HeaderNumbers
The HeaderNumbers database table.
Headers
The Headers database table.
BlockBodyIndices
The BlockBodyIndices database table.
BlockOmmers
The BlockOmmers database table.
BlockWithdrawals
The BlockWithdrawals database table.
BlockAccessLists
The BlockAccessLists database table.
BlockAccessListBlockNumbers
The BlockAccessListBlockNumbers database table.
Transactions
The Transactions database table.
TransactionHashNumbers
The TransactionHashNumbers database table.
TransactionBlocks
The TransactionBlocks database table.
Receipts
The Receipts database table.
Bytecodes
The Bytecodes database table.
PlainAccountState
The PlainAccountState database table.
PlainStorageState
The PlainStorageState database table.
AccountsHistory
The AccountsHistory database table.
StoragesHistory
The StoragesHistory database table.
AccountChangeSets
The AccountChangeSets database table.
StorageChangeSets
The StorageChangeSets database table.
HashedAccounts
The HashedAccounts database table.
HashedStorages
The HashedStorages database table.
AccountsTrie
The AccountsTrie database table.
StoragesTrie
The StoragesTrie database table.
TransactionSenders
The TransactionSenders database table.
StageCheckpoints
The StageCheckpoints database table.
StageCheckpointProgresses
The StageCheckpointProgresses database table.
PruneCheckpoints
The PruneCheckpoints database table.
VersionHistory
The VersionHistory database table.
ChainState
The ChainState database table.
Metadata
The Metadata database table.
Implementations§
§impl Tables
impl Tables
pub const fn is_dupsort(&self) -> bool
pub const fn is_dupsort(&self) -> bool
Returns true if the table is a DUPSORT table.
pub const fn table_type(&self) -> TableType
pub const fn table_type(&self) -> TableType
The type of the given table in database.
pub fn view<T, R>(&self, visitor: &T) -> Result<R, <T as TableViewer<R>>::Error>where
T: TableViewer<R> + ?Sized,
pub fn view<T, R>(&self, visitor: &T) -> Result<R, <T as TableViewer<R>>::Error>where
T: TableViewer<R> + ?Sized,
Allows to operate on specific table type
Trait Implementations§
impl Copy for Tables
impl Eq for Tables
impl StructuralPartialEq for Tables
Auto Trait Implementations§
impl Freeze for Tables
impl RefUnwindSafe for Tables
impl Send for Tables
impl Sync for Tables
impl Unpin for Tables
impl UnsafeUnpin for Tables
impl UnwindSafe for Tables
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> MaybeDebug for Twhere
T: Debug,
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
CanonicalHeaders: 0 bytesHeaderTerminalDifficulties: 0 bytesHeaderNumbers: 0 bytesHeaders: 0 bytesBlockBodyIndices: 0 bytesBlockOmmers: 0 bytesBlockWithdrawals: 0 bytesBlockAccessLists: 0 bytesBlockAccessListBlockNumbers: 0 bytesTransactions: 0 bytesTransactionHashNumbers: 0 bytesTransactionBlocks: 0 bytesReceipts: 0 bytesBytecodes: 0 bytesPlainAccountState: 0 bytesPlainStorageState: 0 bytesAccountsHistory: 0 bytesStoragesHistory: 0 bytesAccountChangeSets: 0 bytesStorageChangeSets: 0 bytesHashedAccounts: 0 bytesHashedStorages: 0 bytesAccountsTrie: 0 bytesStoragesTrie: 0 bytesTransactionSenders: 0 bytesStageCheckpoints: 0 bytesStageCheckpointProgresses: 0 bytesPruneCheckpoints: 0 bytesVersionHistory: 0 bytesChainState: 0 bytesMetadata: 0 bytes