Enum jsonrpc_server_utils::reactor::UninitializedRemote [] [src]

pub enum UninitializedRemote {
    Shared(Remote),
    Unspawned,
}

Possibly uninitialized event loop remote.

Variants

Shared instance of remote.

Event Loop should be spawned by the transport.

Methods

impl UninitializedRemote
[src]

Initializes remote. In case there is no shared remote, will spawn a new event loop. Dropping Remote closes the loop.

Initializes remote. In case there is no shared remote, will spawn a new event loop. Dropping Remote closes the loop.