Enum mpdpopm::config::Connection [−][src]
Expand description
[mpdpopm] can communicate with MPD over either a local Unix socket, or over regular TCP
Variants
Local Unix socket– payload is the path to the socket
Fields of Local
path: PathBuf
TCP– payload is the hostname & port number
Trait Implementations
fn 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.