Skip to main content

Unknown

Struct Unknown 

Source
pub struct Unknown;
Expand description

The driver for a device with no Thread metrics to report.

Trait Implementations§

Source§

impl Clone for Unknown

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Unknown

Source§

impl Debug for Unknown

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Unknown

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl ThreadDriver for Unknown

Source§

fn channel(&self) -> Option<u16>

Channel (§11.14.6.1) — the 802.15.4 channel in use.
Source§

fn routing_role(&self) -> Option<RoutingRoleEnum>

RoutingRole (§11.14.6.2). Read more
Source§

fn network_name(&self) -> Option<&str>

NetworkName (§11.14.6.3), at most sixteen octets.
Source§

fn pan_id(&self) -> Option<u16>

PanId (§11.14.6.4).
Source§

fn extended_pan_id(&self) -> Option<u64>

ExtendedPanId (§11.14.6.5).
Source§

fn mesh_local_prefix(&self) -> Option<&[u8]>

MeshLocalPrefix (§11.14.6.6) — an ipv6pre: one length octet, then the prefix.
Source§

fn overrun_count(&self) -> u64

OverrunCount (§11.14.6.7) — packets dropped for want of buffer memory. ERRCNT. Read more
Source§

fn neighbors(&self) -> &[NeighborTableStruct]

NeighborTable (§11.14.6.8). Empty is a legitimate answer and null is not one.
Source§

fn routes(&self) -> &[RouteTableStruct]

RouteTable (§11.14.6.9).
Source§

fn partition_id(&self) -> Option<u32>

PartitionId (§11.14.6.10).
Source§

fn weighting(&self) -> Option<u16>

Weighting (§11.14.6.11) — the leader weight this node’s partition is running at.
Source§

fn data_version(&self) -> Option<u16>

DataVersion (§11.14.6.12).
Source§

fn stable_data_version(&self) -> Option<u16>

StableDataVersion (§11.14.6.13).
Source§

fn leader_router_id(&self) -> Option<u8>

LeaderRouterId (§11.14.6.14).
Source§

fn mle_counters(&self) -> MleCounters

The MLECNT counters (§11.14.6).
Source§

fn mac_counters(&self) -> MacCounters

The MACCNT counters (§11.14.6). Read more
Source§

fn active_timestamp(&self) -> Option<u64>

ActiveTimestamp (§11.14.6.57) of the Active Operational Dataset.
Source§

fn pending_timestamp(&self) -> Option<u64>

PendingTimestamp (§11.14.6.58) of the Pending Operational Dataset.
Source§

fn delay(&self) -> Option<u32>

Delay (§11.14.6.59) before a pending dataset is adopted, in milliseconds.
Source§

fn security_policy(&self) -> Option<SecurityPolicy>

SecurityPolicy (§11.14.6.60).
Source§

fn channel_page0_mask(&self) -> Option<&[u8]>

ChannelPage0Mask (§11.14.6.61) — the channel mask as an octet string.
Source§

fn operational_dataset_components(&self) -> Option<OperationalDatasetComponents>

OperationalDatasetComponents (§11.14.6.62) — which parts of the dataset are present.
Source§

fn active_network_faults(&self) -> &[NetworkFaultEnum]

ActiveNetworkFaultsList (§11.14.6.63) — the faults currently detected, if any.
Source§

fn ext_address(&self) -> Option<u64>

ExtAddress (§11.14.6.64) — the node’s IEEE 802.15.4 extended address.
Source§

fn rloc16(&self) -> Option<u16>

Rloc16 (§11.14.6.65) — the node’s routing locator.
Source§

fn reset_counts(&self)

ResetCounts (§11.14.7.1): zero every counter this cluster reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.