]> piware.de Git - learn-rust.git/commit
tokio-tutorial-mini-redis: Show return value in client
authorMartin Pitt <martin@piware.de>
Fri, 16 Sep 2022 12:42:09 +0000 (14:42 +0200)
committerMartin Pitt <martin@piware.de>
Fri, 16 Sep 2022 12:42:09 +0000 (14:42 +0200)
commit1c7b4ef0160e6bb52fae703d6cbb8dfab89cbc07
treedd7378459cfd974c529ec23e4dfefc0a1d41b601
parent9dce7d8d57695bd42bc0cdad6dd0f002c67701b8
tokio-tutorial-mini-redis: Show return value in client

Use an oneshot message sender to deliver the result.
tokio-tutorial-mini-redis/src/bin/client.rs