ServiceControlsAccepted
Controls a running service accepts.
Reported by
Status.controls_accepted; a service that
does not accept a control ignores it.
Example
let status = service.query_status()
if status.controls_accepted.contains(:STOP:)
service.control :STOP:
Inherits from: Iterable[AcceptedControl]
Implements: std.FlagSet[AcceptedControl]
Fields
Methods
from_int value -> ServiceControlsAccepted
Builds a value from a native integer, preserving every bit including ones this type does not name.
Parameters
| Name | Type | Description |
|---|---|---|
value |
Int |
Native controls-accepted mask. |