Enum display_interface::DisplayError [−][src]
#[non_exhaustive] pub enum DisplayError { InvalidFormatError, BusWriteError, DCError, CSError, DataFormatNotImplemented, RSError, OutOfBoundsError, }
A ubiquitous error type for all kinds of problems which could happen when communicating with a display
Variants (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
impl Clone for DisplayError
[src]
impl Clone for DisplayError
[src]fn clone(&self) -> DisplayError
[src]
fn clone(&self) -> DisplayError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more