#[repr(C)]pub enum PamojaControlKind {
Setpoint = 0,
Level = 1,
Surge = 2,
Monitor = 3,
}Expand description
Which control policy a profile applies to each reading.
Variants§
Setpoint = 0
Hold a reading near a setpoint by switching an output on and off.
Level = 1
Watch a falling level and warn before it reaches empty.
Surge = 2
Warn when a reading changes faster than a limit.
Monitor = 3
Report readings only, with no output and no alerts.
Trait Implementations§
Source§impl Clone for PamojaControlKind
impl Clone for PamojaControlKind
Source§fn clone(&self) -> PamojaControlKind
fn clone(&self) -> PamojaControlKind
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 PamojaControlKind
Source§impl Debug for PamojaControlKind
impl Debug for PamojaControlKind
impl Eq for PamojaControlKind
Source§impl PartialEq for PamojaControlKind
impl PartialEq for PamojaControlKind
Source§fn eq(&self, other: &PamojaControlKind) -> bool
fn eq(&self, other: &PamojaControlKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaControlKind
Auto Trait Implementations§
impl Freeze for PamojaControlKind
impl RefUnwindSafe for PamojaControlKind
impl Send for PamojaControlKind
impl Sync for PamojaControlKind
impl Unpin for PamojaControlKind
impl UnsafeUnpin for PamojaControlKind
impl UnwindSafe for PamojaControlKind
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