Trait capnp_rpc::IncomingMessage

source ·
pub trait IncomingMessage {
    // Required method
    fn get_body(&self) -> Result<Reader<'_>>;
}
Expand description

A message received from a VatNetwork.

Required Methods§

source

fn get_body(&self) -> Result<Reader<'_>>

Gets the message body, to be interpreted by the caller.

The standard RPC implementation interprets it as a Message as defined in schema/rpc.capnp.

Implementors§