Struct netstack3_core::tcp::UnboundInfo
source · pub struct UnboundInfo<D> {
pub device: Option<D>,
}
Expand description
Information about an unbound socket.
Fields§
§device: Option<D>
The device the socket will be bound to.
Trait Implementations§
source§impl<D: Clone> Clone for UnboundInfo<D>
impl<D: Clone> Clone for UnboundInfo<D>
source§fn clone(&self) -> UnboundInfo<D>
fn clone(&self) -> UnboundInfo<D>
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<D: Debug> Debug for UnboundInfo<D>
impl<D: Debug> Debug for UnboundInfo<D>
source§impl<D, IpType: Ip> GenericOverIp<IpType> for UnboundInfo<D>
impl<D, IpType: Ip> GenericOverIp<IpType> for UnboundInfo<D>
§type Type = UnboundInfo<D>
type Type = UnboundInfo<D>
The type of
Self
when its IP-generic parameter is replaced with the
type NewIp
.source§impl<D: PartialEq> PartialEq for UnboundInfo<D>
impl<D: PartialEq> PartialEq for UnboundInfo<D>
source§fn eq(&self, other: &UnboundInfo<D>) -> bool
fn eq(&self, other: &UnboundInfo<D>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<D: Eq> Eq for UnboundInfo<D>
impl<D> StructuralPartialEq for UnboundInfo<D>
Auto Trait Implementations§
impl<D> Freeze for UnboundInfo<D>where
D: Freeze,
impl<D> RefUnwindSafe for UnboundInfo<D>where
D: RefUnwindSafe,
impl<D> Send for UnboundInfo<D>where
D: Send,
impl<D> Sync for UnboundInfo<D>where
D: Sync,
impl<D> Unpin for UnboundInfo<D>where
D: Unpin,
impl<D> UnwindSafe for UnboundInfo<D>where
D: 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
Id: HandleableTimer<CC, BC>,
source§fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
fn handle_timer(&mut self, bindings_ctx: &mut BC, id: Id)
Handle a timer firing.