Enum ddmw_client::conn::ProtAddr [−][src]
Expand description
Protocol selection enum.
Variants
Tcp(String)Connect over TCP/IP. The String is a socket address in the form
<host>:<port>.
Tuple Fields of Tcp
0: StringUds(PathBuf)Connect over unix local domain sockets. The PathBuf is a file system
socket path.
Tuple Fields of Uds
0: PathBufImplementations
Trait Implementations
Parse a &str and turn it into a ProtAddr.
On unixy platforms if the addr contains one or more slashes (/) it is
assumed the address is a unix local domain socket address. Otherwise
it is assumed the address is an IP socket address, in the form
<host>:<port>.