pub enum ControlType {
Frbc,
Pebc,
Ombc,
Ppbc,
Ddbc,
NotControllable,
}Expand description
The S2 control types, as hems uses them.
A thin mirror of s2energy::common::ControlType so that the mapping can be
matched on and tested without constructing wire messages.
Variants§
Frbc
Fill Rate Based Control — a store with a level and a rate.
Pebc
Power Envelope Based Control — a bound is all that is needed.
Ombc
Operation Mode Based Control — discrete states.
Ppbc
Power Profile Based Control — a fixed sequence started in a window.
Ddbc
Demand Driven Based Control — actuators serving a reported demand.
NotControllable
The device takes no instruction at all; it can only be measured.
Trait Implementations§
Source§impl Clone for ControlType
impl Clone for ControlType
Source§fn clone(&self) -> ControlType
fn clone(&self) -> ControlType
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 ControlType
Source§impl Debug for ControlType
impl Debug for ControlType
impl Eq for ControlType
Source§impl From<ControlType> for ControlType
impl From<ControlType> for ControlType
Source§fn from(value: ControlType) -> Self
fn from(value: ControlType) -> Self
Converts to this type from the input type.
Source§impl Hash for ControlType
impl Hash for ControlType
Source§impl PartialEq for ControlType
impl PartialEq for ControlType
impl StructuralPartialEq for ControlType
Auto Trait Implementations§
impl Freeze for ControlType
impl RefUnwindSafe for ControlType
impl Send for ControlType
impl Sync for ControlType
impl Unpin for ControlType
impl UnsafeUnpin for ControlType
impl UnwindSafe for ControlType
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