[][src]Struct async_executors::Bindgen

pub struct Bindgen;
This is supported on feature="bindgen" and WebAssembly only.

A type that implements Spawn, LocalSpawn, SpawnHandle and LocalSpawnHandle. Spawns on the wasm-bingen-futures executor. The executor is global, eg. not self contained and zero sized.

Implementations

impl Bindgen[src]

pub fn new() -> Self[src]

Create a new Bindgen wrapper, forwards to Default::default.

Trait Implementations

impl Clone for Bindgen[src]

impl Copy for Bindgen[src]

impl Debug for Bindgen[src]

impl Default for Bindgen[src]

impl LocalSpawn for Bindgen[src]

impl<Out: 'static> LocalSpawnHandle<Out> for Bindgen[src]

impl Spawn for Bindgen[src]

impl<Out: 'static + Send> SpawnHandle<Out> for Bindgen[src]

Auto Trait Implementations

impl RefUnwindSafe for Bindgen

impl Send for Bindgen

impl Sync for Bindgen

impl Unpin for Bindgen

impl UnwindSafe for Bindgen

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> Instrument for T[src]

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

impl<Sp> LocalSpawnExt for Sp where
    Sp: LocalSpawn + ?Sized
[src]

impl<Sp> SpawnExt for Sp where
    Sp: Spawn + ?Sized
[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.

impl<T> WithSubscriber for T[src]