pub struct DevFormatter;Expand description
The default formatter: a simple colorized development-mode format
Renders as {version} {method} {url} {response_time} {status}, with the same components
as the formatters of those names. dev_formatter is the same format as a free function;
this type exists so the default can be named, as in Logger<DevFormatter>.
Trait Implementations§
Source§impl Clone for DevFormatter
impl Clone for DevFormatter
impl Copy for DevFormatter
Source§impl Debug for DevFormatter
impl Debug for DevFormatter
Source§impl Default for DevFormatter
impl Default for DevFormatter
Auto Trait Implementations§
impl Freeze for DevFormatter
impl RefUnwindSafe for DevFormatter
impl Send for DevFormatter
impl Sync for DevFormatter
impl Unpin for DevFormatter
impl UnsafeUnpin for DevFormatter
impl UnwindSafe for DevFormatter
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