pub enum CLIDisplayNodeType {
Message(Cow<'static, str>),
SpinningMessage(Cow<'static, str>),
ProgressBar(Arc<AtomicU8>),
}
Expand description
All possible display node types.
Variants§
Message(Cow<'static, str>)
Just text
SpinningMessage(Cow<'static, str>)
Text with an animated spinner at the end
ProgressBar(Arc<AtomicU8>)
A controllable progress bar
Auto Trait Implementations§
impl Freeze for CLIDisplayNodeType
impl RefUnwindSafe for CLIDisplayNodeType
impl Send for CLIDisplayNodeType
impl Sync for CLIDisplayNodeType
impl Unpin for CLIDisplayNodeType
impl UnwindSafe for CLIDisplayNodeType
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