Skip to main content

hyprstream_rpc/mnt/hypr-ci-cache/target/hyprstream-docs-3084455262-18147107286/debug/build/hyprstream-rpc-ca022bb370f3b15b/out/
events_capnp.rs

1// @generated by the capnpc-rust plugin to the Cap'n Proto schema compiler.
2// DO NOT EDIT.
3// source: events.capnp
4
5
6pub mod event_envelope {
7  #[derive(Copy, Clone)]
8  pub struct Owned(());
9  impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
10  impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
11  impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
12  impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
13
14  pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
15  impl <> ::core::marker::Copy for Reader<'_,>  {}
16  impl <> ::core::clone::Clone for Reader<'_,>  {
17    fn clone(&self) -> Self { *self }
18  }
19
20  impl <> ::capnp::traits::HasTypeId for Reader<'_,>  {
21    const TYPE_ID: u64 = _private::TYPE_ID;
22  }
23  impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,>  {
24    fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
25      Self { reader,  }
26    }
27  }
28
29  impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a>  {
30    fn from(reader: Reader<'a,>) -> Self {
31      Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
32    }
33  }
34
35  impl <> ::core::fmt::Debug for Reader<'_,>  {
36    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
37      core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
38    }
39  }
40
41  impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,>  {
42    fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
43      ::core::result::Result::Ok(reader.get_struct(default)?.into())
44    }
45  }
46
47  impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,>  {
48    fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
49      self.reader
50    }
51  }
52
53  impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,>  {
54    fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
55      self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
56    }
57  }
58
59  impl <'a,> Reader<'a,>  {
60    pub fn reborrow(&self) -> Reader<'_,> {
61      Self { .. *self }
62    }
63
64    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
65      self.reader.total_size()
66    }
67    #[inline]
68    pub fn get_id(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
69      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
70    }
71    #[inline]
72    pub fn has_id(&self) -> bool {
73      !self.reader.get_pointer_field(0).is_null()
74    }
75    #[inline]
76    pub fn get_timestamp(self) -> i64 {
77      self.reader.get_data_field::<i64>(0)
78    }
79    #[inline]
80    pub fn get_source(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
81      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
82    }
83    #[inline]
84    pub fn has_source(&self) -> bool {
85      !self.reader.get_pointer_field(1).is_null()
86    }
87    #[inline]
88    pub fn get_topic(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
89      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(2), ::core::option::Option::None)
90    }
91    #[inline]
92    pub fn has_topic(&self) -> bool {
93      !self.reader.get_pointer_field(2).is_null()
94    }
95    #[inline]
96    pub fn get_payload(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
97      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(3), ::core::option::Option::None)
98    }
99    #[inline]
100    pub fn has_payload(&self) -> bool {
101      !self.reader.get_pointer_field(3).is_null()
102    }
103    #[inline]
104    pub fn get_correlation_id(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
105      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(4), ::core::option::Option::None)
106    }
107    #[inline]
108    pub fn has_correlation_id(&self) -> bool {
109      !self.reader.get_pointer_field(4).is_null()
110    }
111  }
112
113  pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
114  impl <> ::capnp::traits::HasStructSize for Builder<'_,>  {
115    const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 5 };
116  }
117  impl <> ::capnp::traits::HasTypeId for Builder<'_,>  {
118    const TYPE_ID: u64 = _private::TYPE_ID;
119  }
120  impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,>  {
121    fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
122      Self { builder,  }
123    }
124  }
125
126  impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a>  {
127    fn from(builder: Builder<'a,>) -> Self {
128      Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
129    }
130  }
131
132  impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,>  {
133    fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
134      self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
135    }
136  }
137
138  impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,>  {
139    fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
140      builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
141    }
142    fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
143      ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
144    }
145  }
146
147  impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,>  {
148    fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
149  }
150
151  impl <'a,> Builder<'a,>  {
152    pub fn into_reader(self) -> Reader<'a,> {
153      self.builder.into_reader().into()
154    }
155    pub fn reborrow(&mut self) -> Builder<'_,> {
156      Builder { builder: self.builder.reborrow() }
157    }
158    pub fn reborrow_as_reader(&self) -> Reader<'_,> {
159      self.builder.as_reader().into()
160    }
161
162    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
163      self.builder.as_reader().total_size()
164    }
165    #[inline]
166    pub fn get_id(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
167      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
168    }
169    #[inline]
170    pub fn set_id(&mut self, value: ::capnp::data::Reader<'_>)  {
171      self.builder.reborrow().get_pointer_field(0).set_data(value);
172    }
173    #[inline]
174    pub fn init_id(self, size: u32) -> ::capnp::data::Builder<'a> {
175      self.builder.get_pointer_field(0).init_data(size)
176    }
177    #[inline]
178    pub fn has_id(&self) -> bool {
179      !self.builder.is_pointer_field_null(0)
180    }
181    #[inline]
182    pub fn get_timestamp(self) -> i64 {
183      self.builder.get_data_field::<i64>(0)
184    }
185    #[inline]
186    pub fn set_timestamp(&mut self, value: i64)  {
187      self.builder.set_data_field::<i64>(0, value);
188    }
189    #[inline]
190    pub fn get_source(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
191      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
192    }
193    #[inline]
194    pub fn set_source(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
195      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false).unwrap()
196    }
197    #[inline]
198    pub fn init_source(self, size: u32) -> ::capnp::text::Builder<'a> {
199      self.builder.get_pointer_field(1).init_text(size)
200    }
201    #[inline]
202    pub fn has_source(&self) -> bool {
203      !self.builder.is_pointer_field_null(1)
204    }
205    #[inline]
206    pub fn get_topic(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
207      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(2), ::core::option::Option::None)
208    }
209    #[inline]
210    pub fn set_topic(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
211      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(2), value, false).unwrap()
212    }
213    #[inline]
214    pub fn init_topic(self, size: u32) -> ::capnp::text::Builder<'a> {
215      self.builder.get_pointer_field(2).init_text(size)
216    }
217    #[inline]
218    pub fn has_topic(&self) -> bool {
219      !self.builder.is_pointer_field_null(2)
220    }
221    #[inline]
222    pub fn get_payload(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
223      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(3), ::core::option::Option::None)
224    }
225    #[inline]
226    pub fn set_payload(&mut self, value: ::capnp::data::Reader<'_>)  {
227      self.builder.reborrow().get_pointer_field(3).set_data(value);
228    }
229    #[inline]
230    pub fn init_payload(self, size: u32) -> ::capnp::data::Builder<'a> {
231      self.builder.get_pointer_field(3).init_data(size)
232    }
233    #[inline]
234    pub fn has_payload(&self) -> bool {
235      !self.builder.is_pointer_field_null(3)
236    }
237    #[inline]
238    pub fn get_correlation_id(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
239      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(4), ::core::option::Option::None)
240    }
241    #[inline]
242    pub fn set_correlation_id(&mut self, value: ::capnp::data::Reader<'_>)  {
243      self.builder.reborrow().get_pointer_field(4).set_data(value);
244    }
245    #[inline]
246    pub fn init_correlation_id(self, size: u32) -> ::capnp::data::Builder<'a> {
247      self.builder.get_pointer_field(4).init_data(size)
248    }
249    #[inline]
250    pub fn has_correlation_id(&self) -> bool {
251      !self.builder.is_pointer_field_null(4)
252    }
253  }
254
255  pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
256  impl ::capnp::capability::FromTypelessPipeline for Pipeline {
257    fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
258      Self { _typeless: typeless,  }
259    }
260  }
261  impl Pipeline  {
262  }
263  mod _private {
264    pub static ENCODED_NODE: [::capnp::Word; 111] = [
265      ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
266      ::capnp::word(216, 81, 220, 234, 246, 188, 124, 171),
267      ::capnp::word(13, 0, 0, 0, 1, 0, 1, 0),
268      ::capnp::word(49, 231, 188, 47, 194, 250, 158, 139),
269      ::capnp::word(5, 0, 7, 0, 0, 0, 0, 0),
270      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
271      ::capnp::word(55, 5, 0, 0, 138, 7, 0, 0),
272      ::capnp::word(21, 0, 0, 0, 218, 0, 0, 0),
273      ::capnp::word(33, 0, 0, 0, 7, 0, 0, 0),
274      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
275      ::capnp::word(29, 0, 0, 0, 87, 1, 0, 0),
276      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
277      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
278      ::capnp::word(101, 118, 101, 110, 116, 115, 46, 99),
279      ::capnp::word(97, 112, 110, 112, 58, 69, 118, 101),
280      ::capnp::word(110, 116, 69, 110, 118, 101, 108, 111),
281      ::capnp::word(112, 101, 0, 0, 0, 0, 0, 0),
282      ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
283      ::capnp::word(24, 0, 0, 0, 3, 0, 4, 0),
284      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
285      ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
286      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
287      ::capnp::word(153, 0, 0, 0, 26, 0, 0, 0),
288      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
289      ::capnp::word(148, 0, 0, 0, 3, 0, 1, 0),
290      ::capnp::word(160, 0, 0, 0, 2, 0, 1, 0),
291      ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
292      ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
293      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
294      ::capnp::word(157, 0, 0, 0, 82, 0, 0, 0),
295      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
296      ::capnp::word(156, 0, 0, 0, 3, 0, 1, 0),
297      ::capnp::word(168, 0, 0, 0, 2, 0, 1, 0),
298      ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
299      ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
300      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
301      ::capnp::word(165, 0, 0, 0, 58, 0, 0, 0),
302      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
303      ::capnp::word(160, 0, 0, 0, 3, 0, 1, 0),
304      ::capnp::word(172, 0, 0, 0, 2, 0, 1, 0),
305      ::capnp::word(3, 0, 0, 0, 2, 0, 0, 0),
306      ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
307      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
308      ::capnp::word(169, 0, 0, 0, 50, 0, 0, 0),
309      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
310      ::capnp::word(164, 0, 0, 0, 3, 0, 1, 0),
311      ::capnp::word(176, 0, 0, 0, 2, 0, 1, 0),
312      ::capnp::word(4, 0, 0, 0, 3, 0, 0, 0),
313      ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
314      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
315      ::capnp::word(173, 0, 0, 0, 66, 0, 0, 0),
316      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
317      ::capnp::word(168, 0, 0, 0, 3, 0, 1, 0),
318      ::capnp::word(180, 0, 0, 0, 2, 0, 1, 0),
319      ::capnp::word(5, 0, 0, 0, 4, 0, 0, 0),
320      ::capnp::word(0, 0, 1, 0, 5, 0, 0, 0),
321      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
322      ::capnp::word(177, 0, 0, 0, 114, 0, 0, 0),
323      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
324      ::capnp::word(176, 0, 0, 0, 3, 0, 1, 0),
325      ::capnp::word(188, 0, 0, 0, 2, 0, 1, 0),
326      ::capnp::word(105, 100, 0, 0, 0, 0, 0, 0),
327      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
328      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
329      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
330      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
331      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
332      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
333      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
334      ::capnp::word(116, 105, 109, 101, 115, 116, 97, 109),
335      ::capnp::word(112, 0, 0, 0, 0, 0, 0, 0),
336      ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
337      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
338      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
339      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
340      ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
341      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
342      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
343      ::capnp::word(115, 111, 117, 114, 99, 101, 0, 0),
344      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
345      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
346      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
347      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
348      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
349      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
350      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
351      ::capnp::word(116, 111, 112, 105, 99, 0, 0, 0),
352      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
353      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
354      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
355      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
356      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
357      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
358      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
359      ::capnp::word(112, 97, 121, 108, 111, 97, 100, 0),
360      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
361      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
362      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
363      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
364      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
365      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
366      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
367      ::capnp::word(99, 111, 114, 114, 101, 108, 97, 116),
368      ::capnp::word(105, 111, 110, 73, 100, 0, 0, 0),
369      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
370      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
371      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
372      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
373      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
374      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
375      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
376    ];
377    pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
378      match index {
379        0 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
380        1 => <i64 as ::capnp::introspect::Introspect>::introspect(),
381        2 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
382        3 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
383        4 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
384        5 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
385        _ => ::capnp::introspect::panic_invalid_field_index(index),
386      }
387    }
388    pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
389      ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
390    }
391    #[allow(unsafe_code)]
392    pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
393      &ENCODED_NODE,
394      NONUNION_MEMBERS,
395      MEMBERS_BY_DISCRIMINANT,
396      MEMBERS_BY_NAME
397    )};
398    pub static NONUNION_MEMBERS : &[u16] = &[0,1,2,3,4,5];
399    pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
400    pub static MEMBERS_BY_NAME : &[u16] = &[5,0,4,2,1,3];
401    pub const TYPE_ID: u64 = 0xab7c_bcf6_eadc_51d8;
402  }
403}
404
405pub mod event_registration {
406  #[derive(Copy, Clone)]
407  pub struct Owned(());
408  impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
409  impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
410  impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
411  impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
412
413  pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
414  impl <> ::core::marker::Copy for Reader<'_,>  {}
415  impl <> ::core::clone::Clone for Reader<'_,>  {
416    fn clone(&self) -> Self { *self }
417  }
418
419  impl <> ::capnp::traits::HasTypeId for Reader<'_,>  {
420    const TYPE_ID: u64 = _private::TYPE_ID;
421  }
422  impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,>  {
423    fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
424      Self { reader,  }
425    }
426  }
427
428  impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a>  {
429    fn from(reader: Reader<'a,>) -> Self {
430      Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
431    }
432  }
433
434  impl <> ::core::fmt::Debug for Reader<'_,>  {
435    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
436      core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
437    }
438  }
439
440  impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,>  {
441    fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
442      ::core::result::Result::Ok(reader.get_struct(default)?.into())
443    }
444  }
445
446  impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,>  {
447    fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
448      self.reader
449    }
450  }
451
452  impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,>  {
453    fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
454      self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
455    }
456  }
457
458  impl <'a,> Reader<'a,>  {
459    pub fn reborrow(&self) -> Reader<'_,> {
460      Self { .. *self }
461    }
462
463    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
464      self.reader.total_size()
465    }
466    #[inline]
467    pub fn get_topic_prefix(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
468      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
469    }
470    #[inline]
471    pub fn has_topic_prefix(&self) -> bool {
472      !self.reader.get_pointer_field(0).is_null()
473    }
474    #[inline]
475    pub fn get_schema(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
476      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
477    }
478    #[inline]
479    pub fn has_schema(&self) -> bool {
480      !self.reader.get_pointer_field(1).is_null()
481    }
482    #[inline]
483    pub fn get_publish_scope(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
484      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(2), ::core::option::Option::None)
485    }
486    #[inline]
487    pub fn has_publish_scope(&self) -> bool {
488      !self.reader.get_pointer_field(2).is_null()
489    }
490    #[inline]
491    pub fn get_subscribe_scope(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
492      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(3), ::core::option::Option::None)
493    }
494    #[inline]
495    pub fn has_subscribe_scope(&self) -> bool {
496      !self.reader.get_pointer_field(3).is_null()
497    }
498    #[inline]
499    pub fn get_qos(self) -> ::capnp::Result<crate::streaming_capnp::stream_opt::Reader<'a>> {
500      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(4), ::core::option::Option::None)
501    }
502    #[inline]
503    pub fn has_qos(&self) -> bool {
504      !self.reader.get_pointer_field(4).is_null()
505    }
506  }
507
508  pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
509  impl <> ::capnp::traits::HasStructSize for Builder<'_,>  {
510    const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 5 };
511  }
512  impl <> ::capnp::traits::HasTypeId for Builder<'_,>  {
513    const TYPE_ID: u64 = _private::TYPE_ID;
514  }
515  impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,>  {
516    fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
517      Self { builder,  }
518    }
519  }
520
521  impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a>  {
522    fn from(builder: Builder<'a,>) -> Self {
523      Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
524    }
525  }
526
527  impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,>  {
528    fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
529      self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
530    }
531  }
532
533  impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,>  {
534    fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
535      builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
536    }
537    fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
538      ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
539    }
540  }
541
542  impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,>  {
543    fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
544  }
545
546  impl <'a,> Builder<'a,>  {
547    pub fn into_reader(self) -> Reader<'a,> {
548      self.builder.into_reader().into()
549    }
550    pub fn reborrow(&mut self) -> Builder<'_,> {
551      Builder { builder: self.builder.reborrow() }
552    }
553    pub fn reborrow_as_reader(&self) -> Reader<'_,> {
554      self.builder.as_reader().into()
555    }
556
557    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
558      self.builder.as_reader().total_size()
559    }
560    #[inline]
561    pub fn get_topic_prefix(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
562      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
563    }
564    #[inline]
565    pub fn set_topic_prefix(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
566      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false).unwrap()
567    }
568    #[inline]
569    pub fn init_topic_prefix(self, size: u32) -> ::capnp::text::Builder<'a> {
570      self.builder.get_pointer_field(0).init_text(size)
571    }
572    #[inline]
573    pub fn has_topic_prefix(&self) -> bool {
574      !self.builder.is_pointer_field_null(0)
575    }
576    #[inline]
577    pub fn get_schema(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
578      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
579    }
580    #[inline]
581    pub fn set_schema(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
582      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false).unwrap()
583    }
584    #[inline]
585    pub fn init_schema(self, size: u32) -> ::capnp::text::Builder<'a> {
586      self.builder.get_pointer_field(1).init_text(size)
587    }
588    #[inline]
589    pub fn has_schema(&self) -> bool {
590      !self.builder.is_pointer_field_null(1)
591    }
592    #[inline]
593    pub fn get_publish_scope(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
594      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(2), ::core::option::Option::None)
595    }
596    #[inline]
597    pub fn set_publish_scope(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
598      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(2), value, false).unwrap()
599    }
600    #[inline]
601    pub fn init_publish_scope(self, size: u32) -> ::capnp::text::Builder<'a> {
602      self.builder.get_pointer_field(2).init_text(size)
603    }
604    #[inline]
605    pub fn has_publish_scope(&self) -> bool {
606      !self.builder.is_pointer_field_null(2)
607    }
608    #[inline]
609    pub fn get_subscribe_scope(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
610      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(3), ::core::option::Option::None)
611    }
612    #[inline]
613    pub fn set_subscribe_scope(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
614      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(3), value, false).unwrap()
615    }
616    #[inline]
617    pub fn init_subscribe_scope(self, size: u32) -> ::capnp::text::Builder<'a> {
618      self.builder.get_pointer_field(3).init_text(size)
619    }
620    #[inline]
621    pub fn has_subscribe_scope(&self) -> bool {
622      !self.builder.is_pointer_field_null(3)
623    }
624    #[inline]
625    pub fn get_qos(self) -> ::capnp::Result<crate::streaming_capnp::stream_opt::Builder<'a>> {
626      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(4), ::core::option::Option::None)
627    }
628    #[inline]
629    pub fn set_qos(&mut self, value: crate::streaming_capnp::stream_opt::Reader<'_>) -> ::capnp::Result<()> {
630      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(4), value, false)
631    }
632    #[inline]
633    pub fn init_qos(self, ) -> crate::streaming_capnp::stream_opt::Builder<'a> {
634      ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(4), 0)
635    }
636    #[inline]
637    pub fn has_qos(&self) -> bool {
638      !self.builder.is_pointer_field_null(4)
639    }
640  }
641
642  pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
643  impl ::capnp::capability::FromTypelessPipeline for Pipeline {
644    fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
645      Self { _typeless: typeless,  }
646    }
647  }
648  impl Pipeline  {
649    pub fn get_qos(&self) -> crate::streaming_capnp::stream_opt::Pipeline {
650      ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(4))
651    }
652  }
653  mod _private {
654    pub static ENCODED_NODE: [::capnp::Word; 97] = [
655      ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
656      ::capnp::word(86, 96, 43, 88, 229, 51, 154, 218),
657      ::capnp::word(13, 0, 0, 0, 1, 0, 0, 0),
658      ::capnp::word(49, 231, 188, 47, 194, 250, 158, 139),
659      ::capnp::word(5, 0, 7, 0, 0, 0, 0, 0),
660      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
661      ::capnp::word(198, 7, 0, 0, 130, 9, 0, 0),
662      ::capnp::word(21, 0, 0, 0, 250, 0, 0, 0),
663      ::capnp::word(33, 0, 0, 0, 7, 0, 0, 0),
664      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
665      ::capnp::word(29, 0, 0, 0, 31, 1, 0, 0),
666      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
667      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
668      ::capnp::word(101, 118, 101, 110, 116, 115, 46, 99),
669      ::capnp::word(97, 112, 110, 112, 58, 69, 118, 101),
670      ::capnp::word(110, 116, 82, 101, 103, 105, 115, 116),
671      ::capnp::word(114, 97, 116, 105, 111, 110, 0, 0),
672      ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
673      ::capnp::word(20, 0, 0, 0, 3, 0, 4, 0),
674      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
675      ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
676      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
677      ::capnp::word(125, 0, 0, 0, 98, 0, 0, 0),
678      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
679      ::capnp::word(124, 0, 0, 0, 3, 0, 1, 0),
680      ::capnp::word(136, 0, 0, 0, 2, 0, 1, 0),
681      ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
682      ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
683      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
684      ::capnp::word(133, 0, 0, 0, 58, 0, 0, 0),
685      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
686      ::capnp::word(128, 0, 0, 0, 3, 0, 1, 0),
687      ::capnp::word(140, 0, 0, 0, 2, 0, 1, 0),
688      ::capnp::word(2, 0, 0, 0, 2, 0, 0, 0),
689      ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
690      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
691      ::capnp::word(137, 0, 0, 0, 106, 0, 0, 0),
692      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
693      ::capnp::word(136, 0, 0, 0, 3, 0, 1, 0),
694      ::capnp::word(148, 0, 0, 0, 2, 0, 1, 0),
695      ::capnp::word(3, 0, 0, 0, 3, 0, 0, 0),
696      ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
697      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
698      ::capnp::word(145, 0, 0, 0, 122, 0, 0, 0),
699      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
700      ::capnp::word(144, 0, 0, 0, 3, 0, 1, 0),
701      ::capnp::word(156, 0, 0, 0, 2, 0, 1, 0),
702      ::capnp::word(4, 0, 0, 0, 4, 0, 0, 0),
703      ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
704      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
705      ::capnp::word(153, 0, 0, 0, 34, 0, 0, 0),
706      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
707      ::capnp::word(148, 0, 0, 0, 3, 0, 1, 0),
708      ::capnp::word(160, 0, 0, 0, 2, 0, 1, 0),
709      ::capnp::word(116, 111, 112, 105, 99, 80, 114, 101),
710      ::capnp::word(102, 105, 120, 0, 0, 0, 0, 0),
711      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
712      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
713      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
714      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
715      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
716      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
717      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
718      ::capnp::word(115, 99, 104, 101, 109, 97, 0, 0),
719      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
720      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
721      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
722      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
723      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
724      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
725      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
726      ::capnp::word(112, 117, 98, 108, 105, 115, 104, 83),
727      ::capnp::word(99, 111, 112, 101, 0, 0, 0, 0),
728      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
729      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
730      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
731      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
732      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
733      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
734      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
735      ::capnp::word(115, 117, 98, 115, 99, 114, 105, 98),
736      ::capnp::word(101, 83, 99, 111, 112, 101, 0, 0),
737      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
738      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
739      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
740      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
741      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
742      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
743      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
744      ::capnp::word(113, 111, 115, 0, 0, 0, 0, 0),
745      ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
746      ::capnp::word(105, 45, 79, 145, 33, 142, 68, 245),
747      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
748      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
749      ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
750      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
751      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
752    ];
753    pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
754      match index {
755        0 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
756        1 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
757        2 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
758        3 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
759        4 => <crate::streaming_capnp::stream_opt::Owned as ::capnp::introspect::Introspect>::introspect(),
760        _ => ::capnp::introspect::panic_invalid_field_index(index),
761      }
762    }
763    pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
764      ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
765    }
766    #[allow(unsafe_code)]
767    pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
768      &ENCODED_NODE,
769      NONUNION_MEMBERS,
770      MEMBERS_BY_DISCRIMINANT,
771      MEMBERS_BY_NAME
772    )};
773    pub static NONUNION_MEMBERS : &[u16] = &[0,1,2,3,4];
774    pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
775    pub static MEMBERS_BY_NAME : &[u16] = &[2,4,1,3,0];
776    pub const TYPE_ID: u64 = 0xda9a_33e5_582b_6056;
777  }
778}
779
780pub mod event_envelope_v2 {
781  #[derive(Copy, Clone)]
782  pub struct Owned(());
783  impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
784  impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
785  impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
786  impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
787
788  pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
789  impl <> ::core::marker::Copy for Reader<'_,>  {}
790  impl <> ::core::clone::Clone for Reader<'_,>  {
791    fn clone(&self) -> Self { *self }
792  }
793
794  impl <> ::capnp::traits::HasTypeId for Reader<'_,>  {
795    const TYPE_ID: u64 = _private::TYPE_ID;
796  }
797  impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,>  {
798    fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
799      Self { reader,  }
800    }
801  }
802
803  impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a>  {
804    fn from(reader: Reader<'a,>) -> Self {
805      Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
806    }
807  }
808
809  impl <> ::core::fmt::Debug for Reader<'_,>  {
810    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
811      core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
812    }
813  }
814
815  impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,>  {
816    fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
817      ::core::result::Result::Ok(reader.get_struct(default)?.into())
818    }
819  }
820
821  impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,>  {
822    fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
823      self.reader
824    }
825  }
826
827  impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,>  {
828    fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
829      self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
830    }
831  }
832
833  impl <'a,> Reader<'a,>  {
834    pub fn reborrow(&self) -> Reader<'_,> {
835      Self { .. *self }
836    }
837
838    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
839      self.reader.total_size()
840    }
841    #[inline]
842    pub fn get_topic(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
843      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
844    }
845    #[inline]
846    pub fn has_topic(&self) -> bool {
847      !self.reader.get_pointer_field(0).is_null()
848    }
849    #[inline]
850    pub fn get_payload(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
851      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
852    }
853    #[inline]
854    pub fn has_payload(&self) -> bool {
855      !self.reader.get_pointer_field(1).is_null()
856    }
857    #[inline]
858    pub fn get_publisher_signature(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
859      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(2), ::core::option::Option::None)
860    }
861    #[inline]
862    pub fn has_publisher_signature(&self) -> bool {
863      !self.reader.get_pointer_field(2).is_null()
864    }
865    #[inline]
866    pub fn get_timestamp(self) -> i64 {
867      self.reader.get_data_field::<i64>(0)
868    }
869    #[inline]
870    pub fn get_publisher_pubkey(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
871      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(3), ::core::option::Option::None)
872    }
873    #[inline]
874    pub fn has_publisher_pubkey(&self) -> bool {
875      !self.reader.get_pointer_field(3).is_null()
876    }
877  }
878
879  pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
880  impl <> ::capnp::traits::HasStructSize for Builder<'_,>  {
881    const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 4 };
882  }
883  impl <> ::capnp::traits::HasTypeId for Builder<'_,>  {
884    const TYPE_ID: u64 = _private::TYPE_ID;
885  }
886  impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,>  {
887    fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
888      Self { builder,  }
889    }
890  }
891
892  impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a>  {
893    fn from(builder: Builder<'a,>) -> Self {
894      Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
895    }
896  }
897
898  impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,>  {
899    fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
900      self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
901    }
902  }
903
904  impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,>  {
905    fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
906      builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
907    }
908    fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
909      ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
910    }
911  }
912
913  impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,>  {
914    fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
915  }
916
917  impl <'a,> Builder<'a,>  {
918    pub fn into_reader(self) -> Reader<'a,> {
919      self.builder.into_reader().into()
920    }
921    pub fn reborrow(&mut self) -> Builder<'_,> {
922      Builder { builder: self.builder.reborrow() }
923    }
924    pub fn reborrow_as_reader(&self) -> Reader<'_,> {
925      self.builder.as_reader().into()
926    }
927
928    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
929      self.builder.as_reader().total_size()
930    }
931    #[inline]
932    pub fn get_topic(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
933      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
934    }
935    #[inline]
936    pub fn set_topic(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
937      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false).unwrap()
938    }
939    #[inline]
940    pub fn init_topic(self, size: u32) -> ::capnp::text::Builder<'a> {
941      self.builder.get_pointer_field(0).init_text(size)
942    }
943    #[inline]
944    pub fn has_topic(&self) -> bool {
945      !self.builder.is_pointer_field_null(0)
946    }
947    #[inline]
948    pub fn get_payload(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
949      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
950    }
951    #[inline]
952    pub fn set_payload(&mut self, value: ::capnp::data::Reader<'_>)  {
953      self.builder.reborrow().get_pointer_field(1).set_data(value);
954    }
955    #[inline]
956    pub fn init_payload(self, size: u32) -> ::capnp::data::Builder<'a> {
957      self.builder.get_pointer_field(1).init_data(size)
958    }
959    #[inline]
960    pub fn has_payload(&self) -> bool {
961      !self.builder.is_pointer_field_null(1)
962    }
963    #[inline]
964    pub fn get_publisher_signature(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
965      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(2), ::core::option::Option::None)
966    }
967    #[inline]
968    pub fn set_publisher_signature(&mut self, value: ::capnp::data::Reader<'_>)  {
969      self.builder.reborrow().get_pointer_field(2).set_data(value);
970    }
971    #[inline]
972    pub fn init_publisher_signature(self, size: u32) -> ::capnp::data::Builder<'a> {
973      self.builder.get_pointer_field(2).init_data(size)
974    }
975    #[inline]
976    pub fn has_publisher_signature(&self) -> bool {
977      !self.builder.is_pointer_field_null(2)
978    }
979    #[inline]
980    pub fn get_timestamp(self) -> i64 {
981      self.builder.get_data_field::<i64>(0)
982    }
983    #[inline]
984    pub fn set_timestamp(&mut self, value: i64)  {
985      self.builder.set_data_field::<i64>(0, value);
986    }
987    #[inline]
988    pub fn get_publisher_pubkey(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
989      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(3), ::core::option::Option::None)
990    }
991    #[inline]
992    pub fn set_publisher_pubkey(&mut self, value: ::capnp::data::Reader<'_>)  {
993      self.builder.reborrow().get_pointer_field(3).set_data(value);
994    }
995    #[inline]
996    pub fn init_publisher_pubkey(self, size: u32) -> ::capnp::data::Builder<'a> {
997      self.builder.get_pointer_field(3).init_data(size)
998    }
999    #[inline]
1000    pub fn has_publisher_pubkey(&self) -> bool {
1001      !self.builder.is_pointer_field_null(3)
1002    }
1003  }
1004
1005  pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1006  impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1007    fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1008      Self { _typeless: typeless,  }
1009    }
1010  }
1011  impl Pipeline  {
1012  }
1013  mod _private {
1014    pub static ENCODED_NODE: [::capnp::Word; 98] = [
1015      ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
1016      ::capnp::word(154, 17, 4, 93, 171, 59, 157, 179),
1017      ::capnp::word(13, 0, 0, 0, 1, 0, 1, 0),
1018      ::capnp::word(49, 231, 188, 47, 194, 250, 158, 139),
1019      ::capnp::word(4, 0, 7, 0, 0, 0, 0, 0),
1020      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1021      ::capnp::word(189, 9, 0, 0, 79, 10, 0, 0),
1022      ::capnp::word(21, 0, 0, 0, 234, 0, 0, 0),
1023      ::capnp::word(33, 0, 0, 0, 7, 0, 0, 0),
1024      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1025      ::capnp::word(29, 0, 0, 0, 31, 1, 0, 0),
1026      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1027      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1028      ::capnp::word(101, 118, 101, 110, 116, 115, 46, 99),
1029      ::capnp::word(97, 112, 110, 112, 58, 69, 118, 101),
1030      ::capnp::word(110, 116, 69, 110, 118, 101, 108, 111),
1031      ::capnp::word(112, 101, 86, 50, 0, 0, 0, 0),
1032      ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1033      ::capnp::word(20, 0, 0, 0, 3, 0, 4, 0),
1034      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1035      ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1036      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1037      ::capnp::word(125, 0, 0, 0, 50, 0, 0, 0),
1038      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1039      ::capnp::word(120, 0, 0, 0, 3, 0, 1, 0),
1040      ::capnp::word(132, 0, 0, 0, 2, 0, 1, 0),
1041      ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
1042      ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1043      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1044      ::capnp::word(129, 0, 0, 0, 66, 0, 0, 0),
1045      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1046      ::capnp::word(124, 0, 0, 0, 3, 0, 1, 0),
1047      ::capnp::word(136, 0, 0, 0, 2, 0, 1, 0),
1048      ::capnp::word(2, 0, 0, 0, 2, 0, 0, 0),
1049      ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
1050      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1051      ::capnp::word(133, 0, 0, 0, 154, 0, 0, 0),
1052      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1053      ::capnp::word(136, 0, 0, 0, 3, 0, 1, 0),
1054      ::capnp::word(148, 0, 0, 0, 2, 0, 1, 0),
1055      ::capnp::word(3, 0, 0, 0, 0, 0, 0, 0),
1056      ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
1057      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1058      ::capnp::word(145, 0, 0, 0, 82, 0, 0, 0),
1059      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1060      ::capnp::word(144, 0, 0, 0, 3, 0, 1, 0),
1061      ::capnp::word(156, 0, 0, 0, 2, 0, 1, 0),
1062      ::capnp::word(4, 0, 0, 0, 3, 0, 0, 0),
1063      ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
1064      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1065      ::capnp::word(153, 0, 0, 0, 130, 0, 0, 0),
1066      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1067      ::capnp::word(152, 0, 0, 0, 3, 0, 1, 0),
1068      ::capnp::word(164, 0, 0, 0, 2, 0, 1, 0),
1069      ::capnp::word(116, 111, 112, 105, 99, 0, 0, 0),
1070      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
1071      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1072      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1073      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1074      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
1075      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1076      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1077      ::capnp::word(112, 97, 121, 108, 111, 97, 100, 0),
1078      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1079      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1080      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1081      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1082      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1083      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1084      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1085      ::capnp::word(112, 117, 98, 108, 105, 115, 104, 101),
1086      ::capnp::word(114, 83, 105, 103, 110, 97, 116, 117),
1087      ::capnp::word(114, 101, 0, 0, 0, 0, 0, 0),
1088      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1089      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1090      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1091      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1092      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1093      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1094      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1095      ::capnp::word(116, 105, 109, 101, 115, 116, 97, 109),
1096      ::capnp::word(112, 0, 0, 0, 0, 0, 0, 0),
1097      ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
1098      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1099      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1100      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1101      ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
1102      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1103      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1104      ::capnp::word(112, 117, 98, 108, 105, 115, 104, 101),
1105      ::capnp::word(114, 80, 117, 98, 107, 101, 121, 0),
1106      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1107      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1108      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1109      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1110      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1111      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1112      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1113    ];
1114    pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1115      match index {
1116        0 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
1117        1 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
1118        2 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
1119        3 => <i64 as ::capnp::introspect::Introspect>::introspect(),
1120        4 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
1121        _ => ::capnp::introspect::panic_invalid_field_index(index),
1122      }
1123    }
1124    pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
1125      ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
1126    }
1127    #[allow(unsafe_code)]
1128    pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
1129      &ENCODED_NODE,
1130      NONUNION_MEMBERS,
1131      MEMBERS_BY_DISCRIMINANT,
1132      MEMBERS_BY_NAME
1133    )};
1134    pub static NONUNION_MEMBERS : &[u16] = &[0,1,2,3,4];
1135    pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
1136    pub static MEMBERS_BY_NAME : &[u16] = &[1,4,2,3,0];
1137    pub const TYPE_ID: u64 = 0xb39d_3bab_5d04_119a;
1138  }
1139}
1140
1141pub mod rekey_announcement {
1142  #[derive(Copy, Clone)]
1143  pub struct Owned(());
1144  impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
1145  impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1146  impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1147  impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1148
1149  pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1150  impl <> ::core::marker::Copy for Reader<'_,>  {}
1151  impl <> ::core::clone::Clone for Reader<'_,>  {
1152    fn clone(&self) -> Self { *self }
1153  }
1154
1155  impl <> ::capnp::traits::HasTypeId for Reader<'_,>  {
1156    const TYPE_ID: u64 = _private::TYPE_ID;
1157  }
1158  impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,>  {
1159    fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1160      Self { reader,  }
1161    }
1162  }
1163
1164  impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a>  {
1165    fn from(reader: Reader<'a,>) -> Self {
1166      Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1167    }
1168  }
1169
1170  impl <> ::core::fmt::Debug for Reader<'_,>  {
1171    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1172      core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1173    }
1174  }
1175
1176  impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,>  {
1177    fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1178      ::core::result::Result::Ok(reader.get_struct(default)?.into())
1179    }
1180  }
1181
1182  impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,>  {
1183    fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1184      self.reader
1185    }
1186  }
1187
1188  impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,>  {
1189    fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1190      self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1191    }
1192  }
1193
1194  impl <'a,> Reader<'a,>  {
1195    pub fn reborrow(&self) -> Reader<'_,> {
1196      Self { .. *self }
1197    }
1198
1199    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1200      self.reader.total_size()
1201    }
1202    #[inline]
1203    pub fn get_prefix(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
1204      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
1205    }
1206    #[inline]
1207    pub fn has_prefix(&self) -> bool {
1208      !self.reader.get_pointer_field(0).is_null()
1209    }
1210    #[inline]
1211    pub fn get_effective_at(self) -> i64 {
1212      self.reader.get_data_field::<i64>(0)
1213    }
1214    #[inline]
1215    pub fn get_wrapped_keys(self) -> ::capnp::Result<::capnp::struct_list::Reader<'a,crate::events_capnp::wrapped_key::Owned>> {
1216      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
1217    }
1218    #[inline]
1219    pub fn has_wrapped_keys(&self) -> bool {
1220      !self.reader.get_pointer_field(1).is_null()
1221    }
1222    #[inline]
1223    pub fn get_version_id(self) -> u64 {
1224      self.reader.get_data_field::<u64>(1)
1225    }
1226    #[inline]
1227    pub fn get_publisher_ephemeral_pubkey(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
1228      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(2), ::core::option::Option::None)
1229    }
1230    #[inline]
1231    pub fn has_publisher_ephemeral_pubkey(&self) -> bool {
1232      !self.reader.get_pointer_field(2).is_null()
1233    }
1234  }
1235
1236  pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1237  impl <> ::capnp::traits::HasStructSize for Builder<'_,>  {
1238    const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 2, pointers: 3 };
1239  }
1240  impl <> ::capnp::traits::HasTypeId for Builder<'_,>  {
1241    const TYPE_ID: u64 = _private::TYPE_ID;
1242  }
1243  impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,>  {
1244    fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1245      Self { builder,  }
1246    }
1247  }
1248
1249  impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a>  {
1250    fn from(builder: Builder<'a,>) -> Self {
1251      Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1252    }
1253  }
1254
1255  impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,>  {
1256    fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1257      self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1258    }
1259  }
1260
1261  impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,>  {
1262    fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1263      builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1264    }
1265    fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1266      ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1267    }
1268  }
1269
1270  impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,>  {
1271    fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1272  }
1273
1274  impl <'a,> Builder<'a,>  {
1275    pub fn into_reader(self) -> Reader<'a,> {
1276      self.builder.into_reader().into()
1277    }
1278    pub fn reborrow(&mut self) -> Builder<'_,> {
1279      Builder { builder: self.builder.reborrow() }
1280    }
1281    pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1282      self.builder.as_reader().into()
1283    }
1284
1285    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1286      self.builder.as_reader().total_size()
1287    }
1288    #[inline]
1289    pub fn get_prefix(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
1290      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
1291    }
1292    #[inline]
1293    pub fn set_prefix(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
1294      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false).unwrap()
1295    }
1296    #[inline]
1297    pub fn init_prefix(self, size: u32) -> ::capnp::text::Builder<'a> {
1298      self.builder.get_pointer_field(0).init_text(size)
1299    }
1300    #[inline]
1301    pub fn has_prefix(&self) -> bool {
1302      !self.builder.is_pointer_field_null(0)
1303    }
1304    #[inline]
1305    pub fn get_effective_at(self) -> i64 {
1306      self.builder.get_data_field::<i64>(0)
1307    }
1308    #[inline]
1309    pub fn set_effective_at(&mut self, value: i64)  {
1310      self.builder.set_data_field::<i64>(0, value);
1311    }
1312    #[inline]
1313    pub fn get_wrapped_keys(self) -> ::capnp::Result<::capnp::struct_list::Builder<'a,crate::events_capnp::wrapped_key::Owned>> {
1314      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1315    }
1316    #[inline]
1317    pub fn set_wrapped_keys(&mut self, value: ::capnp::struct_list::Reader<'_,crate::events_capnp::wrapped_key::Owned>) -> ::capnp::Result<()> {
1318      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
1319    }
1320    #[inline]
1321    pub fn init_wrapped_keys(self, size: u32) -> ::capnp::struct_list::Builder<'a,crate::events_capnp::wrapped_key::Owned> {
1322      ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
1323    }
1324    #[inline]
1325    pub fn has_wrapped_keys(&self) -> bool {
1326      !self.builder.is_pointer_field_null(1)
1327    }
1328    #[inline]
1329    pub fn get_version_id(self) -> u64 {
1330      self.builder.get_data_field::<u64>(1)
1331    }
1332    #[inline]
1333    pub fn set_version_id(&mut self, value: u64)  {
1334      self.builder.set_data_field::<u64>(1, value);
1335    }
1336    #[inline]
1337    pub fn get_publisher_ephemeral_pubkey(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
1338      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(2), ::core::option::Option::None)
1339    }
1340    #[inline]
1341    pub fn set_publisher_ephemeral_pubkey(&mut self, value: ::capnp::data::Reader<'_>)  {
1342      self.builder.reborrow().get_pointer_field(2).set_data(value);
1343    }
1344    #[inline]
1345    pub fn init_publisher_ephemeral_pubkey(self, size: u32) -> ::capnp::data::Builder<'a> {
1346      self.builder.get_pointer_field(2).init_data(size)
1347    }
1348    #[inline]
1349    pub fn has_publisher_ephemeral_pubkey(&self) -> bool {
1350      !self.builder.is_pointer_field_null(2)
1351    }
1352  }
1353
1354  pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1355  impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1356    fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1357      Self { _typeless: typeless,  }
1358    }
1359  }
1360  impl Pipeline  {
1361  }
1362  mod _private {
1363    pub static ENCODED_NODE: [::capnp::Word; 104] = [
1364      ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
1365      ::capnp::word(194, 206, 132, 34, 227, 37, 159, 156),
1366      ::capnp::word(13, 0, 0, 0, 1, 0, 2, 0),
1367      ::capnp::word(49, 231, 188, 47, 194, 250, 158, 139),
1368      ::capnp::word(3, 0, 7, 0, 0, 0, 0, 0),
1369      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1370      ::capnp::word(123, 10, 0, 0, 36, 11, 0, 0),
1371      ::capnp::word(21, 0, 0, 0, 250, 0, 0, 0),
1372      ::capnp::word(33, 0, 0, 0, 7, 0, 0, 0),
1373      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1374      ::capnp::word(29, 0, 0, 0, 31, 1, 0, 0),
1375      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1376      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1377      ::capnp::word(101, 118, 101, 110, 116, 115, 46, 99),
1378      ::capnp::word(97, 112, 110, 112, 58, 82, 101, 107),
1379      ::capnp::word(101, 121, 65, 110, 110, 111, 117, 110),
1380      ::capnp::word(99, 101, 109, 101, 110, 116, 0, 0),
1381      ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1382      ::capnp::word(20, 0, 0, 0, 3, 0, 4, 0),
1383      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1384      ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1385      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1386      ::capnp::word(125, 0, 0, 0, 58, 0, 0, 0),
1387      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1388      ::capnp::word(120, 0, 0, 0, 3, 0, 1, 0),
1389      ::capnp::word(132, 0, 0, 0, 2, 0, 1, 0),
1390      ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1391      ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1392      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1393      ::capnp::word(129, 0, 0, 0, 98, 0, 0, 0),
1394      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1395      ::capnp::word(128, 0, 0, 0, 3, 0, 1, 0),
1396      ::capnp::word(140, 0, 0, 0, 2, 0, 1, 0),
1397      ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
1398      ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
1399      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1400      ::capnp::word(137, 0, 0, 0, 98, 0, 0, 0),
1401      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1402      ::capnp::word(136, 0, 0, 0, 3, 0, 1, 0),
1403      ::capnp::word(164, 0, 0, 0, 2, 0, 1, 0),
1404      ::capnp::word(3, 0, 0, 0, 1, 0, 0, 0),
1405      ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
1406      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1407      ::capnp::word(161, 0, 0, 0, 82, 0, 0, 0),
1408      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1409      ::capnp::word(160, 0, 0, 0, 3, 0, 1, 0),
1410      ::capnp::word(172, 0, 0, 0, 2, 0, 1, 0),
1411      ::capnp::word(4, 0, 0, 0, 2, 0, 0, 0),
1412      ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
1413      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1414      ::capnp::word(169, 0, 0, 0, 202, 0, 0, 0),
1415      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1416      ::capnp::word(176, 0, 0, 0, 3, 0, 1, 0),
1417      ::capnp::word(188, 0, 0, 0, 2, 0, 1, 0),
1418      ::capnp::word(112, 114, 101, 102, 105, 120, 0, 0),
1419      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
1420      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1421      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1422      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1423      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
1424      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1425      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1426      ::capnp::word(101, 102, 102, 101, 99, 116, 105, 118),
1427      ::capnp::word(101, 65, 116, 0, 0, 0, 0, 0),
1428      ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
1429      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1430      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1431      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1432      ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
1433      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1434      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1435      ::capnp::word(119, 114, 97, 112, 112, 101, 100, 75),
1436      ::capnp::word(101, 121, 115, 0, 0, 0, 0, 0),
1437      ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1438      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1439      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1440      ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
1441      ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1442      ::capnp::word(89, 33, 75, 83, 178, 76, 5, 129),
1443      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1444      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1445      ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1446      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1447      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1448      ::capnp::word(118, 101, 114, 115, 105, 111, 110, 73),
1449      ::capnp::word(100, 0, 0, 0, 0, 0, 0, 0),
1450      ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
1451      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1452      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1453      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1454      ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
1455      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1456      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1457      ::capnp::word(112, 117, 98, 108, 105, 115, 104, 101),
1458      ::capnp::word(114, 69, 112, 104, 101, 109, 101, 114),
1459      ::capnp::word(97, 108, 80, 117, 98, 107, 101, 121),
1460      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1461      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1462      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1463      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1464      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1465      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1466      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1467      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1468    ];
1469    pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1470      match index {
1471        0 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
1472        1 => <i64 as ::capnp::introspect::Introspect>::introspect(),
1473        2 => <::capnp::struct_list::Owned<crate::events_capnp::wrapped_key::Owned> as ::capnp::introspect::Introspect>::introspect(),
1474        3 => <u64 as ::capnp::introspect::Introspect>::introspect(),
1475        4 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
1476        _ => ::capnp::introspect::panic_invalid_field_index(index),
1477      }
1478    }
1479    pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
1480      ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
1481    }
1482    #[allow(unsafe_code)]
1483    pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
1484      &ENCODED_NODE,
1485      NONUNION_MEMBERS,
1486      MEMBERS_BY_DISCRIMINANT,
1487      MEMBERS_BY_NAME
1488    )};
1489    pub static NONUNION_MEMBERS : &[u16] = &[0,1,2,3,4];
1490    pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
1491    pub static MEMBERS_BY_NAME : &[u16] = &[1,0,4,3,2];
1492    pub const TYPE_ID: u64 = 0x9c9f_25e3_2284_cec2;
1493  }
1494}
1495
1496pub mod wrapped_key {
1497  #[derive(Copy, Clone)]
1498  pub struct Owned(());
1499  impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
1500  impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1501  impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1502  impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1503
1504  pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1505  impl <> ::core::marker::Copy for Reader<'_,>  {}
1506  impl <> ::core::clone::Clone for Reader<'_,>  {
1507    fn clone(&self) -> Self { *self }
1508  }
1509
1510  impl <> ::capnp::traits::HasTypeId for Reader<'_,>  {
1511    const TYPE_ID: u64 = _private::TYPE_ID;
1512  }
1513  impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,>  {
1514    fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1515      Self { reader,  }
1516    }
1517  }
1518
1519  impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a>  {
1520    fn from(reader: Reader<'a,>) -> Self {
1521      Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1522    }
1523  }
1524
1525  impl <> ::core::fmt::Debug for Reader<'_,>  {
1526    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1527      core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1528    }
1529  }
1530
1531  impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,>  {
1532    fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1533      ::core::result::Result::Ok(reader.get_struct(default)?.into())
1534    }
1535  }
1536
1537  impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,>  {
1538    fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1539      self.reader
1540    }
1541  }
1542
1543  impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,>  {
1544    fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1545      self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1546    }
1547  }
1548
1549  impl <'a,> Reader<'a,>  {
1550    pub fn reborrow(&self) -> Reader<'_,> {
1551      Self { .. *self }
1552    }
1553
1554    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1555      self.reader.total_size()
1556    }
1557    #[inline]
1558    pub fn get_routing_tag(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
1559      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
1560    }
1561    #[inline]
1562    pub fn has_routing_tag(&self) -> bool {
1563      !self.reader.get_pointer_field(0).is_null()
1564    }
1565    #[inline]
1566    pub fn get_wrapped(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
1567      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
1568    }
1569    #[inline]
1570    pub fn has_wrapped(&self) -> bool {
1571      !self.reader.get_pointer_field(1).is_null()
1572    }
1573  }
1574
1575  pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1576  impl <> ::capnp::traits::HasStructSize for Builder<'_,>  {
1577    const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 2 };
1578  }
1579  impl <> ::capnp::traits::HasTypeId for Builder<'_,>  {
1580    const TYPE_ID: u64 = _private::TYPE_ID;
1581  }
1582  impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,>  {
1583    fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1584      Self { builder,  }
1585    }
1586  }
1587
1588  impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a>  {
1589    fn from(builder: Builder<'a,>) -> Self {
1590      Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1591    }
1592  }
1593
1594  impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,>  {
1595    fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1596      self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1597    }
1598  }
1599
1600  impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,>  {
1601    fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1602      builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1603    }
1604    fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1605      ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1606    }
1607  }
1608
1609  impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,>  {
1610    fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1611  }
1612
1613  impl <'a,> Builder<'a,>  {
1614    pub fn into_reader(self) -> Reader<'a,> {
1615      self.builder.into_reader().into()
1616    }
1617    pub fn reborrow(&mut self) -> Builder<'_,> {
1618      Builder { builder: self.builder.reborrow() }
1619    }
1620    pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1621      self.builder.as_reader().into()
1622    }
1623
1624    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1625      self.builder.as_reader().total_size()
1626    }
1627    #[inline]
1628    pub fn get_routing_tag(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
1629      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
1630    }
1631    #[inline]
1632    pub fn set_routing_tag(&mut self, value: ::capnp::data::Reader<'_>)  {
1633      self.builder.reborrow().get_pointer_field(0).set_data(value);
1634    }
1635    #[inline]
1636    pub fn init_routing_tag(self, size: u32) -> ::capnp::data::Builder<'a> {
1637      self.builder.get_pointer_field(0).init_data(size)
1638    }
1639    #[inline]
1640    pub fn has_routing_tag(&self) -> bool {
1641      !self.builder.is_pointer_field_null(0)
1642    }
1643    #[inline]
1644    pub fn get_wrapped(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
1645      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1646    }
1647    #[inline]
1648    pub fn set_wrapped(&mut self, value: ::capnp::data::Reader<'_>)  {
1649      self.builder.reborrow().get_pointer_field(1).set_data(value);
1650    }
1651    #[inline]
1652    pub fn init_wrapped(self, size: u32) -> ::capnp::data::Builder<'a> {
1653      self.builder.get_pointer_field(1).init_data(size)
1654    }
1655    #[inline]
1656    pub fn has_wrapped(&self) -> bool {
1657      !self.builder.is_pointer_field_null(1)
1658    }
1659  }
1660
1661  pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1662  impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1663    fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1664      Self { _typeless: typeless,  }
1665    }
1666  }
1667  impl Pipeline  {
1668  }
1669  mod _private {
1670    pub static ENCODED_NODE: [::capnp::Word; 49] = [
1671      ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
1672      ::capnp::word(89, 33, 75, 83, 178, 76, 5, 129),
1673      ::capnp::word(13, 0, 0, 0, 1, 0, 0, 0),
1674      ::capnp::word(49, 231, 188, 47, 194, 250, 158, 139),
1675      ::capnp::word(2, 0, 7, 0, 0, 0, 0, 0),
1676      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1677      ::capnp::word(88, 11, 0, 0, 152, 11, 0, 0),
1678      ::capnp::word(21, 0, 0, 0, 194, 0, 0, 0),
1679      ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
1680      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1681      ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
1682      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1683      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1684      ::capnp::word(101, 118, 101, 110, 116, 115, 46, 99),
1685      ::capnp::word(97, 112, 110, 112, 58, 87, 114, 97),
1686      ::capnp::word(112, 112, 101, 100, 75, 101, 121, 0),
1687      ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1688      ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
1689      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1690      ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1691      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1692      ::capnp::word(41, 0, 0, 0, 90, 0, 0, 0),
1693      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1694      ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
1695      ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
1696      ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
1697      ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1698      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1699      ::capnp::word(49, 0, 0, 0, 66, 0, 0, 0),
1700      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1701      ::capnp::word(44, 0, 0, 0, 3, 0, 1, 0),
1702      ::capnp::word(56, 0, 0, 0, 2, 0, 1, 0),
1703      ::capnp::word(114, 111, 117, 116, 105, 110, 103, 84),
1704      ::capnp::word(97, 103, 0, 0, 0, 0, 0, 0),
1705      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1706      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1707      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1708      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1709      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1710      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1711      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1712      ::capnp::word(119, 114, 97, 112, 112, 101, 100, 0),
1713      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1714      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1715      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1716      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1717      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1718      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1719      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1720    ];
1721    pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1722      match index {
1723        0 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
1724        1 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
1725        _ => ::capnp::introspect::panic_invalid_field_index(index),
1726      }
1727    }
1728    pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
1729      ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
1730    }
1731    #[allow(unsafe_code)]
1732    pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
1733      &ENCODED_NODE,
1734      NONUNION_MEMBERS,
1735      MEMBERS_BY_DISCRIMINANT,
1736      MEMBERS_BY_NAME
1737    )};
1738    pub static NONUNION_MEMBERS : &[u16] = &[0,1];
1739    pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
1740    pub static MEMBERS_BY_NAME : &[u16] = &[0,1];
1741    pub const TYPE_ID: u64 = 0x8105_4cb2_534b_2159;
1742  }
1743}
1744
1745pub mod announcement {
1746  pub use self::Which::{PrefixAvailable,Rekey,PrefixOffline};
1747
1748  #[derive(Copy, Clone)]
1749  pub struct Owned(());
1750  impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
1751  impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1752  impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1753  impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1754
1755  pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1756  impl <> ::core::marker::Copy for Reader<'_,>  {}
1757  impl <> ::core::clone::Clone for Reader<'_,>  {
1758    fn clone(&self) -> Self { *self }
1759  }
1760
1761  impl <> ::capnp::traits::HasTypeId for Reader<'_,>  {
1762    const TYPE_ID: u64 = _private::TYPE_ID;
1763  }
1764  impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,>  {
1765    fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1766      Self { reader,  }
1767    }
1768  }
1769
1770  impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a>  {
1771    fn from(reader: Reader<'a,>) -> Self {
1772      Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1773    }
1774  }
1775
1776  impl <> ::core::fmt::Debug for Reader<'_,>  {
1777    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1778      core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1779    }
1780  }
1781
1782  impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,>  {
1783    fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1784      ::core::result::Result::Ok(reader.get_struct(default)?.into())
1785    }
1786  }
1787
1788  impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,>  {
1789    fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1790      self.reader
1791    }
1792  }
1793
1794  impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,>  {
1795    fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1796      self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1797    }
1798  }
1799
1800  impl <'a,> Reader<'a,>  {
1801    pub fn reborrow(&self) -> Reader<'_,> {
1802      Self { .. *self }
1803    }
1804
1805    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1806      self.reader.total_size()
1807    }
1808    #[inline]
1809    pub fn has_prefix_available(&self) -> bool {
1810      if self.reader.get_data_field::<u16>(0) != 0 { return false; }
1811      !self.reader.get_pointer_field(0).is_null()
1812    }
1813    #[inline]
1814    pub fn has_rekey(&self) -> bool {
1815      if self.reader.get_data_field::<u16>(0) != 1 { return false; }
1816      !self.reader.get_pointer_field(0).is_null()
1817    }
1818    #[inline]
1819    pub fn has_prefix_offline(&self) -> bool {
1820      if self.reader.get_data_field::<u16>(0) != 2 { return false; }
1821      !self.reader.get_pointer_field(0).is_null()
1822    }
1823    #[inline]
1824    pub fn which(self) -> ::core::result::Result<WhichReader<'a,>, ::capnp::NotInSchema> {
1825      match self.reader.get_data_field::<u16>(0) {
1826        0 => {
1827          ::core::result::Result::Ok(PrefixAvailable(
1828            ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
1829          ))
1830        }
1831        1 => {
1832          ::core::result::Result::Ok(Rekey(
1833            ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
1834          ))
1835        }
1836        2 => {
1837          ::core::result::Result::Ok(PrefixOffline(
1838            ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
1839          ))
1840        }
1841        x => ::core::result::Result::Err(::capnp::NotInSchema(x))
1842      }
1843    }
1844  }
1845
1846  pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1847  impl <> ::capnp::traits::HasStructSize for Builder<'_,>  {
1848    const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 1 };
1849  }
1850  impl <> ::capnp::traits::HasTypeId for Builder<'_,>  {
1851    const TYPE_ID: u64 = _private::TYPE_ID;
1852  }
1853  impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,>  {
1854    fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1855      Self { builder,  }
1856    }
1857  }
1858
1859  impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a>  {
1860    fn from(builder: Builder<'a,>) -> Self {
1861      Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1862    }
1863  }
1864
1865  impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,>  {
1866    fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1867      self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1868    }
1869  }
1870
1871  impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,>  {
1872    fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1873      builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1874    }
1875    fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1876      ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1877    }
1878  }
1879
1880  impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,>  {
1881    fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1882  }
1883
1884  impl <'a,> Builder<'a,>  {
1885    pub fn into_reader(self) -> Reader<'a,> {
1886      self.builder.into_reader().into()
1887    }
1888    pub fn reborrow(&mut self) -> Builder<'_,> {
1889      Builder { builder: self.builder.reborrow() }
1890    }
1891    pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1892      self.builder.as_reader().into()
1893    }
1894
1895    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1896      self.builder.as_reader().total_size()
1897    }
1898    #[inline]
1899    pub fn set_prefix_available(&mut self, value: crate::events_capnp::prefix_available_announcement::Reader<'_>) -> ::capnp::Result<()> {
1900      self.builder.set_data_field::<u16>(0, 0);
1901      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
1902    }
1903    #[inline]
1904    pub fn init_prefix_available(self, ) -> crate::events_capnp::prefix_available_announcement::Builder<'a> {
1905      self.builder.set_data_field::<u16>(0, 0);
1906      ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
1907    }
1908    #[inline]
1909    pub fn has_prefix_available(&self) -> bool {
1910      if self.builder.get_data_field::<u16>(0) != 0 { return false; }
1911      !self.builder.is_pointer_field_null(0)
1912    }
1913    #[inline]
1914    pub fn set_rekey(&mut self, value: crate::events_capnp::rekey_announcement::Reader<'_>) -> ::capnp::Result<()> {
1915      self.builder.set_data_field::<u16>(0, 1);
1916      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
1917    }
1918    #[inline]
1919    pub fn init_rekey(self, ) -> crate::events_capnp::rekey_announcement::Builder<'a> {
1920      self.builder.set_data_field::<u16>(0, 1);
1921      ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
1922    }
1923    #[inline]
1924    pub fn has_rekey(&self) -> bool {
1925      if self.builder.get_data_field::<u16>(0) != 1 { return false; }
1926      !self.builder.is_pointer_field_null(0)
1927    }
1928    #[inline]
1929    pub fn set_prefix_offline(&mut self, value: crate::events_capnp::prefix_offline_announcement::Reader<'_>) -> ::capnp::Result<()> {
1930      self.builder.set_data_field::<u16>(0, 2);
1931      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
1932    }
1933    #[inline]
1934    pub fn init_prefix_offline(self, ) -> crate::events_capnp::prefix_offline_announcement::Builder<'a> {
1935      self.builder.set_data_field::<u16>(0, 2);
1936      ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
1937    }
1938    #[inline]
1939    pub fn has_prefix_offline(&self) -> bool {
1940      if self.builder.get_data_field::<u16>(0) != 2 { return false; }
1941      !self.builder.is_pointer_field_null(0)
1942    }
1943    #[inline]
1944    pub fn which(self) -> ::core::result::Result<WhichBuilder<'a,>, ::capnp::NotInSchema> {
1945      match self.builder.get_data_field::<u16>(0) {
1946        0 => {
1947          ::core::result::Result::Ok(PrefixAvailable(
1948            ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
1949          ))
1950        }
1951        1 => {
1952          ::core::result::Result::Ok(Rekey(
1953            ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
1954          ))
1955        }
1956        2 => {
1957          ::core::result::Result::Ok(PrefixOffline(
1958            ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
1959          ))
1960        }
1961        x => ::core::result::Result::Err(::capnp::NotInSchema(x))
1962      }
1963    }
1964  }
1965
1966  pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1967  impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1968    fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1969      Self { _typeless: typeless,  }
1970    }
1971  }
1972  impl Pipeline  {
1973  }
1974  mod _private {
1975    pub static ENCODED_NODE: [::capnp::Word; 66] = [
1976      ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
1977      ::capnp::word(93, 197, 43, 0, 158, 23, 101, 133),
1978      ::capnp::word(13, 0, 0, 0, 1, 0, 1, 0),
1979      ::capnp::word(49, 231, 188, 47, 194, 250, 158, 139),
1980      ::capnp::word(1, 0, 7, 0, 0, 0, 3, 0),
1981      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1982      ::capnp::word(189, 11, 0, 0, 105, 12, 0, 0),
1983      ::capnp::word(21, 0, 0, 0, 210, 0, 0, 0),
1984      ::capnp::word(33, 0, 0, 0, 7, 0, 0, 0),
1985      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1986      ::capnp::word(29, 0, 0, 0, 175, 0, 0, 0),
1987      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1988      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1989      ::capnp::word(101, 118, 101, 110, 116, 115, 46, 99),
1990      ::capnp::word(97, 112, 110, 112, 58, 65, 110, 110),
1991      ::capnp::word(111, 117, 110, 99, 101, 109, 101, 110),
1992      ::capnp::word(116, 0, 0, 0, 0, 0, 0, 0),
1993      ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1994      ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
1995      ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
1996      ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1997      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1998      ::capnp::word(69, 0, 0, 0, 130, 0, 0, 0),
1999      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2000      ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
2001      ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
2002      ::capnp::word(1, 0, 254, 255, 0, 0, 0, 0),
2003      ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
2004      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2005      ::capnp::word(77, 0, 0, 0, 50, 0, 0, 0),
2006      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2007      ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
2008      ::capnp::word(84, 0, 0, 0, 2, 0, 1, 0),
2009      ::capnp::word(2, 0, 253, 255, 0, 0, 0, 0),
2010      ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
2011      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2012      ::capnp::word(81, 0, 0, 0, 114, 0, 0, 0),
2013      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2014      ::capnp::word(80, 0, 0, 0, 3, 0, 1, 0),
2015      ::capnp::word(92, 0, 0, 0, 2, 0, 1, 0),
2016      ::capnp::word(112, 114, 101, 102, 105, 120, 65, 118),
2017      ::capnp::word(97, 105, 108, 97, 98, 108, 101, 0),
2018      ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2019      ::capnp::word(50, 7, 152, 227, 225, 241, 225, 141),
2020      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2021      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2022      ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2023      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2024      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2025      ::capnp::word(114, 101, 107, 101, 121, 0, 0, 0),
2026      ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2027      ::capnp::word(194, 206, 132, 34, 227, 37, 159, 156),
2028      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2029      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2030      ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2031      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2032      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2033      ::capnp::word(112, 114, 101, 102, 105, 120, 79, 102),
2034      ::capnp::word(102, 108, 105, 110, 101, 0, 0, 0),
2035      ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2036      ::capnp::word(161, 218, 248, 91, 87, 10, 87, 212),
2037      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2038      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2039      ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2040      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2041      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2042    ];
2043    pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2044      match index {
2045        0 => <crate::events_capnp::prefix_available_announcement::Owned as ::capnp::introspect::Introspect>::introspect(),
2046        1 => <crate::events_capnp::rekey_announcement::Owned as ::capnp::introspect::Introspect>::introspect(),
2047        2 => <crate::events_capnp::prefix_offline_announcement::Owned as ::capnp::introspect::Introspect>::introspect(),
2048        _ => ::capnp::introspect::panic_invalid_field_index(index),
2049      }
2050    }
2051    pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2052      ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2053    }
2054    #[allow(unsafe_code)]
2055    pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
2056      &ENCODED_NODE,
2057      NONUNION_MEMBERS,
2058      MEMBERS_BY_DISCRIMINANT,
2059      MEMBERS_BY_NAME
2060    )};
2061    pub static NONUNION_MEMBERS : &[u16] = &[];
2062    pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[0,1,2];
2063    pub static MEMBERS_BY_NAME : &[u16] = &[0,2,1];
2064    pub const TYPE_ID: u64 = 0x8565_179e_002b_c55d;
2065  }
2066  pub enum Which<A0,A1,A2> {
2067    PrefixAvailable(A0),
2068    Rekey(A1),
2069    PrefixOffline(A2),
2070  }
2071  pub type WhichReader<'a,> = Which<::capnp::Result<crate::events_capnp::prefix_available_announcement::Reader<'a>>,::capnp::Result<crate::events_capnp::rekey_announcement::Reader<'a>>,::capnp::Result<crate::events_capnp::prefix_offline_announcement::Reader<'a>>>;
2072  pub type WhichBuilder<'a,> = Which<::capnp::Result<crate::events_capnp::prefix_available_announcement::Builder<'a>>,::capnp::Result<crate::events_capnp::rekey_announcement::Builder<'a>>,::capnp::Result<crate::events_capnp::prefix_offline_announcement::Builder<'a>>>;
2073}
2074
2075pub mod prefix_available_announcement {
2076  #[derive(Copy, Clone)]
2077  pub struct Owned(());
2078  impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
2079  impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2080  impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2081  impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2082
2083  pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2084  impl <> ::core::marker::Copy for Reader<'_,>  {}
2085  impl <> ::core::clone::Clone for Reader<'_,>  {
2086    fn clone(&self) -> Self { *self }
2087  }
2088
2089  impl <> ::capnp::traits::HasTypeId for Reader<'_,>  {
2090    const TYPE_ID: u64 = _private::TYPE_ID;
2091  }
2092  impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,>  {
2093    fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2094      Self { reader,  }
2095    }
2096  }
2097
2098  impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a>  {
2099    fn from(reader: Reader<'a,>) -> Self {
2100      Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2101    }
2102  }
2103
2104  impl <> ::core::fmt::Debug for Reader<'_,>  {
2105    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2106      core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2107    }
2108  }
2109
2110  impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,>  {
2111    fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2112      ::core::result::Result::Ok(reader.get_struct(default)?.into())
2113    }
2114  }
2115
2116  impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,>  {
2117    fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2118      self.reader
2119    }
2120  }
2121
2122  impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,>  {
2123    fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2124      self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2125    }
2126  }
2127
2128  impl <'a,> Reader<'a,>  {
2129    pub fn reborrow(&self) -> Reader<'_,> {
2130      Self { .. *self }
2131    }
2132
2133    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2134      self.reader.total_size()
2135    }
2136    #[inline]
2137    pub fn get_prefix(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
2138      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
2139    }
2140    #[inline]
2141    pub fn has_prefix(&self) -> bool {
2142      !self.reader.get_pointer_field(0).is_null()
2143    }
2144    #[inline]
2145    pub fn get_publisher_ephemeral_pubkey(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
2146      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
2147    }
2148    #[inline]
2149    pub fn has_publisher_ephemeral_pubkey(&self) -> bool {
2150      !self.reader.get_pointer_field(1).is_null()
2151    }
2152    #[inline]
2153    pub fn get_schema(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
2154      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(2), ::core::option::Option::None)
2155    }
2156    #[inline]
2157    pub fn has_schema(&self) -> bool {
2158      !self.reader.get_pointer_field(2).is_null()
2159    }
2160  }
2161
2162  pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2163  impl <> ::capnp::traits::HasStructSize for Builder<'_,>  {
2164    const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 3 };
2165  }
2166  impl <> ::capnp::traits::HasTypeId for Builder<'_,>  {
2167    const TYPE_ID: u64 = _private::TYPE_ID;
2168  }
2169  impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,>  {
2170    fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2171      Self { builder,  }
2172    }
2173  }
2174
2175  impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a>  {
2176    fn from(builder: Builder<'a,>) -> Self {
2177      Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2178    }
2179  }
2180
2181  impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,>  {
2182    fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2183      self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2184    }
2185  }
2186
2187  impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,>  {
2188    fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2189      builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2190    }
2191    fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2192      ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2193    }
2194  }
2195
2196  impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,>  {
2197    fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2198  }
2199
2200  impl <'a,> Builder<'a,>  {
2201    pub fn into_reader(self) -> Reader<'a,> {
2202      self.builder.into_reader().into()
2203    }
2204    pub fn reborrow(&mut self) -> Builder<'_,> {
2205      Builder { builder: self.builder.reborrow() }
2206    }
2207    pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2208      self.builder.as_reader().into()
2209    }
2210
2211    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2212      self.builder.as_reader().total_size()
2213    }
2214    #[inline]
2215    pub fn get_prefix(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
2216      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
2217    }
2218    #[inline]
2219    pub fn set_prefix(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
2220      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false).unwrap()
2221    }
2222    #[inline]
2223    pub fn init_prefix(self, size: u32) -> ::capnp::text::Builder<'a> {
2224      self.builder.get_pointer_field(0).init_text(size)
2225    }
2226    #[inline]
2227    pub fn has_prefix(&self) -> bool {
2228      !self.builder.is_pointer_field_null(0)
2229    }
2230    #[inline]
2231    pub fn get_publisher_ephemeral_pubkey(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
2232      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
2233    }
2234    #[inline]
2235    pub fn set_publisher_ephemeral_pubkey(&mut self, value: ::capnp::data::Reader<'_>)  {
2236      self.builder.reborrow().get_pointer_field(1).set_data(value);
2237    }
2238    #[inline]
2239    pub fn init_publisher_ephemeral_pubkey(self, size: u32) -> ::capnp::data::Builder<'a> {
2240      self.builder.get_pointer_field(1).init_data(size)
2241    }
2242    #[inline]
2243    pub fn has_publisher_ephemeral_pubkey(&self) -> bool {
2244      !self.builder.is_pointer_field_null(1)
2245    }
2246    #[inline]
2247    pub fn get_schema(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
2248      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(2), ::core::option::Option::None)
2249    }
2250    #[inline]
2251    pub fn set_schema(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
2252      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(2), value, false).unwrap()
2253    }
2254    #[inline]
2255    pub fn init_schema(self, size: u32) -> ::capnp::text::Builder<'a> {
2256      self.builder.get_pointer_field(2).init_text(size)
2257    }
2258    #[inline]
2259    pub fn has_schema(&self) -> bool {
2260      !self.builder.is_pointer_field_null(2)
2261    }
2262  }
2263
2264  pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2265  impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2266    fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2267      Self { _typeless: typeless,  }
2268    }
2269  }
2270  impl Pipeline  {
2271  }
2272  mod _private {
2273    pub static ENCODED_NODE: [::capnp::Word; 69] = [
2274      ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
2275      ::capnp::word(50, 7, 152, 227, 225, 241, 225, 141),
2276      ::capnp::word(13, 0, 0, 0, 1, 0, 0, 0),
2277      ::capnp::word(49, 231, 188, 47, 194, 250, 158, 139),
2278      ::capnp::word(3, 0, 7, 0, 0, 0, 0, 0),
2279      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2280      ::capnp::word(148, 12, 0, 0, 5, 13, 0, 0),
2281      ::capnp::word(21, 0, 0, 0, 74, 1, 0, 0),
2282      ::capnp::word(41, 0, 0, 0, 7, 0, 0, 0),
2283      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2284      ::capnp::word(37, 0, 0, 0, 175, 0, 0, 0),
2285      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2286      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2287      ::capnp::word(101, 118, 101, 110, 116, 115, 46, 99),
2288      ::capnp::word(97, 112, 110, 112, 58, 80, 114, 101),
2289      ::capnp::word(102, 105, 120, 65, 118, 97, 105, 108),
2290      ::capnp::word(97, 98, 108, 101, 65, 110, 110, 111),
2291      ::capnp::word(117, 110, 99, 101, 109, 101, 110, 116),
2292      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2293      ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
2294      ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
2295      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2296      ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
2297      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2298      ::capnp::word(69, 0, 0, 0, 58, 0, 0, 0),
2299      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2300      ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
2301      ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
2302      ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
2303      ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
2304      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2305      ::capnp::word(73, 0, 0, 0, 202, 0, 0, 0),
2306      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2307      ::capnp::word(80, 0, 0, 0, 3, 0, 1, 0),
2308      ::capnp::word(92, 0, 0, 0, 2, 0, 1, 0),
2309      ::capnp::word(2, 0, 0, 0, 2, 0, 0, 0),
2310      ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
2311      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2312      ::capnp::word(89, 0, 0, 0, 58, 0, 0, 0),
2313      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2314      ::capnp::word(84, 0, 0, 0, 3, 0, 1, 0),
2315      ::capnp::word(96, 0, 0, 0, 2, 0, 1, 0),
2316      ::capnp::word(112, 114, 101, 102, 105, 120, 0, 0),
2317      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
2318      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2319      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2320      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2321      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
2322      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2323      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2324      ::capnp::word(112, 117, 98, 108, 105, 115, 104, 101),
2325      ::capnp::word(114, 69, 112, 104, 101, 109, 101, 114),
2326      ::capnp::word(97, 108, 80, 117, 98, 107, 101, 121),
2327      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2328      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
2329      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2330      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2331      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2332      ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
2333      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2334      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2335      ::capnp::word(115, 99, 104, 101, 109, 97, 0, 0),
2336      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
2337      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2338      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2339      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2340      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
2341      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2342      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2343    ];
2344    pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2345      match index {
2346        0 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
2347        1 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
2348        2 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
2349        _ => ::capnp::introspect::panic_invalid_field_index(index),
2350      }
2351    }
2352    pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2353      ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2354    }
2355    #[allow(unsafe_code)]
2356    pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
2357      &ENCODED_NODE,
2358      NONUNION_MEMBERS,
2359      MEMBERS_BY_DISCRIMINANT,
2360      MEMBERS_BY_NAME
2361    )};
2362    pub static NONUNION_MEMBERS : &[u16] = &[0,1,2];
2363    pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2364    pub static MEMBERS_BY_NAME : &[u16] = &[0,1,2];
2365    pub const TYPE_ID: u64 = 0x8de1_f1e1_e398_0732;
2366  }
2367}
2368
2369pub mod prefix_offline_announcement {
2370  #[derive(Copy, Clone)]
2371  pub struct Owned(());
2372  impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
2373  impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2374  impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2375  impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2376
2377  pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2378  impl <> ::core::marker::Copy for Reader<'_,>  {}
2379  impl <> ::core::clone::Clone for Reader<'_,>  {
2380    fn clone(&self) -> Self { *self }
2381  }
2382
2383  impl <> ::capnp::traits::HasTypeId for Reader<'_,>  {
2384    const TYPE_ID: u64 = _private::TYPE_ID;
2385  }
2386  impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,>  {
2387    fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2388      Self { reader,  }
2389    }
2390  }
2391
2392  impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a>  {
2393    fn from(reader: Reader<'a,>) -> Self {
2394      Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2395    }
2396  }
2397
2398  impl <> ::core::fmt::Debug for Reader<'_,>  {
2399    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2400      core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2401    }
2402  }
2403
2404  impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,>  {
2405    fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2406      ::core::result::Result::Ok(reader.get_struct(default)?.into())
2407    }
2408  }
2409
2410  impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,>  {
2411    fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2412      self.reader
2413    }
2414  }
2415
2416  impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,>  {
2417    fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2418      self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2419    }
2420  }
2421
2422  impl <'a,> Reader<'a,>  {
2423    pub fn reborrow(&self) -> Reader<'_,> {
2424      Self { .. *self }
2425    }
2426
2427    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2428      self.reader.total_size()
2429    }
2430    #[inline]
2431    pub fn get_prefix(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
2432      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
2433    }
2434    #[inline]
2435    pub fn has_prefix(&self) -> bool {
2436      !self.reader.get_pointer_field(0).is_null()
2437    }
2438    #[inline]
2439    pub fn get_reason(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
2440      ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
2441    }
2442    #[inline]
2443    pub fn has_reason(&self) -> bool {
2444      !self.reader.get_pointer_field(1).is_null()
2445    }
2446  }
2447
2448  pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2449  impl <> ::capnp::traits::HasStructSize for Builder<'_,>  {
2450    const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 2 };
2451  }
2452  impl <> ::capnp::traits::HasTypeId for Builder<'_,>  {
2453    const TYPE_ID: u64 = _private::TYPE_ID;
2454  }
2455  impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,>  {
2456    fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2457      Self { builder,  }
2458    }
2459  }
2460
2461  impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a>  {
2462    fn from(builder: Builder<'a,>) -> Self {
2463      Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2464    }
2465  }
2466
2467  impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,>  {
2468    fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2469      self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2470    }
2471  }
2472
2473  impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,>  {
2474    fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2475      builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2476    }
2477    fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2478      ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2479    }
2480  }
2481
2482  impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,>  {
2483    fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2484  }
2485
2486  impl <'a,> Builder<'a,>  {
2487    pub fn into_reader(self) -> Reader<'a,> {
2488      self.builder.into_reader().into()
2489    }
2490    pub fn reborrow(&mut self) -> Builder<'_,> {
2491      Builder { builder: self.builder.reborrow() }
2492    }
2493    pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2494      self.builder.as_reader().into()
2495    }
2496
2497    pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2498      self.builder.as_reader().total_size()
2499    }
2500    #[inline]
2501    pub fn get_prefix(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
2502      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
2503    }
2504    #[inline]
2505    pub fn set_prefix(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
2506      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false).unwrap()
2507    }
2508    #[inline]
2509    pub fn init_prefix(self, size: u32) -> ::capnp::text::Builder<'a> {
2510      self.builder.get_pointer_field(0).init_text(size)
2511    }
2512    #[inline]
2513    pub fn has_prefix(&self) -> bool {
2514      !self.builder.is_pointer_field_null(0)
2515    }
2516    #[inline]
2517    pub fn get_reason(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
2518      ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
2519    }
2520    #[inline]
2521    pub fn set_reason(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>)  {
2522      ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false).unwrap()
2523    }
2524    #[inline]
2525    pub fn init_reason(self, size: u32) -> ::capnp::text::Builder<'a> {
2526      self.builder.get_pointer_field(1).init_text(size)
2527    }
2528    #[inline]
2529    pub fn has_reason(&self) -> bool {
2530      !self.builder.is_pointer_field_null(1)
2531    }
2532  }
2533
2534  pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2535  impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2536    fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2537      Self { _typeless: typeless,  }
2538    }
2539  }
2540  impl Pipeline  {
2541  }
2542  mod _private {
2543    pub static ENCODED_NODE: [::capnp::Word; 50] = [
2544      ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
2545      ::capnp::word(161, 218, 248, 91, 87, 10, 87, 212),
2546      ::capnp::word(13, 0, 0, 0, 1, 0, 0, 0),
2547      ::capnp::word(49, 231, 188, 47, 194, 250, 158, 139),
2548      ::capnp::word(2, 0, 7, 0, 0, 0, 0, 0),
2549      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2550      ::capnp::word(35, 13, 0, 0, 109, 13, 0, 0),
2551      ::capnp::word(21, 0, 0, 0, 58, 1, 0, 0),
2552      ::capnp::word(37, 0, 0, 0, 7, 0, 0, 0),
2553      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2554      ::capnp::word(33, 0, 0, 0, 119, 0, 0, 0),
2555      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2556      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2557      ::capnp::word(101, 118, 101, 110, 116, 115, 46, 99),
2558      ::capnp::word(97, 112, 110, 112, 58, 80, 114, 101),
2559      ::capnp::word(102, 105, 120, 79, 102, 102, 108, 105),
2560      ::capnp::word(110, 101, 65, 110, 110, 111, 117, 110),
2561      ::capnp::word(99, 101, 109, 101, 110, 116, 0, 0),
2562      ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
2563      ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
2564      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2565      ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
2566      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2567      ::capnp::word(41, 0, 0, 0, 58, 0, 0, 0),
2568      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2569      ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
2570      ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
2571      ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
2572      ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
2573      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2574      ::capnp::word(45, 0, 0, 0, 58, 0, 0, 0),
2575      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2576      ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
2577      ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
2578      ::capnp::word(112, 114, 101, 102, 105, 120, 0, 0),
2579      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
2580      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2581      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2582      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2583      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
2584      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2585      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2586      ::capnp::word(114, 101, 97, 115, 111, 110, 0, 0),
2587      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
2588      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2589      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2590      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2591      ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
2592      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2593      ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2594    ];
2595    pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2596      match index {
2597        0 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
2598        1 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
2599        _ => ::capnp::introspect::panic_invalid_field_index(index),
2600      }
2601    }
2602    pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2603      ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2604    }
2605    #[allow(unsafe_code)]
2606    pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
2607      &ENCODED_NODE,
2608      NONUNION_MEMBERS,
2609      MEMBERS_BY_DISCRIMINANT,
2610      MEMBERS_BY_NAME
2611    )};
2612    pub static NONUNION_MEMBERS : &[u16] = &[0,1];
2613    pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2614    pub static MEMBERS_BY_NAME : &[u16] = &[0,1];
2615    pub const TYPE_ID: u64 = 0xd457_0a57_5bf8_daa1;
2616  }
2617}