[][src]Enum web_glitz::runtime::Execution

pub enum Execution<O> {
    Ready(Option<O>),
    Pending(Receiver<O>),
}

Returned from RenderingContext::submit, future result of the GpuTask that was submitted that will resolve when the task finishes executing.

See RenderingContext::submit.

Variants

Ready(Option<O>)

Variant returned when the task finished immediately upon submission.

Pending(Receiver<O>)

Variant returned when the task did not finish immediately upon submission.

Trait Implementations

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

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

impl<O> Future for Execution<O>[src]

type Output = O

The type of value produced on completion.

Auto Trait Implementations

impl<O> Send for Execution<O> where
    O: Send

impl<O> Unpin for Execution<O> where
    O: Unpin

impl<O> Sync for Execution<O> where
    O: Send + Sync

impl<O> !UnwindSafe for Execution<O>

impl<O> !RefUnwindSafe for Execution<O>

Blanket Implementations

impl<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[src]

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

impl<T> From<T> for 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<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]

impl<Fut> TryFutureExt for Fut where
    Fut: TryFuture + ?Sized
[src]