pub struct Future<'a> {
pub element: Option<Box<ComponentValType<'a>>>,
}Available on crate feature
component-model only.Expand description
A future type.
Fields§
§element: Option<Box<ComponentValType<'a>>>The element type of the future, if any.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Future<'a>
impl<'a> RefUnwindSafe for Future<'a>
impl<'a> Send for Future<'a>
impl<'a> Sync for Future<'a>
impl<'a> Unpin for Future<'a>
impl<'a> UnwindSafe for Future<'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