pub struct StartFormatter;Expand description
The default formatter for the request-start line
Logger::with_start_logging emits this line when a
request is received. It renders as Started {version} {method} {url}, with the same
components as version, method, and url.
Trait Implementations§
Source§impl Clone for StartFormatter
impl Clone for StartFormatter
Source§fn clone(&self) -> StartFormatter
fn clone(&self) -> StartFormatter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StartFormatter
Source§impl Debug for StartFormatter
impl Debug for StartFormatter
Source§impl Default for StartFormatter
impl Default for StartFormatter
Source§fn default() -> StartFormatter
fn default() -> StartFormatter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StartFormatter
impl RefUnwindSafe for StartFormatter
impl Send for StartFormatter
impl Sync for StartFormatter
impl Unpin for StartFormatter
impl UnsafeUnpin for StartFormatter
impl UnwindSafe for StartFormatter
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