Enum jsonrpc_server_utils::reactor::UninitializedRemote
[−]
[src]
pub enum UninitializedRemote { Shared(Remote), Unspawned, }
Possibly uninitialized event loop remote.
Variants
Shared instance of remote.
Unspawned
Event Loop should be spawned by the transport.
Methods
impl UninitializedRemote
[src]
fn initialize(self) -> Result<Remote>
Initializes remote.
In case there is no shared remote, will spawn a new event loop.
Dropping Remote
closes the loop.
fn init_with_name<T: Into<String>>(self, name: T) -> Result<Remote>
Initializes remote.
In case there is no shared remote, will spawn a new event loop.
Dropping Remote
closes the loop.