Enum transition::TransitionErr[][src]

pub enum TransitionErr {
    BlinkConnection(BlinkError),
    Notification(SendError<MsgType>),
}

Error descriping issue with the transition.

Variants

BlinkConnection(BlinkError)

Describes issue with the connection to the blink(1) device.

Make sure that your blink is connected and that your user have correct rights to access blink device.

Notification(SendError<MsgType>)

Describes issue with sending a message via a crossbeam_channel to inform blinking thread to stop execution.

Trait Implementations

impl Debug for TransitionErr[src]

impl Display for TransitionErr[src]

impl Error for TransitionErr[src]

impl From<BlinkError> for TransitionErr[src]

impl From<SendError<MsgType>> for TransitionErr[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.