[][src]Enum async_runtime::RtConfig

pub enum RtConfig {
    Pool,
    Local,
}

The configuration for wich executor that should be used on this thread.

Variants

Pool

A threadpool. Currently juliex, but might change in the future.

Local

An executor that runs futures on the current thread, capable of running !Send futures. Currently uses futures::executor::LocalPool.

Trait Implementations

impl Clone for RtConfig[src]

impl Debug for RtConfig[src]

impl Default for RtConfig[src]

impl Eq for RtConfig[src]

impl Hash for RtConfig[src]

impl PartialEq<RtConfig> for RtConfig[src]

impl StructuralEq for RtConfig[src]

impl StructuralPartialEq for RtConfig[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.