pub struct StartInstant(/* private fields */);Expand description
A type representing the instant a request was received
Servers must add this to the request’s extensions, capturing the moment request headers were received.
Implementations§
Source§impl StartInstant
impl StartInstant
Auto Trait Implementations§
impl Freeze for StartInstant
impl RefUnwindSafe for StartInstant
impl Send for StartInstant
impl Sync for StartInstant
impl Unpin for StartInstant
impl UnwindSafe for StartInstant
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