pub async fn invoke(&self, inv: &Invocation) -> InvocationResponse {
        match self.addr.send(inv.clone()).await {
            Ok(ir) => ir,
            Err(e) => InvocationResponse::error(&inv, "Mailbox error calling invocation"),
        }
    }
/// Use this function to send an invocation through the host's message bus, which
/// could potentially become a remote procedure call. Typically this function is called
/// in response to receiving a serialized invocation on a given target's RPC subscription
/// topic
Use this function to send an invocation through the host's message bus, which
could potentially become a remote procedure call. Typically this function is called
in response to receiving a serialized invocation on a given target's RPC subscription
topic
Use this function to send an invocation through the host ' s message bus which could potentially become a remote procedure call . Typically this function is called in response to receiving a serialized invocation on a given target ' s RPC subscription topic
pub async fn invoke(&self, inv: &Invocation) -> InvocationResponse {
        match self.addr.send(inv.clone()).await {
            Ok(ir) => ir,
            Err(e) => InvocationResponse::error(&inv, "Mailbox error calling invocation"),
        }
    }
pub async fn invoke ( & self , inv : & Invocation ) -> InvocationResponse { match self . addr . send ( inv . clone ( ) ) . await { Ok ( ir ) => ir , Err ( e ) => InvocationResponse :: error ( & inv , " " ) , } }
Use this function to send an invocation through the host's message bus, which
could potentially become a remote procedure call.
Use this function to send an invocation through the host ' s message bus which could potentially become a remote procedure call .
&self
inv
&Invocation
&self
inv
&Invocation