Struct env_logger::fmt::writer::buffer::termcolor::BufferWriter
source · pub(in fmt::writer) struct BufferWriter {
inner: BufferWriter,
uncolored_target: Option<WritableTarget>,
write_style: WriteStyle,
}
Fields§
§inner: BufferWriter
§uncolored_target: Option<WritableTarget>
§write_style: WriteStyle
Implementations§
source§impl BufferWriter
impl BufferWriter
pub(in fmt::writer) fn stderr( is_test: bool, write_style: WriteStyle ) -> Self
pub(in fmt::writer) fn stdout( is_test: bool, write_style: WriteStyle ) -> Self
pub(in fmt::writer) fn pipe( pipe: Box<Mutex<dyn Write + Send + 'static>> ) -> Self
pub(in fmt::writer) fn write_style( &self ) -> WriteStyle
pub(in fmt::writer) fn buffer( &self ) -> Buffer
pub(in fmt::writer) fn print( &self, buf: &Buffer ) -> Result<()>
Auto Trait Implementations§
impl RefUnwindSafe for BufferWriter
impl Send for BufferWriter
impl Sync for BufferWriter
impl Unpin for BufferWriter
impl UnwindSafe for BufferWriter
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