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

Send a batch request to the server.

Notification(String)

Send a notification to the server.

Send a request to the server.

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

impl Debug for FrontToBack[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.