struct ConfigurableFormatWriter<'a> {
format: &'a ConfigurableFormat,
buf: &'a mut Formatter,
written_header_value: bool,
}Expand description
The default format.
This format needs to work with any combination of crate features.
Fields§
§format: &'a ConfigurableFormat§buf: &'a mut Formatter§written_header_value: boolImplementations§
Source§impl ConfigurableFormatWriter<'_>
impl ConfigurableFormatWriter<'_>
fn write(self, record: &Record<'_>) -> Result<()>
fn subtle_style(&self, text: &'static str) -> StyledValue<&'static str>
fn write_header_value<T>(&mut self, value: T) -> Result<()>where
T: Display,
fn write_level(&mut self, record: &Record<'_>) -> Result<()>
fn write_timestamp(&mut self) -> Result<()>
fn write_module_path(&mut self, record: &Record<'_>) -> Result<()>
fn write_source_location(&mut self, record: &Record<'_>) -> Result<()>
fn write_target(&mut self, record: &Record<'_>) -> Result<()>
fn finish_header(&mut self) -> Result<()>
fn write_args(&mut self, record: &Record<'_>) -> Result<()>
Auto Trait Implementations§
impl<'a> Freeze for ConfigurableFormatWriter<'a>
impl<'a> !RefUnwindSafe for ConfigurableFormatWriter<'a>
impl<'a> !Send for ConfigurableFormatWriter<'a>
impl<'a> !Sync for ConfigurableFormatWriter<'a>
impl<'a> Unpin for ConfigurableFormatWriter<'a>
impl<'a> !UnwindSafe for ConfigurableFormatWriter<'a>
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