Struct wasmcloud_core::wrpc::InvocationWithHeaders
source · pub struct InvocationWithHeaders { /* private fields */ }
Expand description
Wrapper around wrpc_transport_nats::Invocation that includes a async_nats::HeaderMap for passing invocation and trace context.
Trait Implementations§
source§impl Invocation for InvocationWithHeaders
impl Invocation for InvocationWithHeaders
type Transmission = Transmission
type TransmissionFailed = Box<dyn Future<Output = ()> + Send + Unpin>
async fn invoke( self, instance: &str, name: &str, params: impl Encode ) -> Result<(Self::Transmission, Self::TransmissionFailed)>
Auto Trait Implementations§
impl !Freeze for InvocationWithHeaders
impl !RefUnwindSafe for InvocationWithHeaders
impl Send for InvocationWithHeaders
impl Sync for InvocationWithHeaders
impl Unpin for InvocationWithHeaders
impl !UnwindSafe for InvocationWithHeaders
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