Struct netstack3_core::ip::Ipv4AddrConfig
source · pub struct Ipv4AddrConfig<Instant> {
pub valid_until: Lifetime<Instant>,
}
Expand description
The configuration for an IPv4 address.
Fields§
§valid_until: Lifetime<Instant>
The lifetime for which the address is valid.
Trait Implementations§
source§impl<Instant> Clone for Ipv4AddrConfig<Instant>where
Instant: Clone,
impl<Instant> Clone for Ipv4AddrConfig<Instant>where
Instant: Clone,
source§fn clone(&self) -> Ipv4AddrConfig<Instant>
fn clone(&self) -> Ipv4AddrConfig<Instant>
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<Instant> Debug for Ipv4AddrConfig<Instant>where
Instant: Debug,
impl<Instant> Debug for Ipv4AddrConfig<Instant>where
Instant: Debug,
source§impl<I> Default for Ipv4AddrConfig<I>
impl<I> Default for Ipv4AddrConfig<I>
source§fn default() -> Ipv4AddrConfig<I>
fn default() -> Ipv4AddrConfig<I>
Returns the “default value” for a type. Read more
source§impl<Instant> Hash for Ipv4AddrConfig<Instant>where
Instant: Hash,
impl<Instant> Hash for Ipv4AddrConfig<Instant>where
Instant: Hash,
source§impl<Instant> PartialEq for Ipv4AddrConfig<Instant>where
Instant: PartialEq,
impl<Instant> PartialEq for Ipv4AddrConfig<Instant>where
Instant: PartialEq,
source§fn eq(&self, other: &Ipv4AddrConfig<Instant>) -> bool
fn eq(&self, other: &Ipv4AddrConfig<Instant>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<Instant> Copy for Ipv4AddrConfig<Instant>where
Instant: Copy,
impl<Instant> Eq for Ipv4AddrConfig<Instant>where
Instant: Eq,
impl<Instant> StructuralPartialEq for Ipv4AddrConfig<Instant>
Auto Trait Implementations§
impl<Instant> Freeze for Ipv4AddrConfig<Instant>where
Instant: Freeze,
impl<Instant> RefUnwindSafe for Ipv4AddrConfig<Instant>where
Instant: RefUnwindSafe,
impl<Instant> Send for Ipv4AddrConfig<Instant>where
Instant: Send,
impl<Instant> Sync for Ipv4AddrConfig<Instant>where
Instant: Sync,
impl<Instant> Unpin for Ipv4AddrConfig<Instant>where
Instant: Unpin,
impl<Instant> UnwindSafe for Ipv4AddrConfig<Instant>where
Instant: 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
source§impl<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
impl<O, BC> BuildableCoreContext<BC> for Owhere
O: Default,
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
source§impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
impl<L, T> UnlockedAccess<L> for Twhere
L: UnlockedAccessMarkerFor<T>,
§type Data = <L as UnlockedAccessMarkerFor<T>>::Data
type Data = <L as UnlockedAccessMarkerFor<T>>::Data
The type of state being accessed.
§type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data
where
T: 'l
type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data where T: 'l
A guard providing read access to the data.
source§fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>
How to access the state.