Enum sensehat::SenseHatError [−][src]
pub enum SenseHatError { NotReady, GenericError, I2CError(LinuxI2CError), LSM9DS1Error(Error), ScreenError, CharacterError(FromUtf16Error), }
Errors that this crate can return
Variants
NotReady
GenericError
I2CError(LinuxI2CError)
LSM9DS1Error(Error)
ScreenError
CharacterError(FromUtf16Error)
Trait Implementations
impl Debug for SenseHatError
[src]
impl Debug for SenseHatError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<LinuxI2CError> for SenseHatError
[src]
impl From<LinuxI2CError> for SenseHatError
fn from(err: LinuxI2CError) -> SenseHatError
[src]
fn from(err: LinuxI2CError) -> SenseHatError
Performs the conversion.
impl From<FromUtf16Error> for SenseHatError
[src]
impl From<FromUtf16Error> for SenseHatError
fn from(err: FromUtf16Error) -> SenseHatError
[src]
fn from(err: FromUtf16Error) -> SenseHatError
Performs the conversion.
Auto Trait Implementations
impl Send for SenseHatError
impl Send for SenseHatError
impl Sync for SenseHatError
impl Sync for SenseHatError