Enum qapi_qmp::SocketAddressLegacy
source · pub enum SocketAddressLegacy {
fd(StringWrapper),
inet(InetSocketAddressWrapper),
unix(UnixSocketAddressWrapper),
vsock(VsockSocketAddressWrapper),
}
Variants§
fd(StringWrapper)
inet(InetSocketAddressWrapper)
unix(UnixSocketAddressWrapper)
vsock(VsockSocketAddressWrapper)
Implementations§
source§impl SocketAddressLegacy
impl SocketAddressLegacy
pub fn type_(&self) -> SocketAddressType
Trait Implementations§
source§impl Clone for SocketAddressLegacy
impl Clone for SocketAddressLegacy
source§fn clone(&self) -> SocketAddressLegacy
fn clone(&self) -> SocketAddressLegacy
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 SocketAddressLegacy
impl Debug for SocketAddressLegacy
source§impl<'de> Deserialize<'de> for SocketAddressLegacy
impl<'de> Deserialize<'de> for SocketAddressLegacy
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 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 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 From<String> for SocketAddressLegacy
impl From<String> for SocketAddressLegacy
source§impl From<StringWrapper> for SocketAddressLegacy
impl From<StringWrapper> for SocketAddressLegacy
source§fn from(val: StringWrapper) -> Self
fn from(val: StringWrapper) -> Self
Converts to this type from the input type.
source§impl From<UnixSocketAddress> for SocketAddressLegacy
impl From<UnixSocketAddress> for SocketAddressLegacy
source§fn from(val: UnixSocketAddress) -> Self
fn from(val: UnixSocketAddress) -> Self
Converts to this type from the input type.
source§impl From<UnixSocketAddressWrapper> for SocketAddressLegacy
impl From<UnixSocketAddressWrapper> for SocketAddressLegacy
source§fn from(val: UnixSocketAddressWrapper) -> Self
fn from(val: UnixSocketAddressWrapper) -> Self
Converts to this type from the input type.
source§impl From<VsockSocketAddress> for SocketAddressLegacy
impl From<VsockSocketAddress> for SocketAddressLegacy
source§fn from(val: VsockSocketAddress) -> Self
fn from(val: VsockSocketAddress) -> Self
Converts to this type from the input type.
source§impl From<VsockSocketAddressWrapper> for SocketAddressLegacy
impl From<VsockSocketAddressWrapper> for SocketAddressLegacy
source§fn from(val: VsockSocketAddressWrapper) -> Self
fn from(val: VsockSocketAddressWrapper) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SocketAddressLegacy
impl Send for SocketAddressLegacy
impl Sync for SocketAddressLegacy
impl Unpin for SocketAddressLegacy
impl UnwindSafe for SocketAddressLegacy
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