pub struct StdioResponse {
pub status: i32,
pub payload: Vec<u8>,
}Expand description
A response envelope, using the component ABI’s integer status codes.
Fields§
§status: i32§payload: Vec<u8>Trait Implementations§
Source§impl Debug for StdioResponse
impl Debug for StdioResponse
Source§impl<'de> Deserialize<'de> for StdioResponse
impl<'de> Deserialize<'de> for StdioResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for StdioResponse
impl Freeze for StdioResponse
impl Move for StdioResponse
impl RefUnwindSafe for StdioResponse
impl Send for StdioResponse
impl Sync for StdioResponse
impl Unpin for StdioResponse
impl UnsafeUnpin for StdioResponse
impl UnwindSafe for StdioResponse
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