#[repr(i32)]pub enum EacState {
KEacStateUnknown = 0,
KEacStateDisconnected = 1,
KEacStateConnected = 2,
KEacStateConnectedSlow = 3,
}Variants§
Implementations§
Source§impl EacState
impl EacState
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
impl Copy for EacState
impl Eq for EacState
Source§impl Ord for EacState
impl Ord for EacState
1.21.0 (const: unstable) · 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 PartialOrd for EacState
impl PartialOrd for EacState
impl StructuralPartialEq for EacState
Auto Trait Implementations§
impl Freeze for EacState
impl RefUnwindSafe for EacState
impl Send for EacState
impl Sync for EacState
impl Unpin for EacState
impl UnsafeUnpin for EacState
impl UnwindSafe for EacState
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