Go to file
Wolfgang Bumiller bd79dd8f02 api: make method body an associated type
This way we do not need to carry the body type into the CLI
router and can instead just require the body to be
Into<Bytes>.

This also makes more sense, because previously a method
could in theory implement multiple ApiMethodInfo types with
different bodies which seems pointless.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-06-19 15:16:40 +02:00
api-test add make apitest 2019-06-18 17:53:43 +02:00
proxmox cargo fmt --all 2019-06-12 09:48:30 +02:00
proxmox-api api: make method body an associated type 2019-06-19 15:16:40 +02:00
proxmox-api-macro api: make method body an associated type 2019-06-19 15:16:40 +02:00
proxmox-sys cargo fmt --all 2019-06-12 09:48:30 +02:00
proxmox-tools tools: add doc tests for bin_to_hex, hex_to_bin 2019-06-19 14:14:54 +02:00
.gitignore initial import, starting with vec & io helpers 2019-06-06 14:00:25 +02:00
Cargo.toml add an api-test module 2019-06-12 15:54:52 +02:00
Makefile add make apitest 2019-06-18 17:53:43 +02:00
rust-toolchain initial import, starting with vec & io helpers 2019-06-06 14:00:25 +02:00
rustfmt.toml initial import, starting with vec & io helpers 2019-06-06 14:00:25 +02:00