pub struct ConsoleProgressHandler {
pub show_progress: bool,
pub show_debug: bool,
pub use_styling: bool,
}
Expand description
Console progress handler that outputs to stdout
Fields§
§show_progress: bool
Whether to show progress messages
show_debug: bool
Whether to show debug information
use_styling: bool
Whether to use emoji and colors
Implementations§
Source§impl ConsoleProgressHandler
impl ConsoleProgressHandler
Sourcepub fn machine_readable() -> Self
pub fn machine_readable() -> Self
Create a machine-readable handler (no styling)
Trait Implementations§
Source§impl Default for ConsoleProgressHandler
impl Default for ConsoleProgressHandler
Source§impl ProgressHandler for ConsoleProgressHandler
impl ProgressHandler for ConsoleProgressHandler
Source§fn handle_progress(&self, event: ProgressEvent)
fn handle_progress(&self, event: ProgressEvent)
Handle a progress event
Auto Trait Implementations§
impl Freeze for ConsoleProgressHandler
impl RefUnwindSafe for ConsoleProgressHandler
impl Send for ConsoleProgressHandler
impl Sync for ConsoleProgressHandler
impl Unpin for ConsoleProgressHandler
impl UnwindSafe for ConsoleProgressHandler
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