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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more