#[repr(C)]pub struct IpListenEndpoint {
pub address: Option<IpAddress>,
pub port: Port,
}Fields§
§address: Option<IpAddress>§port: PortImplementations§
Source§impl IpListenEndpoint
impl IpListenEndpoint
pub const fn new(address: Option<IpAddress>, port: Port) -> Self
pub const fn into_smoltcp(&self) -> IpListenEndpoint
pub const fn from_smoltcp(value: &IpListenEndpoint) -> Self
Trait Implementations§
Source§impl Clone for IpListenEndpoint
impl Clone for IpListenEndpoint
Source§fn clone(&self) -> IpListenEndpoint
fn clone(&self) -> IpListenEndpoint
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 IpListenEndpoint
impl Debug for IpListenEndpoint
Source§impl Hash for IpListenEndpoint
impl Hash for IpListenEndpoint
Source§impl PartialEq for IpListenEndpoint
impl PartialEq for IpListenEndpoint
impl Eq for IpListenEndpoint
impl StructuralPartialEq for IpListenEndpoint
Auto Trait Implementations§
impl Freeze for IpListenEndpoint
impl RefUnwindSafe for IpListenEndpoint
impl Send for IpListenEndpoint
impl Sync for IpListenEndpoint
impl Unpin for IpListenEndpoint
impl UnwindSafe for IpListenEndpoint
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