pub struct RequestId(/* private fields */);
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
Auto Trait Implementations§
impl !Freeze for RequestId
impl RefUnwindSafe for RequestId
impl Send for RequestId
impl Sync for RequestId
impl Unpin for RequestId
impl UnwindSafe for RequestId
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