[][src]Enum ssd1306::mode::terminal::TerminalModeError

pub enum TerminalModeError<DI> where
    DI: DisplayInterface
{ InterfaceError(DI::Error), Uninitialized, OutOfBounds, }

Errors which can occur when interacting with the terminal mode

Variants

InterfaceError(DI::Error)

An error occurred in the underlying interface layer

Uninitialized

The mode was used before it was initialized

OutOfBounds

A location was specified outside the bounds of the screen

Trait Implementations

impl<DI: Clone> Clone for TerminalModeError<DI> where
    DI: DisplayInterface,
    DI::Error: Clone
[src]

impl<DI> Debug for TerminalModeError<DI> where
    DI: DisplayInterface
[src]

Auto Trait Implementations

impl<DI> Send for TerminalModeError<DI> where
    <DI as DisplayInterface>::Error: Send

impl<DI> Sync for TerminalModeError<DI> where
    <DI as DisplayInterface>::Error: Sync

impl<DI> Unpin for TerminalModeError<DI> where
    <DI as DisplayInterface>::Error: Unpin

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, 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.