Struct fizyr_rpc::ReceivedRequestHandle [−][src]
pub struct ReceivedRequestHandle<Body> { /* fields omitted */ }
Expand description
A handle for a received request.
The handle can be used to receive updates from the remote peer, and to send updates and the response to the remote peer.
Implementations
Get the request ID of the received request.
Get the service ID of the received request message.
Create a write handle for this request.
The write handle can be cloned and used even while this handle is mutably borrowed.
Receive the next update message of the request from the remote peer.
Send an update for the request to the remote peer.
Send the final response for the request to the remote peer.