Struct actix_request_identifier::RequestId
source · pub struct RequestId(_);Expand description
Request ID that can be extracted in handlers.
Implementations§
source§impl RequestId
impl RequestId
sourcepub const fn header_value(&self) -> &HeaderValue
pub const fn header_value(&self) -> &HeaderValue
Get the value of the response header for this request id.
Trait Implementations§
source§impl FromRequest for RequestId
impl FromRequest for RequestId
§type Future = Ready<Result<RequestId, <RequestId as FromRequest>::Error>>
type Future = Ready<Result<RequestId, <RequestId as FromRequest>::Error>>
Future that resolves to a
Self. Read moresource§fn from_request(req: &HttpRequest, _: &mut Payload) -> Self::Future
fn from_request(req: &HttpRequest, _: &mut Payload) -> Self::Future
Create a
Self from request parts asynchronously.