diff --git a/src/server/command_socket.rs b/src/server/command_socket.rs index 7ef6b88f..08e59173 100644 --- a/src/server/command_socket.rs +++ b/src/server/command_socket.rs @@ -11,7 +11,7 @@ use serde_json::Value; use nix::sys::socket; /// Listens on a Unix Socket to handle simple command asynchronously -pub fn create_control_socket(path: P, func: F) -> Result, Error> +fn create_control_socket(path: P, func: F) -> Result, Error> where P: Into, F: Fn(Value) -> Result + Send + Sync + 'static,