Type Definition mpd_client::ConnectResult[][src]

type ConnectResult = Result<(Client, StateChanges), ProtocolError>;

Result returned by a connection attempt.

If successful, this contains a Client which you can use to issue commands, and a StateChanges value, which is a stream that receives notifications from the server.