Struct jsonrpc_core::async::AsyncOutput [] [src]

pub struct AsyncOutput {
    // some fields omitted
}

Asynchronous Output

Methods

impl AsyncOutput
[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 a result

Create new AsyncOutput given AsyncResult, Id and Version

Trait Implementations

impl Debug for AsyncOutput
[src]

Formats the value using the given formatter.