Enum ckb_index::IndexKey[][src]

pub enum IndexKey {
Show 20 variants GenesisHash, Network, LastHeader, TotalCapacity, GlobalHash(H256), TxMap(H256), RecentHeader(u64), BlockDelta(u64), LiveCellMap(OutPoint), LiveCellIndex(u64CellIndex), LockScript(H256), LockTotalCapacity(H256), LockTotalCapacityIndex(u64, H256), LockLiveCellIndexPrefix(H256, Option<u64>), LockLiveCellIndex(H256, u64CellIndex), LockTx(H256, u64u32), TypeLiveCellIndexPrefix(H256, Option<u64>), TypeLiveCellIndex(H256, u64CellIndex), CodeLiveCellIndexPrefix(H256, Option<u64>), CodeLiveCellIndex(H256, u64CellIndex),
}

Variants

GenesisHash
Network
LastHeader
TotalCapacity
GlobalHash(H256)

Tuple Fields of GlobalHash

0: H256
TxMap(H256)

Tuple Fields of TxMap

0: H256
RecentHeader(u64)

Tuple Fields of RecentHeader

0: u64
BlockDelta(u64)

Tuple Fields of BlockDelta

0: u64
LiveCellMap(OutPoint)

Tuple Fields of LiveCellMap

0: OutPoint
LiveCellIndex(u64CellIndex)

Tuple Fields of LiveCellIndex

0: u641: CellIndex
LockScript(H256)

Tuple Fields of LockScript

0: H256
LockTotalCapacity(H256)

Tuple Fields of LockTotalCapacity

0: H256
LockTotalCapacityIndex(u64, H256)

Tuple Fields of LockTotalCapacityIndex

0: u641: H256
LockLiveCellIndexPrefix(H256, Option<u64>)

Tuple Fields of LockLiveCellIndexPrefix

0: H2561: Option<u64>
LockLiveCellIndex(H256, u64CellIndex)

Tuple Fields of LockLiveCellIndex

0: H2561: u642: CellIndex
LockTx(H256, u64u32)

Tuple Fields of LockTx

0: H2561: u642: u32
TypeLiveCellIndexPrefix(H256, Option<u64>)

Tuple Fields of TypeLiveCellIndexPrefix

0: H2561: Option<u64>
TypeLiveCellIndex(H256, u64CellIndex)

Tuple Fields of TypeLiveCellIndex

0: H2561: u642: CellIndex
CodeLiveCellIndexPrefix(H256, Option<u64>)

Tuple Fields of CodeLiveCellIndexPrefix

0: H2561: Option<u64>
CodeLiveCellIndex(H256, u64CellIndex)

Tuple Fields of CodeLiveCellIndex

0: H2561: u642: CellIndex

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

TODO(doc): @quake

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

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