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