Struct smoltcp::iface::SocketHandle
source · pub struct SocketHandle(_);
Expand description
A handle, identifying a socket in an Interface.
Trait Implementations§
source§impl Clone for SocketHandle
impl Clone for SocketHandle
source§fn clone(&self) -> SocketHandle
fn clone(&self) -> SocketHandle
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 SocketHandle
impl Debug for SocketHandle
source§impl Default for SocketHandle
impl Default for SocketHandle
source§fn default() -> SocketHandle
fn default() -> SocketHandle
Returns the “default value” for a type. Read more
source§impl Display for SocketHandle
impl Display for SocketHandle
source§impl Hash for SocketHandle
impl Hash for SocketHandle
source§impl Ord for SocketHandle
impl Ord for SocketHandle
source§fn cmp(&self, other: &SocketHandle) -> Ordering
fn cmp(&self, other: &SocketHandle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SocketHandle> for SocketHandle
impl PartialEq<SocketHandle> for SocketHandle
source§fn eq(&self, other: &SocketHandle) -> bool
fn eq(&self, other: &SocketHandle) -> bool
source§impl PartialOrd<SocketHandle> for SocketHandle
impl PartialOrd<SocketHandle> for SocketHandle
source§fn partial_cmp(&self, other: &SocketHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &SocketHandle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more