Enum ckb_jsonrpc_types::Topic [−][src]
pub enum Topic {
NewTipHeader,
NewTipBlock,
NewTransaction,
ProposedTransaction,
RejectedTransaction,
}
Expand description
Specifies the topic which to be added as active subscription.
Variants
Subscribe new tip headers.
Subscribe new tip blocks.
Subscribe new transactions which are submitted to the pool.
Subscribe in-pool transactions which proposed on chain.
Subscribe transactions which are abandoned by tx-pool.
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
Auto Trait Implementations
impl RefUnwindSafe for Topic
impl UnwindSafe for Topic
Blanket Implementations
Mutably borrows from an owned value. Read more