Trait solana_runtime::secondary_index::SecondaryIndexEntry[][src]

pub trait SecondaryIndexEntry: Debug {
    fn insert_if_not_exists(&self, key: &Pubkey, inner_keys_count: &AtomicU64);
fn remove_inner_key(&self, key: &Pubkey) -> bool;
fn is_empty(&self) -> bool;
fn keys(&self) -> Vec<Pubkey>;
fn len(&self) -> usize; }

Required methods

fn insert_if_not_exists(&self, key: &Pubkey, inner_keys_count: &AtomicU64)[src]

fn remove_inner_key(&self, key: &Pubkey) -> bool[src]

fn is_empty(&self) -> bool[src]

fn keys(&self) -> Vec<Pubkey>[src]

fn len(&self) -> usize[src]

Implementors

impl SecondaryIndexEntry for DashMapSecondaryIndexEntry[src]

fn insert_if_not_exists(&self, key: &Pubkey, inner_keys_count: &AtomicU64)[src]

fn remove_inner_key(&self, key: &Pubkey) -> bool[src]

fn is_empty(&self) -> bool[src]

fn keys(&self) -> Vec<Pubkey>[src]

fn len(&self) -> usize[src]

impl SecondaryIndexEntry for RwLockSecondaryIndexEntry[src]

fn insert_if_not_exists(&self, key: &Pubkey, inner_keys_count: &AtomicU64)[src]

fn remove_inner_key(&self, key: &Pubkey) -> bool[src]

fn is_empty(&self) -> bool[src]

fn keys(&self) -> Vec<Pubkey>[src]

fn len(&self) -> usize[src]