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
//! # Primitives
//!
//! Shared types and traits used across all mosaik subsystems.
//!
//! Key types:
//!
//! - [`Digest`] — a blake3 hash used as the basis for all identifiers
//! ([`NetworkId`](crate::NetworkId), [`StreamId`](crate::StreamId),
//! [`GroupId`](crate::GroupId), [`StoreId`](crate::StoreId)).
//! - [`UniqueId`] — a compile-time-friendly identifier derived from a
//! human-readable string via the [`unique_id!`](crate::unique_id) (alias
//! [`id!`](crate::id)) macro.
//! - [`Tag`] — a short label attached to a node's discovery entry for
//! role-based filtering.
//! - [`Datum`] — the marker trait for any type that can be sent over streams or
//! stored in collections (`Serialize + DeserializeOwned + Clone + Send + Sync
//! + 'static`).
//! - [`Ticket`] / [`TicketValidator`] — opaque credentials and their
//! validators, used to gate access to streams and collections (e.g. TEE
//! attestation quotes).
/// Public API re-exported byte types.
pub use ;
/// Internal primitives.
pub use ;
/// Public API re-exported primitives.
pub use ;
/// Used internally as a sentinel type for generic parameters.
use ;
pub type BackoffFactory = ;
/// Used internally as a sealed trait to prevent external implementations of
/// certain traits.
pub