Trait mpd_client::commands::CommandList[][src]

pub trait CommandList: Sealed {
    type Response;
}

Types which can be used as a typed command list, using Client::command_list.

This is implemented for tuples of Commands where it returns a tuple of the same size of the responses corresponding to the commands, as well as for a vector of the same command type where it returns a vector of the same length of the responses.

Associated Types

type Response[src]

The responses the list will result in.

Loading content...

Implementations on Foreign Types

impl<C> CommandList for Vec<C> where
    C: Command
[src]

Arbitrarily long sequence of the same command.

impl<A> CommandList for (A,) where
    A: Command
[src]

impl<A, B> CommandList for (A, B) where
    A: Command,
    B: Command
[src]

impl<A, B, C> CommandList for (A, B, C) where
    A: Command,
    B: Command,
    C: Command
[src]

impl<A, B, C, D, E> CommandList for (A, B, C, D, E) where
    A: Command,
    B: Command,
    C: Command,
    D: Command,
    E: Command
[src]

impl<A, B, C, D, E, F> CommandList for (A, B, C, D, E, F) where
    A: Command,
    B: Command,
    C: Command,
    D: Command,
    E: Command,
    F: Command
[src]

impl<A, B, C, D, E, F, G> CommandList for (A, B, C, D, E, F, G) where
    A: Command,
    B: Command,
    C: Command,
    D: Command,
    E: Command,
    F: Command,
    G: Command
[src]

impl<A, B, C, D, E, F, G, H> CommandList for (A, B, C, D, E, F, G, H) where
    A: Command,
    B: Command,
    C: Command,
    D: Command,
    E: Command,
    F: Command,
    G: Command,
    H: Command
[src]

Loading content...

Implementors

Loading content...