Enum qapi_qmp::SocketAddress [−][src]
pub enum SocketAddress {
unix {
unix: UnixSocketAddress,
},
inet {
inet: InetSocketAddress,
},
fd {
fd: String,
},
vsock {
vsock: VsockSocketAddress,
},
}Variants
unixFields of unix
unix: UnixSocketAddress |
inetFields of inet
inet: InetSocketAddress |
fdFields of fd
fd: String |
vsockFields of vsock
vsock: VsockSocketAddress |
Methods
impl SocketAddress[src]
impl SocketAddresspub fn type_(&self) -> SocketAddressType[src]
pub fn type_(&self) -> SocketAddressTypeTrait Implementations
impl Debug for SocketAddress[src]
impl Debug for SocketAddressfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for SocketAddress[src]
impl Clone for SocketAddressfn clone(&self) -> SocketAddress[src]
fn clone(&self) -> SocketAddressReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for SocketAddress
impl Send for SocketAddressimpl Sync for SocketAddress
impl Sync for SocketAddress