[][src]Struct yubikey_cli::terminal::Status

pub struct Status { /* fields omitted */ }

Status message builder

Implementations

impl Status[src]

pub fn new() -> Self[src]

Create a new status message with default settings

pub fn justified(self) -> Self[src]

Justify status on display

pub fn bold(self) -> Self[src]

Make colors bold

pub fn color(self, c: Color) -> Self[src]

Set the colors used to display this message

pub fn status<S>(self, msg: S) -> Self where
    S: ToString
[src]

Set a status message to display

pub fn print_stdout(self, msg: impl AsRef<str>)[src]

Print the given message to stdout

pub fn print_stderr(self, msg: impl AsRef<str>)[src]

Print the given message to stderr

Trait Implementations

impl Clone for Status[src]

impl Debug for Status[src]

impl Default for Status[src]

Auto Trait Implementations

impl RefUnwindSafe for Status

impl Send for Status

impl Sync for Status

impl Unpin for Status

impl UnwindSafe for Status

Blanket Implementations

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

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

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

impl<T> Conv for T

impl<T> FmtForward for T

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

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

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

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<V, T> VZip<V> for T where
    V: MultiLane<T>,