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
//! Fundamental types of the ice-rpc protocol.
//!
//! The module gathers what the protocol and the transport exchange, and
//! **re-exports** the reactive vocabulary from `ice-rpc-rx`, so the transport
//! keeps naming `crate::types::Event` even though the item lives in the stream
//! crate.
//!
//! | Sub-module | Contents |
//! |--------------|-----------------------------------------------------------------|
//! | [`node`] | [`NodeId`] and the PID conversion helper |
//! | [`context`] | [`CallContext`] — the call being served, read-only |
//! | [`header`] | [`RpcHeader`] (zero-copy `user_header`), [`EventKind`] |
//! | [`wire`] | [`WireEvent`] — the serializable event the transport publishes |
//! | [`consts`] | Name-length limits shared with `ice-rpc-macros` |
//!
//! [`Event`], [`ObservableError`], [`Observable`], [`RpcError`], [`Sender`] and
//! the channel constructors are defined by [`ice_rpc_rx`]; they are re-exported
//! here and on the crate root so a consumer sees the same paths as before.
pub use *;
pub use ;
// The transport installs the token of a call around every poll of its task; the
// accessor itself is public, the installer stays inside the crate.
pub use install_call_cancellation;
pub use ;
pub use *;
pub use WireEvent;
// Used by the transport to normalize a received `WireEvent` into an `Event`.
pub use normalize_wire_event;
// The reactive vocabulary, re-exported so this module stays the single place
// from which the transport and the generated code name their types.
pub use ;