Struct s2n_quic_transport::path::LocalAddress
source · [−]pub struct LocalAddress(pub SocketAddress);
Tuple Fields
0: SocketAddress
Methods from Deref<Target = SocketAddress>
Trait Implementations
sourceimpl Clone for LocalAddress
impl Clone for LocalAddress
sourcefn clone(&self) -> LocalAddress
fn clone(&self) -> LocalAddress
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 LocalAddress
impl Debug for LocalAddress
sourceimpl Default for LocalAddress
impl Default for LocalAddress
sourcefn default() -> LocalAddress
fn default() -> LocalAddress
Returns the “default value” for a type. Read more
sourceimpl Deref for LocalAddress
impl Deref for LocalAddress
type Target = SocketAddress
type Target = SocketAddress
The resulting type after dereferencing.
sourcefn deref(&self) -> &<LocalAddress as Deref>::Target
fn deref(&self) -> &<LocalAddress as Deref>::Target
Dereferences the value.
sourceimpl DerefMut for LocalAddress
impl DerefMut for LocalAddress
sourcefn deref_mut(&mut self) -> &mut <LocalAddress as Deref>::Target
fn deref_mut(&mut self) -> &mut <LocalAddress as Deref>::Target
Mutably dereferences the value.
sourceimpl From<SocketAddress> for LocalAddress
impl From<SocketAddress> for LocalAddress
sourcefn from(value: SocketAddress) -> LocalAddress
fn from(value: SocketAddress) -> LocalAddress
Converts to this type from the input type.
sourceimpl From<SocketAddressV4> for LocalAddress
impl From<SocketAddressV4> for LocalAddress
sourcefn from(value: SocketAddressV4) -> LocalAddress
fn from(value: SocketAddressV4) -> LocalAddress
Converts to this type from the input type.
sourceimpl From<SocketAddressV6> for LocalAddress
impl From<SocketAddressV6> for LocalAddress
sourcefn from(value: SocketAddressV6) -> LocalAddress
fn from(value: SocketAddressV6) -> LocalAddress
Converts to this type from the input type.
sourceimpl Hash for LocalAddress
impl Hash for LocalAddress
sourceimpl PartialEq<LocalAddress> for LocalAddress
impl PartialEq<LocalAddress> for LocalAddress
sourcefn eq(&self, other: &LocalAddress) -> bool
fn eq(&self, other: &LocalAddress) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LocalAddress) -> bool
fn ne(&self, other: &LocalAddress) -> bool
This method tests for !=
.
impl Copy for LocalAddress
impl Eq for LocalAddress
impl StructuralEq for LocalAddress
impl StructuralPartialEq for LocalAddress
Auto Trait Implementations
impl RefUnwindSafe for LocalAddress
impl Send for LocalAddress
impl Sync for LocalAddress
impl Unpin for LocalAddress
impl UnwindSafe for LocalAddress
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more