pub struct Evaluation;Expand description
A batch of independent questions about one state.
Trait Implementations§
Source§impl Operation for Evaluation
impl Operation for Evaluation
Source§fn fold(_request: &Request, _call: &mut Call<'_>) -> Whole<Self>
fn fold(_request: &Request, _call: &mut Call<'_>) -> Whole<Self>
The transport request id and the reply document reach the response.
Source§type End = Response
type End = Response
What the provider sends when it ends the reply. A fold needs one to
produce a response, so a reply that stopped early has none.
Source§type Fold = Whole<Evaluation>
type Fold = Whole<Evaluation>
One reply’s state: it absorbs the events the consumer sees, then
folds them with the end into the response.
Source§fn prepare(
request: Self::Request,
wire: &Descriptor<'_>,
) -> Result<Self::Request, ProviderError>
fn prepare( request: Self::Request, wire: &Descriptor<'_>, ) -> Result<Self::Request, ProviderError>
Shape
request for the wire wire describes, or reject a request
no provider of this operation can answer. The driver calls it before
the request is encoded, so a rejected request reaches no wire or
transport. Passes every request through by default.Source§fn observed_usage(end: &Self::End) -> Option<&Usage>
fn observed_usage(end: &Self::End) -> Option<&Usage>
The normalized usage one reply’s
end carries. The driver hands it
to the attempt’s one closing call when the reply ends, so the
observation is the usage the decoder already normalized and never a
second parse of the payload. Observes nothing by default.Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnsafeUnpin for Evaluation
impl UnwindSafe for Evaluation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more