Enum solana_accountsdb_plugin_interface::accountsdb_plugin_interface::ReplicaAccountInfoVersions[][src]

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>)

Tuple Fields

0: &'a ReplicaAccountInfo<'a>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.