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