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
//! Form tokens for [`IncludeDef`](super::IncludeDef): which mounting machinery a definition uses.
//!
//! A definition names its form once, and both registration surfaces (a
//! [`Router`](super::Router) chain and a [`BrokerScope`](crate::runtime::BrokerScope)) dispatch
//! on that token, so `include(def)` reads the same wherever it is written.
/// A plain subscriber (`#[subscriber("in")]`).
;
/// A self-deserializing subscriber (a handler taking a
/// [`Deserialized`](crate::runtime::Deserialized) input): no decode, no codec.
;
/// A byte-reply subscriber (a `reply("out")` handler whose reply type is
/// [`Serialized`](crate::runtime::Serialized), on any input): the reply bytes go out as-is
/// through a bare publisher.
;
/// A reply-publishing subscriber (`#[subscriber("in", reply("out"))]`).
;
/// A subscriber whose startup injections need publisher attachments.
///
/// The signature carries `Out(out): Out<impl Publisher[, Marker]>` parameters, so the include
/// site chains `.out(marker, ..)` per slot (the implicit `DefaultSlot` for a single unnamed one).
;
/// A reply-publishing subscriber whose handler also takes `Out` parameters, so the
/// include site chains `.out(marker, ..)` per slot next to the (optional)
/// `.out(Reply, ..)`.
;
/// A byte-reply subscriber whose handler also takes an `Out` parameter.
;
/// A batch subscriber (a handler taking `&[T]`).
;
/// A self-deserializing batch subscriber (a handler taking a batch of
/// [`Deserialized`](crate::runtime::Deserialized) elements): a batch with no decode step.
;
/// A batch reply-publishing subscriber (a `&[T]` handler with `reply("out")`).
;
/// A batch subscriber whose startup injections need a publisher attachment (an `Out`
/// parameter).
;
/// A batch reply-publishing subscriber whose handler also takes `Out` parameters, so the
/// include site chains `.out(marker, ..)` per slot next to the (optional)
/// `.out(Reply, ..)`.
;