pub struct SourceRouteSubframe<'a> {
pub relay_count: u8,
pub relay_index: u8,
pub relay_list: &'a [u8],
}Expand description
Source Route Subframe
Fields§
§relay_count: u8Indicates the number of relays contained in
SourceRouteSubframe::relay_list.
See Section 3.3.1.9.1.
relay_index: u8Indicates the index of the next relay in
SourceRouteSubframe::relay_list to which the packet will be
transmitted.
See Section 3.3.1.9.2.
relay_list: &'a [u8]List of relay addresses from closest to the destination to closest to the originator.
See Section 3.3.1.9.2.
Trait Implementations§
Source§impl<'a> Clone for SourceRouteSubframe<'a>
impl<'a> Clone for SourceRouteSubframe<'a>
impl<'a> Copy for SourceRouteSubframe<'a>
Source§impl<'a> Debug for SourceRouteSubframe<'a>
impl<'a> Debug for SourceRouteSubframe<'a>
impl<'a> Eq for SourceRouteSubframe<'a>
Source§impl<'a> PartialEq for SourceRouteSubframe<'a>
impl<'a> PartialEq for SourceRouteSubframe<'a>
impl<'a> StructuralPartialEq for SourceRouteSubframe<'a>
Source§impl<'a, C: Default> TryRead<'a, C> for SourceRouteSubframe<'a>
impl<'a, C: Default> TryRead<'a, C> for SourceRouteSubframe<'a>
Auto Trait Implementations§
impl<'a> Freeze for SourceRouteSubframe<'a>
impl<'a> RefUnwindSafe for SourceRouteSubframe<'a>
impl<'a> Send for SourceRouteSubframe<'a>
impl<'a> Sync for SourceRouteSubframe<'a>
impl<'a> Unpin for SourceRouteSubframe<'a>
impl<'a> UnsafeUnpin for SourceRouteSubframe<'a>
impl<'a> UnwindSafe for SourceRouteSubframe<'a>
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