memory_lcd_spi/error.rs
1#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug)]
2#[cfg_attr(feature = "defmt", derive(defmt::Format))]
3pub enum Error<SPIError> {
4 Spi(SPIError),
5 Gpio,
6}
7
8// See-also: https://stackoverflow.com/questions/37347311/how-is-there-a-conflicting-implementation-of-from-when-using-a-generic-type