pub struct LogHandler { /* private fields */ }
Implementations§
Source§impl LogHandler
impl LogHandler
pub fn new() -> Self
pub fn add_log<T: Display>(&self, priority: usize, log: T)
pub fn test_ge_log(&self, id: usize) -> bool
pub fn bar<T: Display>(&self, msg: T, kind: ProgressBarKind)
pub fn set_progress(&self, val: f64)
pub fn set_bar_msg<T: Display>(&self, msg: T)
pub fn set_bar_len(&self, len: usize)
pub fn set_bar_pad(&self, pad: usize)
pub fn disable_bar(&self)
pub fn log_bar(&self, msg: String)
pub fn append_log_bar(&self, msg: String)
pub fn clear_log_bar(&self)
pub fn terminate(self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogHandler
impl !RefUnwindSafe for LogHandler
impl Send for LogHandler
impl Sync for LogHandler
impl Unpin for LogHandler
impl !UnwindSafe for LogHandler
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