Struct ll::reporters::text::StringReporter
source · Fields
output: Arc<Mutex<String>>
Implementations
sourceimpl StringReporter
impl StringReporter
pub fn new() -> Self
pub fn set_timestamp_format(&self, format: TimestampFormat)
pub fn log_duration(&self, enabled: bool)
Trait Implementations
sourceimpl Clone for StringReporter
impl Clone for StringReporter
sourcefn clone(&self) -> StringReporter
fn clone(&self) -> StringReporter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Display for StringReporter
impl Display for StringReporter
sourceimpl Reporter for StringReporter
impl Reporter for StringReporter
fn task_start(&self, task_internal: Arc<TaskInternal>)
fn task_end(&self, task_internal: Arc<TaskInternal>)
fn task_progress(&self, _task: Arc<TaskInternal>)
Auto Trait Implementations
impl RefUnwindSafe for StringReporter
impl Send for StringReporter
impl Sync for StringReporter
impl Unpin for StringReporter
impl UnwindSafe for StringReporter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more