Expand description
Contains code for establishing a service
Re-exports§
pub use log;
Macros§
- Dispatch
Async - This macro is for the async dispatch on a linux service
- Service
Macro - The macro generates the service function required
Structs§
- Service
- Represents a service on the system
- Service
Config - The configuration for constructing a Service.
- Session
- A placeholder, not currently used
Enums§
- Create
Error - Errors that can occur when creating a service
- LogLevel
- The various levels of log, increasing in severity
- Service
Event - The events that can be sent to the service handler
- Start
Stop Error - Errors that can occur when interfacing with systemctl
Type Aliases§
- Dispatch
Fn - Dummy function for uniformity to windows