pub struct StringReporter {
pub output: Arc<Mutex<String>>,
/* private fields */
}Fields§
§output: Arc<Mutex<String>>Implementations§
Source§impl StringReporter
impl StringReporter
pub fn new() -> Self
pub fn set_timestamp_format(&self, format: TimestampFormat)
pub fn log_duration(&self, enabled: bool)
Trait Implementations§
Source§impl Clone for StringReporter
impl Clone for StringReporter
Source§fn clone(&self) -> StringReporter
fn clone(&self) -> StringReporter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Display for StringReporter
impl Display for StringReporter
Source§impl 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 Freeze for StringReporter
impl RefUnwindSafe for StringReporter
impl Send for StringReporter
impl Sync for StringReporter
impl Unpin for StringReporter
impl UnwindSafe for StringReporter
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