intrepid_core/
action.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mod actionable;
mod active;
mod candidate;
mod handler;
mod ready;
mod stateless;

pub use actionable::Actionable;
pub use active::{Active, ActiveAction};
pub use candidate::CandidateAction;
pub use handler::Handler;
pub use ready::{Ready, ReadyAction};
pub use stateless::Stateless;

/// The Action struct wraps an action state that describes the progression of a
/// handler from a function-like thing into a full-blown frame service.
#[derive(Clone)]
pub struct Action<ActionState: Clone> {
    action_state: ActionState,
}