pub struct SocketAddrs(/* private fields */);Available on crate feature
client only.Expand description
A collection of socket addresses.
Trait Implementations§
Source§impl Clone for SocketAddrs
impl Clone for SocketAddrs
Source§fn clone(&self) -> SocketAddrs
fn clone(&self) -> SocketAddrs
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SocketAddrs
impl Debug for SocketAddrs
Source§impl Default for SocketAddrs
impl Default for SocketAddrs
Source§fn default() -> SocketAddrs
fn default() -> SocketAddrs
Returns the “default value” for a type. Read more
Source§impl FromIterator<SocketAddr> for SocketAddrs
impl FromIterator<SocketAddr> for SocketAddrs
Source§fn from_iter<T: IntoIterator<Item = SocketAddr>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = SocketAddr>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl<'a> IntoIterator for &'a SocketAddrs
impl<'a> IntoIterator for &'a SocketAddrs
Source§impl IntoIterator for SocketAddrs
impl IntoIterator for SocketAddrs
Auto Trait Implementations§
impl Freeze for SocketAddrs
impl RefUnwindSafe for SocketAddrs
impl Send for SocketAddrs
impl Sync for SocketAddrs
impl Unpin for SocketAddrs
impl UnwindSafe for SocketAddrs
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§impl<R> FirstAddrExt for R
impl<R> FirstAddrExt for R
Source§fn first_addr(self) -> FirstAddrResolver<Self>where
Self: Sized,
fn first_addr(self) -> FirstAddrResolver<Self>where
Self: Sized,
Available on crate feature
client only.Convert this resolver into a
FirstAddrResolver. Read more