Struct jsonrpc_core::io::AsyncStringResponse [] [src]

pub struct AsyncStringResponse {
    // some fields omitted
}

Asynchronous string response

Methods

impl AsyncStringResponse
[src]

Adds closure to be invoked when result is available. Callback is invoked right away if result is instantly available and true is returned. false is returned when listener has been added

Blocks current thread and awaits for a result.

Trait Implementations

impl Debug for AsyncStringResponse
[src]

Formats the value using the given formatter.

impl From<Response> for AsyncStringResponse
[src]

Performs the conversion.