Enum solana_accountsdb_plugin_interface::accountsdb_plugin_interface::ReplicaTransactionInfoVersions [−][src]
pub enum ReplicaTransactionInfoVersions<'a> {
V0_0_1(&'a ReplicaTransactionInfo<'a>),
}
Expand description
A wrapper to future-proof ReplicaTransactionInfo handling. If there were a change to the structure of ReplicaTransactionInfo, there would be new enum entry for the newer version, forcing plugin implementations to handle the change.
Variants
V0_0_1(&'a ReplicaTransactionInfo<'a>)
Tuple Fields
0: &'a ReplicaTransactionInfo<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ReplicaTransactionInfoVersions<'a>
impl<'a> Send for ReplicaTransactionInfoVersions<'a>
impl<'a> Sync for ReplicaTransactionInfoVersions<'a>
impl<'a> Unpin for ReplicaTransactionInfoVersions<'a>
impl<'a> UnwindSafe for ReplicaTransactionInfoVersions<'a>
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more