pub struct AddrAndPortFormatter<A, P, I: Ip> { /* private fields */ }
Expand description
Provides a Display
implementation for printing an address and a port.
Implementations§
Trait Implementations§
Source§impl<A: Clone, P: Clone, I: Clone + Ip> Clone for AddrAndPortFormatter<A, P, I>
impl<A: Clone, P: Clone, I: Clone + Ip> Clone for AddrAndPortFormatter<A, P, I>
Source§fn clone(&self) -> AddrAndPortFormatter<A, P, I>
fn clone(&self) -> AddrAndPortFormatter<A, P, I>
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<A: PartialEq, P: PartialEq, I: PartialEq + Ip> PartialEq for AddrAndPortFormatter<A, P, I>
impl<A: PartialEq, P: PartialEq, I: PartialEq + Ip> PartialEq for AddrAndPortFormatter<A, P, I>
Source§fn eq(&self, other: &AddrAndPortFormatter<A, P, I>) -> bool
fn eq(&self, other: &AddrAndPortFormatter<A, P, I>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<A: Copy, P: Copy, I: Copy + Ip> Copy for AddrAndPortFormatter<A, P, I>
impl<A: Eq, P: Eq, I: Eq + Ip> Eq for AddrAndPortFormatter<A, P, I>
impl<A, P, I: Ip> StructuralPartialEq for AddrAndPortFormatter<A, P, I>
Auto Trait Implementations§
impl<A, P, I> Freeze for AddrAndPortFormatter<A, P, I>
impl<A, P, I> RefUnwindSafe for AddrAndPortFormatter<A, P, I>
impl<A, P, I> Send for AddrAndPortFormatter<A, P, I>
impl<A, P, I> Sync for AddrAndPortFormatter<A, P, I>
impl<A, P, I> Unpin for AddrAndPortFormatter<A, P, I>
impl<A, P, I> UnwindSafe for AddrAndPortFormatter<A, P, I>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)