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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
//! The embedding seam's application contract (design §4.2): everything an
//! embedding application supplies; frame-host supplies nothing.
//!
//! An [`AppSpec`] carries the application's component installs, its stated
//! runtime policy (no field has a default — frame supplies no lifecycle
//! defaults), a post-start readiness proof, and the application's fact
//! announcements. [`crate::application::run_application`] boots the full
//! stack around it; frame-host's own binary is the first consumer
//! ([`crate::app`]), the generated scaffold the second.
use ComponentMeta;
use ComponentRegistry;
use RuntimePolicy;
use Error;
use crateAnnouncer;
/// A typed failure raised by the embedding application's own hooks (the
/// readiness proof or the fact announcement), carried into
/// [`crate::error::HostError::Application`].
/// One component the application installs: its manifest, its compiled
/// bytecode, and any support (e.g. FFI) modules that must be loaded before
/// the component starts and unloaded in order at teardown.
/// The post-start readiness proof, run once before the bus boots: the
/// application's own bounded check that its components are genuinely live
/// (e.g. a mailbox liveness probe).
pub type ReadinessProbe = ;
/// The application's boot-time fact announcement, run once after the
/// announcer connects: the application publishes its own real facts (e.g. a
/// stored entity id) through the announcer.
pub type FactAnnouncement =
;
/// Everything an embedding application supplies; frame-host supplies nothing
/// (design §4.2).