#[repr(u8)]pub enum RoutingRoleEnum {
Unspecified = 0,
Unassigned = 1,
SleepyEndDevice = 2,
EndDevice = 3,
REED = 4,
Router = 5,
Leader = 6,
}Expand description
RoutingRoleEnum.
Variants§
Unspecified = 0
Unspecified routing role.
Unassigned = 1
The Node does not currently have a role as a result of the Thread interface not currently being configured or operational.
SleepyEndDevice = 2
The Node acts as a Sleepy End Device with RX-off-when-idle sleepy radio behavior.
EndDevice = 3
The Node acts as an End Device without RX-off-when-idle sleepy radio behavior.
REED = 4
The Node acts as an Router Eligible End Device.
Router = 5
The Node acts as a Router Device.
Leader = 6
The Node acts as a Leader Device.
Implementations§
Trait Implementations§
Source§impl Clone for RoutingRoleEnum
impl Clone for RoutingRoleEnum
impl Copy for RoutingRoleEnum
Source§impl Debug for RoutingRoleEnum
impl Debug for RoutingRoleEnum
impl Eq for RoutingRoleEnum
Source§impl<'a> FromTlv<'a> for RoutingRoleEnum
impl<'a> FromTlv<'a> for RoutingRoleEnum
Source§impl Hash for RoutingRoleEnum
impl Hash for RoutingRoleEnum
Source§impl Ord for RoutingRoleEnum
impl Ord for RoutingRoleEnum
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RoutingRoleEnum
impl PartialEq for RoutingRoleEnum
Source§impl PartialOrd for RoutingRoleEnum
impl PartialOrd for RoutingRoleEnum
impl StructuralPartialEq for RoutingRoleEnum
Auto Trait Implementations§
impl Forget for RoutingRoleEnum
impl Freeze for RoutingRoleEnum
impl Move for RoutingRoleEnum
impl RefUnwindSafe for RoutingRoleEnum
impl Send for RoutingRoleEnum
impl Sync for RoutingRoleEnum
impl Unpin for RoutingRoleEnum
impl UnsafeUnpin for RoutingRoleEnum
impl UnwindSafe for RoutingRoleEnum
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