Skip to content

Commit

Permalink
formated files
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-cavalcanti committed Oct 10, 2023
1 parent d42eb38 commit bb1c915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/remote_api_client/remote_api_client_trait.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use serde_json::Value as JsonValue;

use crate::{RemoteAPIError, ZmqRequest, RawRequest};
use crate::{RawRequest, RemoteAPIError, ZmqRequest};

pub trait RemoteApiClientInterface {
fn send_raw_request(&self, request: Vec<u8>) -> Result<JsonValue, RemoteAPIError>;
Expand Down
4 changes: 1 addition & 3 deletions src/zmq_requests/zmq_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ impl ZmqRequest {
lang: LANG.into(),
}
}
pub fn wait_request(uuid: String)->ZmqRequest{

pub fn wait_request(uuid: String) -> ZmqRequest {
ZmqRequest {
uuid,
func: "_*executed*_".into(),
args: vec![],
ver: VERSION,
lang: LANG.into(),
}

}

pub fn end_request(uuid: String) -> ZmqRequest {
Expand Down

0 comments on commit bb1c915

Please sign in to comment.