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
//! Per-invocation metadata handed to cell handlers.
//!
//! The host passes a cell's identity (and, for commands/events, the sender's
//! identity) into each handler export as split `i64` halves of a 128-bit UUID.
//! The generated glue recombines them into a [`Metadata`] before calling the
//! user's function.
use ;
/// The UUID identity of a cell instance.
///
/// The single shared definition lives in `myrmic-common` so the guest SDK, the
/// host, and the CLI all pass the same type. A nil `Sri` means "no cell" — e.g.
/// the sender of a message that originated outside a cell (CLI, gateway) or of
/// an `init`.
pub use Sri;
/// Metadata describing the context of a handler invocation.