Refactor command to make is shorter
Compare changes
- DISSOUBRAY Nathan authored
+ 36
− 122
@@ -160,40 +160,39 @@ async fn command_res_match(
@@ -226,13 +225,7 @@ impl SerNetworkInfo {
@@ -240,27 +233,12 @@ pub(crate) async fn remove_listener(
@@ -268,13 +246,7 @@ pub(crate) async fn dial(
@@ -282,13 +254,7 @@ pub(crate) async fn add_peer(
@@ -296,54 +262,29 @@ pub(crate) async fn start_provide(
@@ -351,24 +292,12 @@ pub(crate) async fn get_providers(
@@ -446,17 +375,8 @@ pub(crate) async fn put_record(
@@ -464,13 +384,7 @@ pub(crate) async fn get_record(