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: InetSocketAddressBaseipv4: Option<bool>ipv6: Option<bool>keep_alive: Option<bool>mptcp: Option<bool>numeric: Option<bool>to: Option<u16>Trait Implementations
sourceimpl AsRef<InetSocketAddress> for InetSocketAddressWrapper
impl AsRef<InetSocketAddress> for InetSocketAddressWrapper
sourcefn as_ref(&self) -> &InetSocketAddress
fn as_ref(&self) -> &InetSocketAddress
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<InetSocketAddressBase> for InetSocketAddress
impl AsRef<InetSocketAddressBase> for InetSocketAddress
sourcefn as_ref(&self) -> &InetSocketAddressBase
fn as_ref(&self) -> &InetSocketAddressBase
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InetSocketAddress
impl Clone for InetSocketAddress
sourcefn clone(&self) -> InetSocketAddress
fn clone(&self) -> InetSocketAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InetSocketAddress
impl Debug for InetSocketAddress
sourceimpl<'de> Deserialize<'de> for InetSocketAddress
impl<'de> Deserialize<'de> for InetSocketAddress
sourcefn 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
sourceimpl From<InetSocketAddress> for SocketAddress
impl From<InetSocketAddress> for SocketAddress
sourcefn from(val: InetSocketAddress) -> Self
fn from(val: InetSocketAddress) -> Self
Converts to this type from the input type.
sourceimpl From<InetSocketAddress> for SocketAddressLegacy
impl From<InetSocketAddress> for SocketAddressLegacy
sourcefn from(val: InetSocketAddress) -> Self
fn from(val: InetSocketAddress) -> Self
Converts to this type from the input type.
sourceimpl<T: Into<InetSocketAddressBase>> From<T> for InetSocketAddress
impl<T: Into<InetSocketAddressBase>> From<T> for InetSocketAddress
sourceimpl Serialize for InetSocketAddress
impl Serialize 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more