pub struct NetworkFound { /* private fields */ }Expand description
Handler parameters.
Implementations§
Source§impl Handler
impl Handler
Sourcepub const fn network_info(&self) -> &Network
pub const fn network_info(&self) -> &Network
Information about the network.
Sourcepub const fn device_info(&self) -> Option<&DeviceInfoRecord>
pub const fn device_info(&self) -> Option<&DeviceInfoRecord>
Device specific information.
Sourcepub const fn last_hop_lqi(&self) -> u8
pub const fn last_hop_lqi(&self) -> u8
The link quality from the node that last relayed the message.
Sourcepub const fn last_hop_rssi(&self) -> i8
pub const fn last_hop_rssi(&self) -> i8
The energy level (in units of dBm) observed during reception.
Trait Implementations§
impl Eq for Handler
Source§impl FromLeStream for Handler
impl FromLeStream for Handler
Source§fn from_le_stream<__LeStreamBytesIterator>(
bytes: __LeStreamBytesIterator,
) -> Option<Self>
fn from_le_stream<__LeStreamBytesIterator>( bytes: __LeStreamBytesIterator, ) -> Option<Self>
Parses a value from the front of a little-endian byte stream. Read more
impl StructuralPartialEq for Handler
Source§impl ToLeStream for Handler
impl ToLeStream for Handler
Source§type Iter = Chain<Chain<Chain<Chain<<Network as ToLeStream>::Iter, <bool as ToLeStream>::Iter>, <DeviceInfoRecord as ToLeStream>::Iter>, <u8 as ToLeStream>::Iter>, <i8 as ToLeStream>::Iter>
type Iter = Chain<Chain<Chain<Chain<<Network as ToLeStream>::Iter, <bool as ToLeStream>::Iter>, <DeviceInfoRecord as ToLeStream>::Iter>, <u8 as ToLeStream>::Iter>, <i8 as ToLeStream>::Iter>
Iterator returned by
to_le_stream.Source§fn to_le_stream(self) -> <Self as ToLeStream>::Iter
fn to_le_stream(self) -> <Self as ToLeStream>::Iter
Returns an iterator over the little-endian byte representation. Read more
Auto Trait Implementations§
impl Freeze for Handler
impl RefUnwindSafe for Handler
impl Send for Handler
impl Sync for Handler
impl Unpin for Handler
impl UnsafeUnpin for Handler
impl UnwindSafe for Handler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more