Enum qapi_qmp::SocketAddress
[−]
[src]
pub enum SocketAddress { fd { str: String, }, inet { numeric: Option<bool>, to: Option<u16>, ipv4: Option<bool>, ipv6: Option<bool>, }, vsock { cid: String, port: String, }, unix { path: String, }, }
Variants
fd
Fields of fd
str: String |
inet
Fields of inet
numeric: Option<bool> | |
to: Option<u16> | |
ipv4: Option<bool> | |
ipv6: Option<bool> |
vsock
Fields of vsock
cid: String | |
port: String |
unix
Fields of unix
path: String |
Methods
impl SocketAddress
[src]
pub fn type_(&self) -> SocketAddressType
[src]
Trait Implementations
impl Debug for SocketAddress
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SocketAddress
[src]
fn clone(&self) -> SocketAddress
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more