peace_resources 0.0.13

Runtime resources for the peace automation framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Type states for [`Resources`].
//!
//! This allows compile time checking that [`Resources`] is in the correct state
//! before a particular `TryFnSpec`, `ApplyFns`, or `CleanOpSpec`
//! is executed with it.
//!
//! [`Resources`]: crate::Resources

/// [`Resources`] is created but not setup.
///
/// [`Resources`]: crate::Resources
#[derive(Debug)]
pub struct Empty;

/// `Item::setup` has been run over [`Resources`].
#[derive(Debug)]
pub struct SetUp;