Struct wasmbus_rpc::core::InvocationResponse [−][src]
pub struct InvocationResponse { pub error: Option<String>, pub invocation_id: String, pub msg: Vec<u8>, }
Expand description
Response to an invocation
Fields
error: Option<String>
optional error message
invocation_id: String
id connecting this response to the invocation
msg: Vec<u8>
serialize response message
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InvocationResponse
impl Send for InvocationResponse
impl Sync for InvocationResponse
impl Unpin for InvocationResponse
impl UnwindSafe for InvocationResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self