| 70 | |
| 71 | #[derive(PartialEq, Eq, Clone, Copy, Debug)] |
| 72 | pub enum Mode { |
| 73 | /// The handlers run in-process (libatomic, no socket, no daemon). |
| 74 | Local, |
| 75 | /// The handlers run in the atomicd transport over the socket (D4). |
| 76 | Reactor, |
| 77 | } |
| 78 | |
| 79 | /// Resolve the service mode from the environment. See the module docs: |
| 80 | /// local is the default; unknown values route local (no socket probing — |
no outgoing calls
no test coverage detected