Enable clippy in all Rust targets and ensure that all existing code is clippy-clean (#2341)

Client: rs
diff --git a/lib/rs/Makefile.am b/lib/rs/Makefile.am
index dd1c03b..4abdff8 100644
--- a/lib/rs/Makefile.am
+++ b/lib/rs/Makefile.am
@@ -32,10 +32,12 @@
 
 check-local:
 	$(CARGO) fmt --all -- --check
+	$(CARGO) clippy --all -- -D warnings
 	$(CARGO) test
 
 all-local:
 	$(CARGO) fmt --all -- --check
+	$(CARGO) clippy --all -- -D warnings
 	$(CARGO) build
 
 clean-local: