Enum embedded_counters::DisplayError [−][src]
#[non_exhaustive] pub enum DisplayError { InvalidFormatError, BusWriteError, DCError, CSError, DataFormatNotImplemented, RSError, OutOfBoundsError, }
Expand description
A ubiquitous error type for all kinds of problems which could happen when communicating with a display
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Invalid data format selected for interface selected
Unable to write to bus
Unable to assert or de-assert data/command switching signal
Unable to assert chip select signal
The requested DataFormat is not implemented by this display interface implementation
Unable to assert or de-assert reset signal
Attempted to write to a non-existing pixel outside the display’s bounds
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DisplayError
impl Send for DisplayError
impl Sync for DisplayError
impl Unpin for DisplayError
impl UnwindSafe for DisplayError
Blanket Implementations
Mutably borrows from an owned value. Read more