pub trait IntoReq<M: Message> {
    fn into_req(self) -> Result<Req<M>, Error>;
    fn into_req_local(self) -> Req<M>;
}
Expand description

IntoReq<M> represents any object that can be transformed into Req<M>

Required Methods

Transform the object into a Req<M>, serializing the message M to be sent to remote nodes

Transform the object into a Req<M>, skipping the serialization of message M, in the case we are not sending this RPC message to a remote node

Implementors