[][src]Enum context_coroutine::StartOutcome

pub enum StartOutcome<S: Sized + Deref<Target = Stack>, C: Coroutine> {
    WouldLikeToResume(C::YieldsStartedStackAndTypeSafeTransfer<S, C>),
    Complete(C::Complete),
}

Outcome of a coroutine's start.

Variants

WouldLikeToResume(C::YieldsStartedStackAndTypeSafeTransfer<S, C>)

Coroutine has returned an intermediate result and would to resume.

Complete(C::Complete)

Coroutine has completed.

Auto Trait Implementations

impl<S, C> Send for StartOutcome<S, C> where
    S: Send,
    <C as Coroutine>::Complete: Send,
    <C as Coroutine>::ResumeArguments: Send,
    <C as Coroutine>::Yields: Send

impl<S, C> !Sync for StartOutcome<S, C>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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