pub struct AddressPort { /* private fields */ }
Expand description
Address contained in a ConnectUdp and ConnectedUdp cell which can represent a hostname, IPv4 or IPv6 along a port number.
Trait Implementations
sourceimpl Clone for AddressPort
impl Clone for AddressPort
sourcefn clone(&self) -> AddressPort
fn clone(&self) -> AddressPort
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 AddressPort
impl Debug for AddressPort
sourceimpl PartialEq<AddressPort> for AddressPort
impl PartialEq<AddressPort> for AddressPort
sourcefn eq(&self, other: &AddressPort) -> bool
fn eq(&self, other: &AddressPort) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AddressPort) -> bool
fn ne(&self, other: &AddressPort) -> bool
This method tests for !=
.
sourceimpl Readable for AddressPort
impl Readable for AddressPort
sourceimpl Writeable for AddressPort
impl Writeable for AddressPort
sourcefn write_onto<B: Writer + ?Sized>(&self, w: &mut B)
fn write_onto<B: Writer + ?Sized>(&self, w: &mut B)
Encode this object into the writer b
.
impl Eq for AddressPort
impl StructuralEq for AddressPort
impl StructuralPartialEq for AddressPort
Auto Trait Implementations
impl RefUnwindSafe for AddressPort
impl Send for AddressPort
impl Sync for AddressPort
impl Unpin for AddressPort
impl UnwindSafe for AddressPort
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
sourceimpl<W> WriteableOnce for W where
W: Writeable,
impl<W> WriteableOnce for W where
W: Writeable,
sourcefn write_into<B>(self, b: &mut B) where
B: Writer + ?Sized,
fn write_into<B>(self, b: &mut B) where
B: Writer + ?Sized,
Encode this object into the writer b
, and consume it.