#[repr(i32)]pub enum HaServiceStateProto {
Initializing = 0,
Active = 1,
Standby = 2,
Observer = 3,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HaServiceStateProto
impl Clone for HaServiceStateProto
Source§fn clone(&self) -> HaServiceStateProto
fn clone(&self) -> HaServiceStateProto
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HaServiceStateProto
impl Debug for HaServiceStateProto
Source§impl Default for HaServiceStateProto
impl Default for HaServiceStateProto
Source§fn default() -> HaServiceStateProto
fn default() -> HaServiceStateProto
Returns the “default value” for a type. Read more
Source§impl From<HaServiceStateProto> for i32
impl From<HaServiceStateProto> for i32
Source§fn from(value: HaServiceStateProto) -> i32
fn from(value: HaServiceStateProto) -> i32
Converts to this type from the input type.
Source§impl Hash for HaServiceStateProto
impl Hash for HaServiceStateProto
Source§impl Ord for HaServiceStateProto
impl Ord for HaServiceStateProto
Source§fn cmp(&self, other: &HaServiceStateProto) -> Ordering
fn cmp(&self, other: &HaServiceStateProto) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HaServiceStateProto
impl PartialEq for HaServiceStateProto
Source§impl PartialOrd for HaServiceStateProto
impl PartialOrd for HaServiceStateProto
impl Copy for HaServiceStateProto
impl Eq for HaServiceStateProto
impl StructuralPartialEq for HaServiceStateProto
Auto Trait Implementations§
impl Freeze for HaServiceStateProto
impl RefUnwindSafe for HaServiceStateProto
impl Send for HaServiceStateProto
impl Sync for HaServiceStateProto
impl Unpin for HaServiceStateProto
impl UnwindSafe for HaServiceStateProto
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