1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! This module defines common traits and enums for the state machine.
//! It provides the core building blocks for defining and executing state
//! machines.
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (C) 2012-2025 Andrei Maltsev
use Future;
use Result;
use CancellationToken;
/// Represents the outcome of a state transition.
/// A trait for defining a state machine.
/// A trait for executing a state machine.