[−][src]Struct ckb_indexer::DefaultIndexerStore
Implementations
impl DefaultIndexerStore
[src]
pub fn new(config: &IndexerConfig, shared: Shared) -> Self
[src]
pub fn start<S: ToString>(self, thread_name: Option<S>)
[src]
pub fn sync_index_states(&self)
[src]
Trait Implementations
impl Clone for DefaultIndexerStore
[src]
fn clone(&self) -> DefaultIndexerStore
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl IndexerStore for DefaultIndexerStore
[src]
fn get_live_cells(
&self,
lock_hash: &Byte32,
skip_num: usize,
take_num: usize,
reverse_order: bool
) -> Vec<LiveCell>
[src]
&self,
lock_hash: &Byte32,
skip_num: usize,
take_num: usize,
reverse_order: bool
) -> Vec<LiveCell>
fn get_transactions(
&self,
lock_hash: &Byte32,
skip_num: usize,
take_num: usize,
reverse_order: bool
) -> Vec<CellTransaction>
[src]
&self,
lock_hash: &Byte32,
skip_num: usize,
take_num: usize,
reverse_order: bool
) -> Vec<CellTransaction>
fn get_lock_hash_index_states(&self) -> HashMap<Byte32, LockHashIndexState>
[src]
fn get_capacity(&self, lock_hash: &Byte32) -> Option<LockHashCapacity>
[src]
fn insert_lock_hash(
&self,
lock_hash: &Byte32,
index_from: Option<BlockNumber>
) -> LockHashIndexState
[src]
&self,
lock_hash: &Byte32,
index_from: Option<BlockNumber>
) -> LockHashIndexState
fn remove_lock_hash(&self, lock_hash: &Byte32)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for DefaultIndexerStore
impl Send for DefaultIndexerStore
impl Sync for DefaultIndexerStore
impl Unpin for DefaultIndexerStore
impl !UnwindSafe for DefaultIndexerStore
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,