[−][src]Struct smithy::types::UnwrappedPromise
Methods
impl<S, E> UnwrappedPromise<S, E> where
E: 'static,
S: 'static,
[src]
E: 'static,
S: 'static,
pub fn new<impl Future- + 'static, impl Fn() + 'static>(
future: impl Future- + 'static,
callback: Option<impl Fn() + 'static>
) -> UnwrappedPromise<S, E> where
impl Fn() + 'static: 'static + Fn(),
impl Future- + 'static: 'static + Future<Item = S, Error = E>,
[src]
future: impl Future
callback: Option<impl Fn() + 'static>
) -> UnwrappedPromise<S, E> where
impl Fn() + 'static: 'static + Fn(),
impl Future
Methods from Deref<Target = Rc<RefCell<PromiseState<S, E>>>>
Trait Implementations
impl<S, E> Deref for UnwrappedPromise<S, E>
[src]
type Target = Rc<RefCell<PromiseState<S, E>>>
The resulting type after dereferencing.
fn deref(&self) -> &Rc<RefCell<PromiseState<S, E>>>
[src]
Auto Trait Implementations
impl<S, E> !Send for UnwrappedPromise<S, E>
impl<S, E> !Sync for UnwrappedPromise<S, E>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,