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
impl<'de> Deserialize<'de> for Topic
[src]
impl<'de> Deserialize<'de> for Topic
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Copy for Topic
[src]
impl Eq for Topic
[src]
impl StructuralEq for Topic
[src]
impl StructuralPartialEq for Topic
[src]
Auto Trait Implementations
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,