[][src]Struct spinners::Spinner

pub struct Spinner { /* fields omitted */ }

Methods

impl Spinner[src]

pub fn new(spinner: Spinners, message: String) -> Self[src]

Create a new spinner along with a message

Returns a spinner

pub fn message(&self, message: String) -> Option<String>[src]

Update spinner's message

Returns the String that is put in in case the sender could not send.

pub fn stop(self)[src]

Stop the spinner

Auto Trait Implementations

impl Send for Spinner

impl !Sync for Spinner

impl Unpin for Spinner

impl !UnwindSafe for Spinner

impl !RefUnwindSafe for Spinner

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]