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
Source§fn clone(&self) -> DevFormatter
fn clone(&self) -> DevFormatter
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 DevFormatter
Source§impl Debug for DevFormatter
impl Debug for DevFormatter
Source§impl Default for DevFormatter
impl Default for DevFormatter
Source§fn default() -> DevFormatter
fn default() -> DevFormatter
Returns the “default value” for a type. Read more
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