Struct s2n_quic_core::path::RemoteAddress
source · [−]pub struct RemoteAddress(pub SocketAddress);Tuple Fields
0: SocketAddressMethods from Deref<Target = SocketAddress>
Trait Implementations
sourceimpl Clone for RemoteAddress
impl Clone for RemoteAddress
sourcefn clone(&self) -> RemoteAddress
fn clone(&self) -> RemoteAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RemoteAddress
impl Debug for RemoteAddress
sourceimpl Default for RemoteAddress
impl Default for RemoteAddress
sourcefn default() -> RemoteAddress
fn default() -> RemoteAddress
Returns the “default value” for a type. Read more
sourceimpl Deref for RemoteAddress
impl Deref for RemoteAddress
type Target = SocketAddress
type Target = SocketAddress
The resulting type after dereferencing.
sourceimpl DerefMut for RemoteAddress
impl DerefMut for RemoteAddress
sourceimpl From<SocketAddress> for RemoteAddress
impl From<SocketAddress> for RemoteAddress
sourcefn from(value: SocketAddress) -> Self
fn from(value: SocketAddress) -> Self
Converts to this type from the input type.
sourceimpl From<SocketAddressV4> for RemoteAddress
impl From<SocketAddressV4> for RemoteAddress
sourcefn from(value: SocketAddressV4) -> Self
fn from(value: SocketAddressV4) -> Self
Converts to this type from the input type.
sourceimpl From<SocketAddressV6> for RemoteAddress
impl From<SocketAddressV6> for RemoteAddress
sourcefn from(value: SocketAddressV6) -> Self
fn from(value: SocketAddressV6) -> Self
Converts to this type from the input type.
sourceimpl Handle for RemoteAddress
impl Handle for RemoteAddress
sourcefn from_remote_address(remote_address: RemoteAddress) -> Self
fn from_remote_address(remote_address: RemoteAddress) -> Self
Creates a Handle from a RemoteAddress
sourcefn remote_address(&self) -> RemoteAddress
fn remote_address(&self) -> RemoteAddress
Returns the remote address for the given handle
sourcefn local_address(&self) -> LocalAddress
fn local_address(&self) -> LocalAddress
Returns the local address for the given handle
sourceimpl Hash for RemoteAddress
impl Hash for RemoteAddress
sourceimpl PartialEq<RemoteAddress> for RemoteAddress
impl PartialEq<RemoteAddress> for RemoteAddress
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &RemoteAddress) -> bool
fn ne(&self, other: &RemoteAddress) -> bool
This method tests for !=.
impl Copy for RemoteAddress
impl Eq for RemoteAddress
impl StructuralEq for RemoteAddress
impl StructuralPartialEq for RemoteAddress
Auto Trait Implementations
impl RefUnwindSafe for RemoteAddress
impl Send for RemoteAddress
impl Sync for RemoteAddress
impl Unpin for RemoteAddress
impl UnwindSafe for RemoteAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more