pub enum ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status {
NO_NETWORK = 0,
JOINING_NETWORK = 1,
JOINED_NETWORK = 2,
JOINED_NETWORK_NO_PARENT = 3,
LEAVING_NETWORK = 4,
}
Variants§
NO_NETWORK = 0
JOINING_NETWORK = 1
JOINED_NETWORK = 2
JOINED_NETWORK_NO_PARENT = 3
LEAVING_NETWORK = 4
Trait Implementations§
Source§impl Clone for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl Clone for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
Source§fn clone(&self) -> ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
fn clone(&self) -> ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
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 PartialEq for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl PartialEq for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
Source§fn eq(&self, other: &ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status) -> bool
fn eq(&self, other: &ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ProtobufEnum for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl ProtobufEnum for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
Source§fn from_i32(value: i32) -> Option<ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status>
fn from_i32(value: i32) -> Option<ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status>
Try to create an enum from
i32
value.
Return None
if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl ProtobufValue for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl Eq for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl StructuralPartialEq for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
Auto Trait Implementations§
impl Freeze for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl RefUnwindSafe for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl Send for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl Sync for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl Unpin for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
impl UnwindSafe for ZigBeeMsg_NetworkMgmtCmd_NetworkStatus_Status
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