Struct qapi_qmp::InetSocketAddress
source · [−]pub struct InetSocketAddress {
pub base: InetSocketAddressBase,
pub keep_alive: Option<bool>,
pub numeric: Option<bool>,
pub ipv6: Option<bool>,
pub mptcp: Option<bool>,
pub to: Option<u16>,
pub ipv4: Option<bool>,
}Fields
base: InetSocketAddressBasekeep_alive: Option<bool>numeric: Option<bool>ipv6: Option<bool>mptcp: Option<bool>to: Option<u16>ipv4: Option<bool>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 more
sourceimpl 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 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 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<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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more