[][src]Enum smithy_types::PromiseState

pub enum PromiseState<S, E> {
    Pending,
    Success(S),
    Error(E),
}

An enum representing the three states of a Javascript promise.

Variants

Auto Trait Implementations

impl<S, E> Send for PromiseState<S, E> where
    E: Send,
    S: Send

impl<S, E> Sync for PromiseState<S, E> where
    E: Sync,
    S: Sync

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 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]

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

The type returned in the event of a conversion error.

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

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