Struct fizyr_rpc::ReceivedRequestWriteHandle [−][src]
pub struct ReceivedRequestWriteHandle<Body> { /* fields omitted */ }
Expand description
A write handle for a received request.
Unlike ReceivedRequestHandle
, write handles can be cloned.
But unlike regular handles, they can not be used to receive updates or the response from the remote peer.
Write handles can be used to send updates even when the regular handle is mutably borrowed.
You can get more write handles using ReceivedRequestHandle::write_handle()
or by cloning an existing one.
Implementations
Get the request ID of the sent request.
Get the service ID of the initial request message.
Send an update for the request to the remote peer.
Send the final response for the request to the remote peer.
Trait Implementations
Auto Trait Implementations
impl<Body> !RefUnwindSafe for ReceivedRequestWriteHandle<Body>
impl<Body> Send for ReceivedRequestWriteHandle<Body> where
Body: Send,
impl<Body> Sync for ReceivedRequestWriteHandle<Body> where
Body: Send,
impl<Body> Unpin for ReceivedRequestWriteHandle<Body>
impl<Body> !UnwindSafe for ReceivedRequestWriteHandle<Body>
Blanket Implementations
Mutably borrows from an owned value. Read more