pub struct ConsoleSink;Expand description
Human-oriented stdout sink, with no terminal-color assumptions.
Implementations§
Source§impl ConsoleSink
impl ConsoleSink
Sourcepub fn new() -> ConsoleSink
pub fn new() -> ConsoleSink
Creates a plain console sink.
Trait Implementations§
Source§impl Debug for ConsoleSink
impl Debug for ConsoleSink
Source§impl Default for ConsoleSink
impl Default for ConsoleSink
Source§fn default() -> ConsoleSink
fn default() -> ConsoleSink
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConsoleSink
impl RefUnwindSafe for ConsoleSink
impl Send for ConsoleSink
impl Sync for ConsoleSink
impl Unpin for ConsoleSink
impl UnsafeUnpin for ConsoleSink
impl UnwindSafe for ConsoleSink
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