fn assert_command<C>(expected: Vec<&'static str>, command: C)
where
    C: Command<Resp2Frame> + Command<Resp3Frame>,
{
    assert_resp2_command(expected.clone(), command.encode());
    assert_resp3_command(expected.clone(), command.encode());
}
/// Asserts RESP2 + RESP3 command arguments
Asserts RESP2 + RESP3 command arguments
Asserts RESP2 + RESP3 command arguments
fn assert_command<C>(expected: Vec<&'static str>, command: C)
where
    C: Command<Resp2Frame> + Command<Resp3Frame>,
{
    assert_resp2_command(expected.clone(), command.encode());
    assert_resp3_command(expected.clone(), command.encode());
}
fn assert_command < C > ( expected : Vec < & ' static str > , command : C ) where C : Command < Resp2Frame > + Command < Resp3Frame > , { assert_resp2_command ( expected . clone ( ) , command . encode ( ) ) ; assert_resp3_command ( expected . clone ( ) , command . encode ( ) ) ; }
Asserts RESP2 + RESP3 command arguments
Asserts RESP2 + RESP3 command arguments
expected
Vec<&'static str>
command
C
expected
Vec<&'static str>
command
C