Struct solana_client::rpc_cache::LargestAccountsCache [−][src]
pub struct LargestAccountsCache { /* fields omitted */ }
Implementations
pub fn get_largest_accounts(
&self,
filter: &Option<RpcLargestAccountsFilter>
) -> Option<(u64, Vec<RpcAccountBalance>)>
pub fn set_largest_accounts(
&mut self,
filter: &Option<RpcLargestAccountsFilter>,
slot: u64,
accounts: &[RpcAccountBalance]
)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LargestAccountsCache
impl Send for LargestAccountsCache
impl Sync for LargestAccountsCache
impl Unpin for LargestAccountsCache
impl UnwindSafe for LargestAccountsCache
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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