Structs§
Enums§
Functions§
- get_
log_ file - handle_
list_ watches - Returns a list of all current watches as a
DaemonResponse::ListWatches
. - handle_
request - Handles a daemon request and sends the resulting
DaemonResponse
back to the client. All errors inside handlers are mapped toDaemonResponse::Error
. - handle_
rm_ watch - Rm a watch by ID if it exists in the application state.
- handle_
stop_ watch - Stops a watch by ID if it exists in the application state.
- handle_
up_ watch - Run a watch by ID if it exists in the application state.