[−][src]Struct wasm_pack::progressbar::ProgressOutput
Synchronized progress bar and status message printing.
Methods
impl ProgressOutput[src]
pub const fn new() -> Self[src]
Returns a new ProgressOutput
pub fn quiet(&self) -> bool[src]
Returns whether it should silence stdout or not
pub fn set_quiet(&self, quiet: bool)[src]
Causes it to silence stdout
pub fn is_log_enabled(&self, level: LogLevel) -> bool[src]
Returns whether the specified log level is enabled or not
pub fn set_log_level(&self, log_level: LogLevel)[src]
Sets the log level for wasm-pack
pub fn info(&self, message: &str)[src]
Add an informational message.
pub fn warn(&self, message: &str)[src]
Add a warning message.
pub fn error(&self, message: &str)[src]
Add an error message.
Trait Implementations
impl Default for ProgressOutput[src]
Auto Trait Implementations
impl RefUnwindSafe for ProgressOutput
impl Send for ProgressOutput
impl Sync for ProgressOutput
impl Unpin for ProgressOutput
impl UnwindSafe for ProgressOutput
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Erased for T
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,