Struct wasmcloud_core::InvocationResponse
source · pub struct InvocationResponse {
pub msg: Vec<u8>,
pub invocation_id: String,
pub error: Option<String>,
pub content_length: u64,
pub trace_context: TraceContext,
}
Expand description
Response to an invocation
Fields§
§msg: Vec<u8>
serialize response message
invocation_id: String
id connecting this response to the invocation
error: Option<String>
optional error message
content_length: u64
total message size
trace_context: TraceContext
Trait Implementations§
source§impl Clone for InvocationResponse
impl Clone for InvocationResponse
source§fn clone(&self) -> InvocationResponse
fn clone(&self) -> InvocationResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InvocationResponse
impl Debug for InvocationResponse
source§impl Default for InvocationResponse
impl Default for InvocationResponse
source§fn default() -> InvocationResponse
fn default() -> InvocationResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InvocationResponse
impl<'de> Deserialize<'de> for InvocationResponse
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 RefUnwindSafe for InvocationResponse
impl Send for InvocationResponse
impl Sync for InvocationResponse
impl Unpin for InvocationResponse
impl UnwindSafe for InvocationResponse
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