#[repr(u8)]pub enum DeviceErrorType {
System = 1,
Sensor = 2,
Communication = 3,
Configuration = 4,
Battery = 5,
Memory = 6,
Unknown = 255,
}Expand description
Error types reported by Thingsee devices
Variants§
System = 1
System error
Sensor = 2
Sensor error
Communication = 3
Communication error
Configuration = 4
Configuration error
Battery = 5
Battery error
Memory = 6
Memory error
Unknown = 255
Unknown error
Trait Implementations§
Source§impl Clone for DeviceErrorType
impl Clone for DeviceErrorType
Source§fn clone(&self) -> DeviceErrorType
fn clone(&self) -> DeviceErrorType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceErrorType
Source§impl Debug for DeviceErrorType
impl Debug for DeviceErrorType
Source§impl<'de> Deserialize<'de> for DeviceErrorType
impl<'de> Deserialize<'de> for DeviceErrorType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DeviceErrorType
Source§impl Hash for DeviceErrorType
impl Hash for DeviceErrorType
Source§impl PartialEq for DeviceErrorType
impl PartialEq for DeviceErrorType
Source§impl Serialize for DeviceErrorType
impl Serialize for DeviceErrorType
impl StructuralPartialEq for DeviceErrorType
Auto Trait Implementations§
impl Freeze for DeviceErrorType
impl RefUnwindSafe for DeviceErrorType
impl Send for DeviceErrorType
impl Sync for DeviceErrorType
impl Unpin for DeviceErrorType
impl UnsafeUnpin for DeviceErrorType
impl UnwindSafe for DeviceErrorType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more