Enum solana_accountsdb_plugin_interface::accountsdb_plugin_interface::ReplicaAccountInfoVersions
source · [−]pub enum ReplicaAccountInfoVersions<'a> {
V0_0_1(&'a ReplicaAccountInfo<'a>),
}Expand description
A wrapper to future-proof ReplicaAccountInfo handling. If there were a change to the structure of ReplicaAccountInfo, there would be new enum entry for the newer version, forcing plugin implementations to handle the change.
Variants
V0_0_1(&'a ReplicaAccountInfo<'a>)
Auto Trait Implementations
impl<'a> RefUnwindSafe for ReplicaAccountInfoVersions<'a>
impl<'a> Send for ReplicaAccountInfoVersions<'a>
impl<'a> Sync for ReplicaAccountInfoVersions<'a>
impl<'a> Unpin for ReplicaAccountInfoVersions<'a>
impl<'a> UnwindSafe for ReplicaAccountInfoVersions<'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