pub struct SyncTreeTLV<I> {
pub tree: I,
}Expand description
This describes the structure of the AWDL mesh. The contained mac address are in descending order, with the first one being the mesh master and the other ones being sync masters.
Fields§
§tree: IThe MACs.
Trait Implementations§
Source§impl<I> AwdlTlv for SyncTreeTLV<I>
impl<I> AwdlTlv for SyncTreeTLV<I>
const TLV_TYPE: AWDLTLVType = AWDLTLVType::SynchronizationTree
Source§impl<I: Clone> Clone for SyncTreeTLV<I>
impl<I: Clone> Clone for SyncTreeTLV<I>
Source§fn clone(&self) -> SyncTreeTLV<I>
fn clone(&self) -> SyncTreeTLV<I>
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<I: Debug> Debug for SyncTreeTLV<I>
impl<I: Debug> Debug for SyncTreeTLV<I>
Source§impl<I: Default> Default for SyncTreeTLV<I>
impl<I: Default> Default for SyncTreeTLV<I>
Source§fn default() -> SyncTreeTLV<I>
fn default() -> SyncTreeTLV<I>
Returns the “default value” for a type. Read more
Source§impl<I: Hash> Hash for SyncTreeTLV<I>
impl<I: Hash> Hash for SyncTreeTLV<I>
Source§impl<I> MeasureWith<()> for SyncTreeTLV<I>where
I: ExactSizeIterator,
impl<I> MeasureWith<()> for SyncTreeTLV<I>where
I: ExactSizeIterator,
Source§fn measure_with(&self, _ctx: &()) -> usize
fn measure_with(&self, _ctx: &()) -> usize
How large is
Self, given the ctx?Source§impl<LhsIterator, RhsIterator> PartialEq<SyncTreeTLV<RhsIterator>> for SyncTreeTLV<LhsIterator>where
LhsIterator: IntoIterator<Item = MACAddress> + Clone,
RhsIterator: IntoIterator<Item = MACAddress> + Clone,
impl<LhsIterator, RhsIterator> PartialEq<SyncTreeTLV<RhsIterator>> for SyncTreeTLV<LhsIterator>where
LhsIterator: IntoIterator<Item = MACAddress> + Clone,
RhsIterator: IntoIterator<Item = MACAddress> + Clone,
Source§impl<'a> TryFromCtx<'a> for SyncTreeTLV<ReadMACIterator<'a>>
impl<'a> TryFromCtx<'a> for SyncTreeTLV<ReadMACIterator<'a>>
Source§impl<I> TryIntoCtx for SyncTreeTLV<I>where
I: IntoIterator<Item = MACAddress>,
impl<I> TryIntoCtx for SyncTreeTLV<I>where
I: IntoIterator<Item = MACAddress>,
impl<I: Copy> Copy for SyncTreeTLV<I>
impl<I: IntoIterator<Item = MACAddress> + Clone> Eq for SyncTreeTLV<I>
Auto Trait Implementations§
impl<I> Freeze for SyncTreeTLV<I>where
I: Freeze,
impl<I> RefUnwindSafe for SyncTreeTLV<I>where
I: RefUnwindSafe,
impl<I> Send for SyncTreeTLV<I>where
I: Send,
impl<I> Sync for SyncTreeTLV<I>where
I: Sync,
impl<I> Unpin for SyncTreeTLV<I>where
I: Unpin,
impl<I> UnwindSafe for SyncTreeTLV<I>where
I: UnwindSafe,
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