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.

Send the final response with an error message.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.