pub trait MakeRequestId {
    // Required method
    fn make_request_id<B>(&mut self, request: &Request<B>) -> Option<RequestId>;
}
Available on crate feature request-id only.
Expand description

Trait for producing RequestIds.

Used by SetRequestId.

Required Methods§

source

fn make_request_id<B>(&mut self, request: &Request<B>) -> Option<RequestId>

Try and produce a RequestId from the request.

Implementors§