pub struct DateService;Expand description
Generates the cached HTTP Date header used by the protocol encoders.
The cached value is refreshed periodically and avoids formatting the current system time for every response. Applications normally do not need to use this type directly.
Trait Implementations§
Source§impl Clone for DateService
impl Clone for DateService
impl Copy for DateService
Auto Trait Implementations§
impl Freeze for DateService
impl RefUnwindSafe for DateService
impl Send for DateService
impl Sync for DateService
impl Unpin for DateService
impl UnsafeUnpin for DateService
impl UnwindSafe for DateService
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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