Enum jsonrpc_pubsub::SubscriptionId [−][src]
Expand description
Unique subscription id.
NOTE Assigning same id to different requests will cause the previous request to be unsubscribed.
Variants
Number(u64)A numerical ID, represented by a u64.
Tuple Fields of Number
0: u64String(String)A non-numerical ID, for example a hash.
Tuple Fields of String
0: StringImplementations
Parses core::Value into unique subscription id.
Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SubscriptionId
impl Send for SubscriptionId
impl Sync for SubscriptionId
impl Unpin for SubscriptionId
impl UnwindSafe for SubscriptionId
Blanket Implementations
Mutably borrows from an owned value. Read more