Trait async_mpd::ResponseHandler[][src]

pub trait ResponseHandler: Sized {
    type Response: Into<WrappedResponse>;
    fn handle<'life0, 'async_trait>(
        reader: &'life0 mut BufReader<TcpStream>
    ) -> Pin<Box<dyn Future<Output = Result<Self::Response, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Response Handler for Cmd

Associated Types

The type of response

Required methods

Implementors