appcore_provider/role.rs
1// =============================================================================
2// #######
3// ### ### F: role.rs
4// ## ## ## ## P: AppCore-Runtime
5// ## ##
6// C: 2026/07/22 15:41:18 by dnettoRaw
7// ## ## ## ## U: 2026/07/24 16:07:49 by dnettoRaw
8// ########### S: 1.0.1-rc.8
9// =============================================================================
10
11/// Runtime infrastructure role fulfilled by a provider.
12#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
13pub enum ProviderRole {
14 /// Durable runtime or application storage.
15 Storage,
16 /// Distributed presence, discovery and leadership coordination.
17 ControlPlane,
18 /// Runtime coordination persistence owned by a control-plane deployment.
19 CoordinationStore,
20 /// Durable distributed job coordination.
21 Job,
22 /// Installation secret resolution.
23 Secret,
24 /// Generic peer discovery source.
25 Discovery,
26 /// Direct peer transport.
27 PeerTransport,
28 /// Command transport.
29 CommandTransport,
30 /// Application artifact and update source.
31 Update,
32 /// Application-owned database adapter.
33 Database,
34 /// Named installation adapter.
35 Adapter,
36}