Skip to main content

Crate windows_services

Crate windows_services 

Source
Expand description

§windows-services

The windows-services crate implements Windows service processes.

Start by adding the following to your Cargo.toml file:

[dependencies.windows-services]
version = "0.100"
windows_services::Service::new()
    .can_pause()
    .can_stop()
    .run(|_service, _command| {})
    .unwrap();

Structs§

ExtendedCommand
A command not specifically covered by the Command enum.
Service
Configures and runs a Windows service.

Enums§

Command
A command sent by the service control manager.
State
A service state, including transitional states.