Enum qapi_qmp::SocketAddress [−][src]
pub enum SocketAddress { unix { unix: UnixSocketAddress, }, inet { inet: InetSocketAddress, }, fd { fd: String, }, vsock { vsock: VsockSocketAddress, }, }
Variants
unix
Fields of unix
unix: UnixSocketAddress |
inet
Fields of inet
inet: InetSocketAddress |
fd
Fields of fd
fd: String |
vsock
Fields of vsock
vsock: VsockSocketAddress |
Methods
impl SocketAddress
[src]
impl SocketAddress
pub fn type_(&self) -> SocketAddressType
[src]
pub fn type_(&self) -> SocketAddressType
Trait Implementations
impl Debug for SocketAddress
[src]
impl Debug for SocketAddress
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SocketAddress
[src]
impl Clone for SocketAddress
fn clone(&self) -> SocketAddress
[src]
fn clone(&self) -> SocketAddress
Returns 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 SocketAddress
impl Sync for SocketAddress
impl Sync for SocketAddress