Struct qapi_qmp::InetSocketAddress
source · 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 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 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 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 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