pub struct CallFuture<'m, 'a> { /* private fields */ }Expand description
Represents a future that resolves to the result of an inter-canister call.
This type is returned by IntoFuture::into_future when called on a Call.
The Call type implements the IntoFuture trait, allowing it to be converted
into a CallFuture. The future can be awaited to retrieve the result of the call.
Trait Implementations§
Source§impl<'m, 'a> Debug for CallFuture<'m, 'a>
impl<'m, 'a> Debug for CallFuture<'m, 'a>
Source§impl Drop for CallFuture<'_, '_>
impl Drop for CallFuture<'_, '_>
Source§impl Future for CallFuture<'_, '_>
impl Future for CallFuture<'_, '_>
Auto Trait Implementations§
impl<'m, 'a> Freeze for CallFuture<'m, 'a>
impl<'m, 'a> RefUnwindSafe for CallFuture<'m, 'a>
impl<'m, 'a> Send for CallFuture<'m, 'a>
impl<'m, 'a> Sync for CallFuture<'m, 'a>
impl<'m, 'a> Unpin for CallFuture<'m, 'a>
impl<'m, 'a> UnwindSafe for CallFuture<'m, 'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more