pub enum IcmpEndpoint {
Unspecified,
Identifier(u16),
Udp((Option<IpAddress>, Port)),
}Variants§
Implementations§
Source§impl IcmpEndpoint
impl IcmpEndpoint
pub const fn into_smoltcp(&self) -> Endpoint
Trait Implementations§
Source§impl Clone for IcmpEndpoint
impl Clone for IcmpEndpoint
Source§fn clone(&self) -> IcmpEndpoint
fn clone(&self) -> IcmpEndpoint
Returns a duplicate 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 IcmpEndpoint
impl Debug for IcmpEndpoint
Source§impl Default for IcmpEndpoint
impl Default for IcmpEndpoint
Source§fn default() -> IcmpEndpoint
fn default() -> IcmpEndpoint
Returns the “default value” for a type. Read more
Source§impl Ord for IcmpEndpoint
impl Ord for IcmpEndpoint
Source§fn cmp(&self, other: &IcmpEndpoint) -> Ordering
fn cmp(&self, other: &IcmpEndpoint) -> 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 for IcmpEndpoint
impl PartialEq for IcmpEndpoint
Source§impl PartialOrd for IcmpEndpoint
impl PartialOrd for IcmpEndpoint
impl Eq for IcmpEndpoint
impl StructuralPartialEq for IcmpEndpoint
Auto Trait Implementations§
impl Freeze for IcmpEndpoint
impl RefUnwindSafe for IcmpEndpoint
impl Send for IcmpEndpoint
impl Sync for IcmpEndpoint
impl Unpin for IcmpEndpoint
impl UnwindSafe for IcmpEndpoint
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