Struct mpdpopm::clients::IdleClient[][src]

pub struct IdleClient { /* fields omitted */ }
Expand description

mpdpopm client for “idle” connections.

I should probably make this generic over all types implementing AsyncRead & AsyncWrite.

Implementations

Create a new mpdpopm::client::IdleClient instance from something that implements ToSocketAddrs

Subscribe to an mpd channel

Enter idle state– return the subsystem that changed, causing the connection to return. NB this may block for some time.

This method simply returns the results of a “readmessages” as a HashMap of channel name to Vec of (String) messages for that channel

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.