pub struct HostPromise(pub u32);Expand description
a host promise awaited by the rust code
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Future for HostPromise
impl Future for HostPromise
Auto Trait Implementations§
impl Forget for HostPromise
impl Freeze for HostPromise
impl Move for HostPromise
impl RefUnwindSafe for HostPromise
impl Send for HostPromise
impl Sync for HostPromise
impl Unpin for HostPromise
impl UnsafeUnpin for HostPromise
impl UnwindSafe for HostPromise
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