pub struct Ipv6DiscoveredRoute {
pub subnet: Subnet<Ipv6Addr>,
pub gateway: Option<LinkLocalUnicastAddr<Ipv6Addr>>,
}
Expand description
A discovered route.
Fields§
§subnet: Subnet<Ipv6Addr>
The destination subnet for the route.
gateway: Option<LinkLocalUnicastAddr<Ipv6Addr>>
The next-hop node for the route, if required.
None
indicates that the subnet is on-link/directly-connected.
Trait Implementations§
Source§impl Clone for Ipv6DiscoveredRoute
impl Clone for Ipv6DiscoveredRoute
Source§fn clone(&self) -> Ipv6DiscoveredRoute
fn clone(&self) -> Ipv6DiscoveredRoute
Returns a copy 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 Debug for Ipv6DiscoveredRoute
impl Debug for Ipv6DiscoveredRoute
Source§impl Hash for Ipv6DiscoveredRoute
impl Hash for Ipv6DiscoveredRoute
Source§impl PartialEq for Ipv6DiscoveredRoute
impl PartialEq for Ipv6DiscoveredRoute
impl Copy for Ipv6DiscoveredRoute
impl Eq for Ipv6DiscoveredRoute
impl StructuralPartialEq for Ipv6DiscoveredRoute
Auto Trait Implementations§
impl Freeze for Ipv6DiscoveredRoute
impl RefUnwindSafe for Ipv6DiscoveredRoute
impl Send for Ipv6DiscoveredRoute
impl Sync for Ipv6DiscoveredRoute
impl Unpin for Ipv6DiscoveredRoute
impl UnwindSafe for Ipv6DiscoveredRoute
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
Source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
Source§fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
Send a frame. Read more
Source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
Source§fn handle_timer(
&mut self,
bindings_ctx: &mut BC,
dispatch: Id,
timer: <BC as TimerBindingsTypes>::UniqueTimerId,
)
fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )
Handle a timer firing. Read more