pub struct InvocationResult {
pub result: Option<TypedSchemaValue>,
pub stdout: Option<RawStreamReader<&'static StreamVtable<u8>>>,
pub stderr: Option<RawStreamReader<&'static StreamVtable<u8>>>,
}Expand description
Invocation contract — shared between guest and host. Both attachment fields must be absent: output bytes use the writers supplied to the guest.
Fields§
§result: Option<TypedSchemaValue>§stdout: Option<RawStreamReader<&'static StreamVtable<u8>>>§stderr: Option<RawStreamReader<&'static StreamVtable<u8>>>Trait Implementations§
Auto Trait Implementations§
impl !Freeze for InvocationResult
impl RefUnwindSafe for InvocationResult
impl Send for InvocationResult
impl Sync for InvocationResult
impl Unpin for InvocationResult
impl UnsafeUnpin for InvocationResult
impl UnwindSafe for InvocationResult
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