[][src]Struct smithy_types::UnwrappedPromise

pub struct UnwrappedPromise<S, E> { /* fields omitted */ }

A wrapper around a future that can easily be rendered with a match statement.

It is used by Smithy to create promises that also cause smithy to re-render when they are completed.

Methods

impl<S: 'static, E: 'static> UnwrappedPromise<S, E>
[src]

Methods from Deref<Target = Rc<RefCell<PromiseState<S, E>>>>

Trait Implementations

impl<S, E> Deref for UnwrappedPromise<S, E>
[src]

The resulting type after dereferencing.

Auto Trait Implementations

impl<S, E> !Send for UnwrappedPromise<S, E>

impl<S, E> !Sync for UnwrappedPromise<S, E>

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]