pub struct RoutedTarget<'a> {
pub network: u16,
pub mac: &'a [u8],
pub router_mac: &'a [u8],
}Expand description
A remote device reached through a local router.
Fields§
§network: u16Destination network number written to the NPDU DNET.
mac: &'a [u8]Destination MAC on that network (NPDU DADR).
router_mac: &'a [u8]Next-hop router MAC on the local network (the link-layer destination).
Trait Implementations§
Source§impl<'a> Clone for RoutedTarget<'a>
impl<'a> Clone for RoutedTarget<'a>
impl<'a> Copy for RoutedTarget<'a>
Auto Trait Implementations§
impl<'a> Freeze for RoutedTarget<'a>
impl<'a> RefUnwindSafe for RoutedTarget<'a>
impl<'a> Send for RoutedTarget<'a>
impl<'a> Sync for RoutedTarget<'a>
impl<'a> Unpin for RoutedTarget<'a>
impl<'a> UnsafeUnpin for RoutedTarget<'a>
impl<'a> UnwindSafe for RoutedTarget<'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