Struct chainseeker_server::db::rich_list::RichList [−][src]
pub struct RichList { /* fields omitted */ }
Implementations
impl RichList
[src]
impl RichList
[src]pub fn new() -> Self
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn len(&self) -> usize
[src]
pub fn capacity(&self) -> usize
[src]
pub fn size(&self) -> usize
[src]
pub fn shrink_to_fit(&mut self)
[src]
pub fn push(&mut self, utxo: &UtxoEntry)
[src]
pub fn remove(&mut self, script_pubkey: &Script, value: u64)
[src]
pub fn get_index_of(&self, script_pubkey: &Script) -> Option<usize>
[src]
pub fn get_in_range_as_rest(
&self,
range: Range<usize>,
config: &Config
) -> Vec<Option<RichListEntry>>
[src]
&self,
range: Range<usize>,
config: &Config
) -> Vec<Option<RichListEntry>>
pub fn process_block(&mut self, block: &Block, previous_utxos: &[UtxoEntry])
[src]
pub fn finalize(&mut self)
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RichList
impl Send for RichList
impl Sync for RichList
impl Unpin for RichList
impl UnwindSafe for RichList
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]