#[repr(u8)]pub enum ESAState {
Offline = 0,
Online = 1,
Fault = 2,
Poweradjustactive = 3,
Paused = 4,
}Variants§
Offline = 0
The ESA is not available to the EMS (e.g. start-up, maintenance mode)
Online = 1
The ESA is working normally and can be controlled by the EMS
Fault = 2
The ESA has developed a fault and cannot provide service
Poweradjustactive = 3
The ESA is in the middle of a power adjustment event
Paused = 4
The ESA is currently paused by a client using the PauseRequest command
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ESAState
impl<'de> Deserialize<'de> for ESAState
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 Copy for ESAState
impl Eq for ESAState
impl StructuralPartialEq for ESAState
Auto Trait Implementations§
impl Freeze for ESAState
impl RefUnwindSafe for ESAState
impl Send for ESAState
impl Sync for ESAState
impl Unpin for ESAState
impl UnwindSafe for ESAState
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