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
//! [`CapabilityEngine`] — loads and invokes a validated Wasm component's handler export.
use BoxFuture;
use crate::;
/// Loads a validated component and invokes its handler export.
///
/// Implementations own instantiation, isolation, and resource-limit
/// enforcement — none of that is expressed in this trait, matching every
/// other port in this crate (the contract is the behavior, not the
/// mechanism). Callers must have already validated the same manifest/
/// bytes against ADR-001's own two-gate contract first — `load` is not
/// required to re-run the manifest-level grant check, only to fail if the
/// bytes cannot actually be instantiated. Zero implementation here.