Struct s2n_quic_core::xdp::path::RemoteAddress
source · pub struct RemoteAddress {
pub mac: MacAddress,
pub ip: IpAddress,
pub port: u16,
}
Fields§
§mac: MacAddress
§ip: IpAddress
§port: u16
Implementations§
source§impl RemoteAddress
impl RemoteAddress
pub const UNSPECIFIED: Self = _
pub fn unmap(self) -> Self
Trait Implementations§
source§impl Clone for RemoteAddress
impl Clone for RemoteAddress
source§fn clone(&self) -> RemoteAddress
fn clone(&self) -> RemoteAddress
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 RemoteAddress
impl Debug for RemoteAddress
source§impl From<RemoteAddress> for RemoteAddress
impl From<RemoteAddress> for RemoteAddress
source§fn from(addr: RemoteAddress) -> Self
fn from(addr: RemoteAddress) -> Self
Converts to this type from the input type.
source§impl From<RemoteAddress> for RemoteAddress
impl From<RemoteAddress> for RemoteAddress
source§fn from(addr: RemoteAddress) -> Self
fn from(addr: RemoteAddress) -> Self
Converts to this type from the input type.
source§impl PartialEq for RemoteAddress
impl PartialEq for RemoteAddress
source§fn eq(&self, other: &RemoteAddress) -> bool
fn eq(&self, other: &RemoteAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RemoteAddress
impl Eq for RemoteAddress
impl StructuralPartialEq for RemoteAddress
Auto Trait Implementations§
impl Freeze for RemoteAddress
impl RefUnwindSafe for RemoteAddress
impl Send for RemoteAddress
impl Sync for RemoteAddress
impl Unpin for RemoteAddress
impl UnwindSafe for RemoteAddress
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