Enum sep2_common::packages::edev::OpState
source · #[repr(u8)]pub enum OpState {
NotApplicable = 0,
NotOperating = 1,
Operating = 2,
StartingUp = 3,
ShuttingDown = 4,
AtDisconnectLevel = 5,
kWRamping = 6,
kVarRamping = 7,
}
Available on crate feature
edev
only.Variants§
NotApplicable = 0
Or Unknown
NotOperating = 1
Operating = 2
StartingUp = 3
ShuttingDown = 4
AtDisconnectLevel = 5
kWRamping = 6
kVarRamping = 7
Trait Implementations§
source§impl Ord for OpState
impl Ord for OpState
source§impl PartialEq<OpState> for OpState
impl PartialEq<OpState> for OpState
source§impl PartialOrd<OpState> for OpState
impl PartialOrd<OpState> for OpState
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl YaSerialize for OpState
impl YaSerialize for OpState
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Copy for OpState
impl Eq for OpState
impl StructuralEq for OpState
impl StructuralPartialEq for OpState
Auto Trait Implementations§
impl RefUnwindSafe for OpState
impl Send for OpState
impl Sync for OpState
impl Unpin for OpState
impl UnwindSafe for OpState
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