pub struct CanonTaskReturn<'a> {
pub result: Option<ComponentValType<'a>>,
pub opts: Vec<CanonOpt<'a>>,
}Available on crate feature
component-model only.Expand description
Information relating to the task.return intrinsic.
Fields§
§result: Option<ComponentValType<'a>>The type of the result which may be returned with this intrinsic.
opts: Vec<CanonOpt<'a>>The canonical options for storing values.
Trait Implementations§
Source§impl<'a> Debug for CanonTaskReturn<'a>
impl<'a> Debug for CanonTaskReturn<'a>
Auto Trait Implementations§
impl<'a> Freeze for CanonTaskReturn<'a>
impl<'a> RefUnwindSafe for CanonTaskReturn<'a>
impl<'a> Send for CanonTaskReturn<'a>
impl<'a> Sync for CanonTaskReturn<'a>
impl<'a> Unpin for CanonTaskReturn<'a>
impl<'a> UnwindSafe for CanonTaskReturn<'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