Trait CommandsHandlerTrait
Source pub trait CommandsHandlerTrait {
// Required methods
fn get_unix_listener(&mut self) -> &mut UnixListener;
fn get_service_status(
&self,
service_name: &str,
) -> Result<HorustMsgServiceStatus>;
fn update_service_status(
&self,
service_name: &str,
new_status: HorustMsgServiceStatus,
) -> Result<()>;
// Provided methods
fn start(&mut self) -> Result<()> { ... }
fn accept(&mut self) -> Result<()> { ... }
fn handle_connection(
&self,
uds_conn_handler: UdsConnectionHandler,
) -> Result<()> { ... }
}