pub struct SocketAddrV4 { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for SocketAddrV4
impl Clone for SocketAddrV4
Source§fn clone(&self) -> SocketAddrV4
fn clone(&self) -> SocketAddrV4
Returns a duplicate 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 Debug for SocketAddrV4
impl Debug for SocketAddrV4
Source§impl Display for SocketAddrV4
impl Display for SocketAddrV4
Source§impl From<SocketAddrV4> for SocketAddr
impl From<SocketAddrV4> for SocketAddr
Source§fn from(sock4: SocketAddrV4) -> SocketAddr
fn from(sock4: SocketAddrV4) -> SocketAddr
Converts to this type from the input type.
Source§impl FromStr for SocketAddrV4
impl FromStr for SocketAddrV4
Source§impl PartialEq for SocketAddrV4
impl PartialEq for SocketAddrV4
Source§impl ToSocketAddrs for SocketAddrV4
impl ToSocketAddrs for SocketAddrV4
Source§type Iter = IntoIter<SocketAddr>
type Iter = IntoIter<SocketAddr>
Returned iterator over socket addresses which this type may correspond
to.
Source§fn to_socket_addrs(&self) -> Result<IntoIter<SocketAddr>>
fn to_socket_addrs(&self) -> Result<IntoIter<SocketAddr>>
Converts this object to an iterator of resolved
SocketAddr
s. Read moreimpl Copy for SocketAddrV4
impl Eq for SocketAddrV4
impl StructuralPartialEq for SocketAddrV4
Auto Trait Implementations§
impl Freeze for SocketAddrV4
impl RefUnwindSafe for SocketAddrV4
impl Send for SocketAddrV4
impl Sync for SocketAddrV4
impl Unpin for SocketAddrV4
impl UnwindSafe for SocketAddrV4
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