pub struct InetSocketAddress {
pub base: InetSocketAddressBase,
pub ipv4: Option<bool>,
pub ipv6: Option<bool>,
pub keep_alive: Option<bool>,
pub mptcp: Option<bool>,
pub numeric: Option<bool>,
pub to: Option<u16>,
}
Fields§
§base: InetSocketAddressBase
§ipv4: Option<bool>
§ipv6: Option<bool>
§keep_alive: Option<bool>
§mptcp: Option<bool>
§numeric: Option<bool>
§to: Option<u16>
Trait Implementations§
Source§impl AsRef<InetSocketAddress> for InetSocketAddressWrapper
impl AsRef<InetSocketAddress> for InetSocketAddressWrapper
Source§fn as_ref(&self) -> &InetSocketAddress
fn as_ref(&self) -> &InetSocketAddress
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<InetSocketAddressBase> for InetSocketAddress
impl AsRef<InetSocketAddressBase> for InetSocketAddress
Source§fn as_ref(&self) -> &InetSocketAddressBase
fn as_ref(&self) -> &InetSocketAddressBase
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InetSocketAddress
impl Clone for InetSocketAddress
Source§fn clone(&self) -> InetSocketAddress
fn clone(&self) -> InetSocketAddress
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 InetSocketAddress
impl Debug for InetSocketAddress
Source§impl<'de> Deserialize<'de> for InetSocketAddress
impl<'de> Deserialize<'de> for InetSocketAddress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<InetSocketAddress> for MigrationAddress
impl From<InetSocketAddress> for MigrationAddress
Source§fn from(val: InetSocketAddress) -> Self
fn from(val: InetSocketAddress) -> Self
Converts to this type from the input type.
Source§impl From<InetSocketAddress> for SocketAddress
impl From<InetSocketAddress> for SocketAddress
Source§fn from(val: InetSocketAddress) -> Self
fn from(val: InetSocketAddress) -> Self
Converts to this type from the input type.
Source§impl From<InetSocketAddress> for SocketAddressLegacy
impl From<InetSocketAddress> for SocketAddressLegacy
Source§fn from(val: InetSocketAddress) -> Self
fn from(val: InetSocketAddress) -> Self
Converts to this type from the input type.
Source§impl<T: Into<InetSocketAddressBase>> From<T> for InetSocketAddress
impl<T: Into<InetSocketAddressBase>> From<T> for InetSocketAddress
Auto Trait Implementations§
impl Freeze for InetSocketAddress
impl RefUnwindSafe for InetSocketAddress
impl Send for InetSocketAddress
impl Sync for InetSocketAddress
impl Unpin for InetSocketAddress
impl UnwindSafe for InetSocketAddress
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