Enum ckb_cli_plugin_protocol::IndexerRequest [−][src]
pub enum IndexerRequest {
TipHeader,
LastHeader,
GetCapacity(H256),
LiveCells {
index: LiveCellIndexType,
hash: H256,
from_number: Option<u64>,
to_number: Option<u64>,
limit: u64,
},
TopN(u64),
IndexerInfo,
Any(Value),
}
Variants
Fields of LiveCells
TopN(u64)
Tuple Fields of TopN
0: u64
Any(Value)
Tuple Fields of Any
0: Value
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for IndexerRequest
impl Send for IndexerRequest
impl Sync for IndexerRequest
impl Unpin for IndexerRequest
impl UnwindSafe for IndexerRequest
Blanket Implementations
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