Crate service

Source
Expand description

Contains code for establishing a service

Re-exports§

pub use log;

Macros§

DispatchAsync
This macro is for the async dispatch on a linux service
ServiceMacro
The macro generates the service function required

Structs§

Service
Represents a service on the system
ServiceConfig
The configuration for constructing a Service.
Session
A placeholder, not currently used

Enums§

CreateError
Errors that can occur when creating a service
LogLevel
The various levels of log, increasing in severity
ServiceEvent
The events that can be sent to the service handler
StartStopError
Errors that can occur when interfacing with systemctl

Type Aliases§

DispatchFn
Dummy function for uniformity to windows