Struct sn0int::term::StackedSpinners
source · pub struct StackedSpinners { /* private fields */ }
Implementations§
source§impl StackedSpinners
impl StackedSpinners
pub fn new() -> StackedSpinners
pub fn add(&mut self, key: String, status: String)
pub fn remove(&mut self, key: &str) -> Option<Spinner>
pub fn jump2start(&mut self)
pub fn tick(&mut self)
pub fn is_empty(&self) -> bool
pub fn clear(&self)
pub fn prefixed<I: Into<String>>( &mut self, name: I, ) -> PrefixedLogger<'_, StackedSpinners>
Trait Implementations§
source§impl Default for StackedSpinners
impl Default for StackedSpinners
source§impl SpinLogger for StackedSpinners
impl SpinLogger for StackedSpinners
fn log(&mut self, line: &str)
fn debug(&mut self, line: &str)
fn success(&mut self, line: &str)
fn error(&mut self, line: &str)
fn warn(&mut self, line: &str)
fn warn_once(&mut self, line: &str)
fn status(&mut self, status: String)
fn stacked_status(&mut self, name: &str, status: String)
Auto Trait Implementations§
impl Freeze for StackedSpinners
impl RefUnwindSafe for StackedSpinners
impl Send for StackedSpinners
impl Sync for StackedSpinners
impl Unpin for StackedSpinners
impl UnwindSafe for StackedSpinners
Blanket Implementations§
source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more