[][src]Enum s_jsonrpc_server_utils::reactor::UninitializedRemote

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

Possibly uninitialized event loop remote.

Variants

Shared(Remote)

Shared instance of remote.

Unspawned

Event Loop should be spawned by the transport.

Methods

impl UninitializedRemote[src]

pub fn initialize(self) -> Result<Remote>[src]

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

pub fn init_with_name<T: Into<String>>(self, name: T) -> Result<Remote>[src]

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

Trait Implementations

impl Debug for UninitializedRemote[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> 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.

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

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

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

impl<T> Erased for T