Skip to main content

ActiveScanResult

Struct ActiveScanResult 

Source
pub struct ActiveScanResult<'a>(/* private fields */);
Expand description

Active scan result

Implementations§

Source§

impl<'a> ActiveScanResult<'a>

Source

pub fn extended_address(&self) -> &'a [u8]

IEEE 802.15.4 Extended Address

Source

pub fn network_name_cstr(&self) -> &'a CStr

Thread Network Name

Source

pub fn extended_pan_id(&self) -> &[u8]

Thread Extended PAN ID

Source

pub fn steering_data(&self) -> &[u8]

Steering Data

Source

pub fn pan_id(&self) -> u16

IEEE 802.15.4 PAN ID

Source

pub fn joiner_udp_port(&self) -> u16

Joiner UDP Port

Source

pub fn channel(&self) -> u8

IEEE 802.15.4 Channel

Source

pub fn max_rssi(&self) -> i8

The max RSSI (dBm)

Source

pub fn lqi(&self) -> u8

LQI

Source

pub fn version(&self) -> u8

Version

Source

pub fn native_commissioner(&self) -> bool

Native Commissioner

Source

pub fn join_permitted(&self) -> bool

Join permitted

Auto Trait Implementations§

§

impl<'a> Freeze for ActiveScanResult<'a>

§

impl<'a> RefUnwindSafe for ActiveScanResult<'a>

§

impl<'a> Send for ActiveScanResult<'a>

§

impl<'a> Sync for ActiveScanResult<'a>

§

impl<'a> Unpin for ActiveScanResult<'a>

§

impl<'a> UnsafeUnpin for ActiveScanResult<'a>

§

impl<'a> UnwindSafe for ActiveScanResult<'a>

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Error = !

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

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

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.