Trait tower_http::request_id::MakeRequestId
source · 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 RequestId
s.
Used by SetRequestId
.
Required Methods§
Object Safety§
This trait is not object safe.