Enum jsonrpsee_http_client::FrontToBack [−][src]
pub enum FrontToBack { Batch(BatchMessage), Notification(String), Request(RequestMessage), Subscribe(SubscriptionMessage), SubscriptionClosed(SubscriptionId), }
Message that the Client can send to the background task.
Variants
Batch(BatchMessage)
Send a batch request to the server.
Notification(String)
Send a notification to the server.
Request(RequestMessage)
Send a request to the server.
Subscribe(SubscriptionMessage)
Send a subscription request to the server.
SubscriptionClosed(SubscriptionId)
When a subscription channel is closed, we send this message to the background task to mark it ready for garbage collection.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FrontToBack
impl !RefUnwindSafe for FrontToBack
impl Send for FrontToBack
impl Send for FrontToBack
impl Sync for FrontToBack
impl Sync for FrontToBack
impl Unpin for FrontToBack
impl Unpin for FrontToBack
impl !UnwindSafe for FrontToBack
impl !UnwindSafe for FrontToBack
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]