Struct qapi_qmp::InetSocketAddressWrapper
source · #[repr(transparent)]pub struct InetSocketAddressWrapper {
pub data: InetSocketAddress,
}
Fields§
§data: InetSocketAddress
Implementations§
source§impl InetSocketAddressWrapper
impl InetSocketAddressWrapper
pub fn into_inner(self) -> InetSocketAddress
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 Clone for InetSocketAddressWrapper
impl Clone for InetSocketAddressWrapper
source§fn clone(&self) -> InetSocketAddressWrapper
fn clone(&self) -> InetSocketAddressWrapper
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 InetSocketAddressWrapper
impl Debug for InetSocketAddressWrapper
source§impl Deref for InetSocketAddressWrapper
impl Deref for InetSocketAddressWrapper
source§impl<'de> Deserialize<'de> for InetSocketAddressWrapper
impl<'de> Deserialize<'de> for InetSocketAddressWrapper
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<InetSocketAddressWrapper> for SocketAddressLegacy
impl From<InetSocketAddressWrapper> for SocketAddressLegacy
source§fn from(val: InetSocketAddressWrapper) -> Self
fn from(val: InetSocketAddressWrapper) -> Self
Converts to this type from the input type.
source§impl<T: Into<InetSocketAddress>> From<T> for InetSocketAddressWrapper
impl<T: Into<InetSocketAddress>> From<T> for InetSocketAddressWrapper
Auto Trait Implementations§
impl Freeze for InetSocketAddressWrapper
impl RefUnwindSafe for InetSocketAddressWrapper
impl Send for InetSocketAddressWrapper
impl Sync for InetSocketAddressWrapper
impl Unpin for InetSocketAddressWrapper
impl UnwindSafe for InetSocketAddressWrapper
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)