OSDN Git Service

rusty-gd: simplify queued & pending commands
authorZach Johnson <zachoverflow@google.com>
Sun, 13 Dec 2020 10:31:53 +0000 (02:31 -0800)
committerZach Johnson <zachoverflow@google.com>
Fri, 18 Dec 2020 19:33:57 +0000 (11:33 -0800)
commit0772e24798834f41ffbf93c3e8c16d20f222fbcd
tree9a5b5ab72b1060f0ddacdd5d6c6f310bd5dab01f
parent138769cca8c220853303cdfa17e37de4c562916e
rusty-gd: simplify queued & pending commands

since packets are just wrappers around Arcs, copies are somewhat cheap

so no need to keep a struct with just opcode anymore

Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: I6294a728e07b2ee949ef96465b07678845f5115c
gd/rust/hci/src/lib.rs