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
sourceimpl SocketAddressLegacy
impl SocketAddressLegacy
pub fn type_(&self) -> SocketAddressType
Trait Implementations
sourceimpl Clone for SocketAddressLegacy
impl Clone for SocketAddressLegacy
sourcefn clone(&self) -> SocketAddressLegacy
fn clone(&self) -> SocketAddressLegacy
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 SocketAddressLegacy
impl Debug for SocketAddressLegacy
sourceimpl<'de> Deserialize<'de> for SocketAddressLegacy
impl<'de> Deserialize<'de> for SocketAddressLegacy
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<InetSocketAddressWrapper> for SocketAddressLegacy
impl From<InetSocketAddressWrapper> for SocketAddressLegacy
sourcefn from(val: InetSocketAddressWrapper) -> Self
fn from(val: InetSocketAddressWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<String> for SocketAddressLegacy
impl From<String> for SocketAddressLegacy
sourceimpl From<StringWrapper> for SocketAddressLegacy
impl From<StringWrapper> for SocketAddressLegacy
sourcefn from(val: StringWrapper) -> Self
fn from(val: StringWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<UnixSocketAddress> for SocketAddressLegacy
impl From<UnixSocketAddress> for SocketAddressLegacy
sourcefn from(val: UnixSocketAddress) -> Self
fn from(val: UnixSocketAddress) -> Self
Converts to this type from the input type.
sourceimpl From<UnixSocketAddressWrapper> for SocketAddressLegacy
impl From<UnixSocketAddressWrapper> for SocketAddressLegacy
sourcefn from(val: UnixSocketAddressWrapper) -> Self
fn from(val: UnixSocketAddressWrapper) -> Self
Converts to this type from the input type.
sourceimpl From<VsockSocketAddress> for SocketAddressLegacy
impl From<VsockSocketAddress> for SocketAddressLegacy
sourcefn from(val: VsockSocketAddress) -> Self
fn from(val: VsockSocketAddress) -> Self
Converts to this type from the input type.
sourceimpl From<VsockSocketAddressWrapper> for SocketAddressLegacy
impl From<VsockSocketAddressWrapper> for SocketAddressLegacy
sourcefn from(val: VsockSocketAddressWrapper) -> Self
fn from(val: VsockSocketAddressWrapper) -> Self
Converts to this type from the input type.
sourceimpl Serialize for SocketAddressLegacy
impl Serialize for SocketAddressLegacy
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
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