Skip to main content

capnp_rpc/
rpc_capnp.rs

1// @generated by the capnpc-rust plugin to the Cap'n Proto schema compiler.
2// DO NOT EDIT.
3// source: rpc.capnp
4// capnp binary version: 1.0.1
5// capnpc crate version: 0.25.3
6
7pub mod message {
8    pub use self::Which::{
9        Abort, Accept, Bootstrap, Call, Disembargo, Finish, Join, ObsoleteDelete, ObsoleteSave,
10        Provide, Release, Resolve, Return, Unimplemented,
11    };
12
13    #[derive(Copy, Clone)]
14    pub struct Owned(());
15    impl ::capnp::introspect::Introspect for Owned {
16        fn introspect() -> ::capnp::introspect::Type {
17            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
18                generic: &_private::RAW_SCHEMA,
19                field_types: _private::get_field_types,
20                annotation_types: _private::get_annotation_types,
21            })
22            .into()
23        }
24    }
25    impl ::capnp::traits::Owned for Owned {
26        type Reader<'a> = Reader<'a>;
27        type Builder<'a> = Builder<'a>;
28    }
29    impl ::capnp::traits::OwnedStruct for Owned {
30        type Reader<'a> = Reader<'a>;
31        type Builder<'a> = Builder<'a>;
32    }
33    impl ::capnp::traits::Pipelined for Owned {
34        type Pipeline = Pipeline;
35    }
36
37    pub struct Reader<'a> {
38        reader: ::capnp::private::layout::StructReader<'a>,
39    }
40    impl ::core::marker::Copy for Reader<'_> {}
41    impl ::core::clone::Clone for Reader<'_> {
42        fn clone(&self) -> Self {
43            *self
44        }
45    }
46
47    impl ::capnp::traits::HasTypeId for Reader<'_> {
48        const TYPE_ID: u64 = _private::TYPE_ID;
49    }
50    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
51        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
52            Self { reader }
53        }
54    }
55
56    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
57        fn from(reader: Reader<'a>) -> Self {
58            Self::Struct(::capnp::dynamic_struct::Reader::new(
59                reader.reader,
60                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
61                    generic: &_private::RAW_SCHEMA,
62                    field_types: _private::get_field_types,
63                    annotation_types: _private::get_annotation_types,
64                }),
65            ))
66        }
67    }
68
69    impl ::core::fmt::Debug for Reader<'_> {
70        fn fmt(
71            &self,
72            f: &mut ::core::fmt::Formatter<'_>,
73        ) -> ::core::result::Result<(), ::core::fmt::Error> {
74            core::fmt::Debug::fmt(
75                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
76                f,
77            )
78        }
79    }
80
81    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
82        fn get_from_pointer(
83            reader: &::capnp::private::layout::PointerReader<'a>,
84            default: ::core::option::Option<&'a [::capnp::Word]>,
85        ) -> ::capnp::Result<Self> {
86            ::core::result::Result::Ok(reader.get_struct(default)?.into())
87        }
88    }
89
90    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
91        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
92            self.reader
93        }
94    }
95
96    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
97        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
98            self.reader
99                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
100        }
101    }
102
103    impl<'a> Reader<'a> {
104        pub fn reborrow(&self) -> Reader<'_> {
105            Self { ..*self }
106        }
107
108        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
109            self.reader.total_size()
110        }
111        #[inline]
112        pub fn has_unimplemented(&self) -> bool {
113            if self.reader.get_data_field::<u16>(0) != 0 {
114                return false;
115            }
116            !self.reader.get_pointer_field(0).is_null()
117        }
118        #[inline]
119        pub fn has_abort(&self) -> bool {
120            if self.reader.get_data_field::<u16>(0) != 1 {
121                return false;
122            }
123            !self.reader.get_pointer_field(0).is_null()
124        }
125        #[inline]
126        pub fn has_call(&self) -> bool {
127            if self.reader.get_data_field::<u16>(0) != 2 {
128                return false;
129            }
130            !self.reader.get_pointer_field(0).is_null()
131        }
132        #[inline]
133        pub fn has_return(&self) -> bool {
134            if self.reader.get_data_field::<u16>(0) != 3 {
135                return false;
136            }
137            !self.reader.get_pointer_field(0).is_null()
138        }
139        #[inline]
140        pub fn has_finish(&self) -> bool {
141            if self.reader.get_data_field::<u16>(0) != 4 {
142                return false;
143            }
144            !self.reader.get_pointer_field(0).is_null()
145        }
146        #[inline]
147        pub fn has_resolve(&self) -> bool {
148            if self.reader.get_data_field::<u16>(0) != 5 {
149                return false;
150            }
151            !self.reader.get_pointer_field(0).is_null()
152        }
153        #[inline]
154        pub fn has_release(&self) -> bool {
155            if self.reader.get_data_field::<u16>(0) != 6 {
156                return false;
157            }
158            !self.reader.get_pointer_field(0).is_null()
159        }
160        #[inline]
161        pub fn has_obsolete_save(&self) -> bool {
162            if self.reader.get_data_field::<u16>(0) != 7 {
163                return false;
164            }
165            !self.reader.get_pointer_field(0).is_null()
166        }
167        #[inline]
168        pub fn has_bootstrap(&self) -> bool {
169            if self.reader.get_data_field::<u16>(0) != 8 {
170                return false;
171            }
172            !self.reader.get_pointer_field(0).is_null()
173        }
174        #[inline]
175        pub fn has_obsolete_delete(&self) -> bool {
176            if self.reader.get_data_field::<u16>(0) != 9 {
177                return false;
178            }
179            !self.reader.get_pointer_field(0).is_null()
180        }
181        #[inline]
182        pub fn has_provide(&self) -> bool {
183            if self.reader.get_data_field::<u16>(0) != 10 {
184                return false;
185            }
186            !self.reader.get_pointer_field(0).is_null()
187        }
188        #[inline]
189        pub fn has_accept(&self) -> bool {
190            if self.reader.get_data_field::<u16>(0) != 11 {
191                return false;
192            }
193            !self.reader.get_pointer_field(0).is_null()
194        }
195        #[inline]
196        pub fn has_join(&self) -> bool {
197            if self.reader.get_data_field::<u16>(0) != 12 {
198                return false;
199            }
200            !self.reader.get_pointer_field(0).is_null()
201        }
202        #[inline]
203        pub fn has_disembargo(&self) -> bool {
204            if self.reader.get_data_field::<u16>(0) != 13 {
205                return false;
206            }
207            !self.reader.get_pointer_field(0).is_null()
208        }
209        #[inline]
210        pub fn which(self) -> ::core::result::Result<WhichReader<'a>, ::capnp::NotInSchema> {
211            match self.reader.get_data_field::<u16>(0) {
212                0 => ::core::result::Result::Ok(Unimplemented(
213                    ::capnp::traits::FromPointerReader::get_from_pointer(
214                        &self.reader.get_pointer_field(0),
215                        ::core::option::Option::None,
216                    ),
217                )),
218                1 => ::core::result::Result::Ok(Abort(
219                    ::capnp::traits::FromPointerReader::get_from_pointer(
220                        &self.reader.get_pointer_field(0),
221                        ::core::option::Option::None,
222                    ),
223                )),
224                2 => ::core::result::Result::Ok(Call(
225                    ::capnp::traits::FromPointerReader::get_from_pointer(
226                        &self.reader.get_pointer_field(0),
227                        ::core::option::Option::None,
228                    ),
229                )),
230                3 => ::core::result::Result::Ok(Return(
231                    ::capnp::traits::FromPointerReader::get_from_pointer(
232                        &self.reader.get_pointer_field(0),
233                        ::core::option::Option::None,
234                    ),
235                )),
236                4 => ::core::result::Result::Ok(Finish(
237                    ::capnp::traits::FromPointerReader::get_from_pointer(
238                        &self.reader.get_pointer_field(0),
239                        ::core::option::Option::None,
240                    ),
241                )),
242                5 => ::core::result::Result::Ok(Resolve(
243                    ::capnp::traits::FromPointerReader::get_from_pointer(
244                        &self.reader.get_pointer_field(0),
245                        ::core::option::Option::None,
246                    ),
247                )),
248                6 => ::core::result::Result::Ok(Release(
249                    ::capnp::traits::FromPointerReader::get_from_pointer(
250                        &self.reader.get_pointer_field(0),
251                        ::core::option::Option::None,
252                    ),
253                )),
254                7 => ::core::result::Result::Ok(ObsoleteSave(::capnp::any_pointer::Reader::new(
255                    self.reader.get_pointer_field(0),
256                ))),
257                8 => ::core::result::Result::Ok(Bootstrap(
258                    ::capnp::traits::FromPointerReader::get_from_pointer(
259                        &self.reader.get_pointer_field(0),
260                        ::core::option::Option::None,
261                    ),
262                )),
263                9 => ::core::result::Result::Ok(ObsoleteDelete(::capnp::any_pointer::Reader::new(
264                    self.reader.get_pointer_field(0),
265                ))),
266                10 => ::core::result::Result::Ok(Provide(
267                    ::capnp::traits::FromPointerReader::get_from_pointer(
268                        &self.reader.get_pointer_field(0),
269                        ::core::option::Option::None,
270                    ),
271                )),
272                11 => ::core::result::Result::Ok(Accept(
273                    ::capnp::traits::FromPointerReader::get_from_pointer(
274                        &self.reader.get_pointer_field(0),
275                        ::core::option::Option::None,
276                    ),
277                )),
278                12 => ::core::result::Result::Ok(Join(
279                    ::capnp::traits::FromPointerReader::get_from_pointer(
280                        &self.reader.get_pointer_field(0),
281                        ::core::option::Option::None,
282                    ),
283                )),
284                13 => ::core::result::Result::Ok(Disembargo(
285                    ::capnp::traits::FromPointerReader::get_from_pointer(
286                        &self.reader.get_pointer_field(0),
287                        ::core::option::Option::None,
288                    ),
289                )),
290                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
291            }
292        }
293    }
294
295    pub struct Builder<'a> {
296        builder: ::capnp::private::layout::StructBuilder<'a>,
297    }
298    impl ::capnp::traits::HasStructSize for Builder<'_> {
299        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
300            ::capnp::private::layout::StructSize {
301                data: 1,
302                pointers: 1,
303            };
304    }
305    impl ::capnp::traits::HasTypeId for Builder<'_> {
306        const TYPE_ID: u64 = _private::TYPE_ID;
307    }
308    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
309        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
310            Self { builder }
311        }
312    }
313
314    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
315        fn from(builder: Builder<'a>) -> Self {
316            Self::Struct(::capnp::dynamic_struct::Builder::new(
317                builder.builder,
318                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
319                    generic: &_private::RAW_SCHEMA,
320                    field_types: _private::get_field_types,
321                    annotation_types: _private::get_annotation_types,
322                }),
323            ))
324        }
325    }
326
327    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
328        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
329            self.builder
330                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
331        }
332    }
333
334    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
335        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
336            builder
337                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
338                .into()
339        }
340        fn get_from_pointer(
341            builder: ::capnp::private::layout::PointerBuilder<'a>,
342            default: ::core::option::Option<&'a [::capnp::Word]>,
343        ) -> ::capnp::Result<Self> {
344            ::core::result::Result::Ok(
345                builder
346                    .get_struct(
347                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
348                        default,
349                    )?
350                    .into(),
351            )
352        }
353    }
354
355    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
356        fn set_pointer_builder(
357            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
358            value: Self,
359            canonicalize: bool,
360        ) -> ::capnp::Result<()> {
361            pointer.set_struct(&value.reader, canonicalize)
362        }
363    }
364
365    impl<'a> Builder<'a> {
366        pub fn into_reader(self) -> Reader<'a> {
367            self.builder.into_reader().into()
368        }
369        pub fn reborrow(&mut self) -> Builder<'_> {
370            Builder {
371                builder: self.builder.reborrow(),
372            }
373        }
374        pub fn reborrow_as_reader(&self) -> Reader<'_> {
375            self.builder.as_reader().into()
376        }
377
378        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
379            self.builder.as_reader().total_size()
380        }
381        #[inline]
382        pub fn set_unimplemented(
383            &mut self,
384            value: crate::rpc_capnp::message::Reader<'_>,
385        ) -> ::capnp::Result<()> {
386            self.builder.set_data_field::<u16>(0, 0);
387            ::capnp::traits::SetterInput::set_pointer_builder(
388                self.builder.reborrow().get_pointer_field(0),
389                value,
390                false,
391            )
392        }
393        #[inline]
394        pub fn init_unimplemented(self) -> crate::rpc_capnp::message::Builder<'a> {
395            self.builder.set_data_field::<u16>(0, 0);
396            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
397        }
398        #[inline]
399        pub fn has_unimplemented(&self) -> bool {
400            if self.builder.get_data_field::<u16>(0) != 0 {
401                return false;
402            }
403            !self.builder.is_pointer_field_null(0)
404        }
405        #[inline]
406        pub fn set_abort(
407            &mut self,
408            value: crate::rpc_capnp::exception::Reader<'_>,
409        ) -> ::capnp::Result<()> {
410            self.builder.set_data_field::<u16>(0, 1);
411            ::capnp::traits::SetterInput::set_pointer_builder(
412                self.builder.reborrow().get_pointer_field(0),
413                value,
414                false,
415            )
416        }
417        #[inline]
418        pub fn init_abort(self) -> crate::rpc_capnp::exception::Builder<'a> {
419            self.builder.set_data_field::<u16>(0, 1);
420            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
421        }
422        #[inline]
423        pub fn has_abort(&self) -> bool {
424            if self.builder.get_data_field::<u16>(0) != 1 {
425                return false;
426            }
427            !self.builder.is_pointer_field_null(0)
428        }
429        #[inline]
430        pub fn set_call(
431            &mut self,
432            value: crate::rpc_capnp::call::Reader<'_>,
433        ) -> ::capnp::Result<()> {
434            self.builder.set_data_field::<u16>(0, 2);
435            ::capnp::traits::SetterInput::set_pointer_builder(
436                self.builder.reborrow().get_pointer_field(0),
437                value,
438                false,
439            )
440        }
441        #[inline]
442        pub fn init_call(self) -> crate::rpc_capnp::call::Builder<'a> {
443            self.builder.set_data_field::<u16>(0, 2);
444            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
445        }
446        #[inline]
447        pub fn has_call(&self) -> bool {
448            if self.builder.get_data_field::<u16>(0) != 2 {
449                return false;
450            }
451            !self.builder.is_pointer_field_null(0)
452        }
453        #[inline]
454        pub fn set_return(
455            &mut self,
456            value: crate::rpc_capnp::return_::Reader<'_>,
457        ) -> ::capnp::Result<()> {
458            self.builder.set_data_field::<u16>(0, 3);
459            ::capnp::traits::SetterInput::set_pointer_builder(
460                self.builder.reborrow().get_pointer_field(0),
461                value,
462                false,
463            )
464        }
465        #[inline]
466        pub fn init_return(self) -> crate::rpc_capnp::return_::Builder<'a> {
467            self.builder.set_data_field::<u16>(0, 3);
468            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
469        }
470        #[inline]
471        pub fn has_return(&self) -> bool {
472            if self.builder.get_data_field::<u16>(0) != 3 {
473                return false;
474            }
475            !self.builder.is_pointer_field_null(0)
476        }
477        #[inline]
478        pub fn set_finish(
479            &mut self,
480            value: crate::rpc_capnp::finish::Reader<'_>,
481        ) -> ::capnp::Result<()> {
482            self.builder.set_data_field::<u16>(0, 4);
483            ::capnp::traits::SetterInput::set_pointer_builder(
484                self.builder.reborrow().get_pointer_field(0),
485                value,
486                false,
487            )
488        }
489        #[inline]
490        pub fn init_finish(self) -> crate::rpc_capnp::finish::Builder<'a> {
491            self.builder.set_data_field::<u16>(0, 4);
492            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
493        }
494        #[inline]
495        pub fn has_finish(&self) -> bool {
496            if self.builder.get_data_field::<u16>(0) != 4 {
497                return false;
498            }
499            !self.builder.is_pointer_field_null(0)
500        }
501        #[inline]
502        pub fn set_resolve(
503            &mut self,
504            value: crate::rpc_capnp::resolve::Reader<'_>,
505        ) -> ::capnp::Result<()> {
506            self.builder.set_data_field::<u16>(0, 5);
507            ::capnp::traits::SetterInput::set_pointer_builder(
508                self.builder.reborrow().get_pointer_field(0),
509                value,
510                false,
511            )
512        }
513        #[inline]
514        pub fn init_resolve(self) -> crate::rpc_capnp::resolve::Builder<'a> {
515            self.builder.set_data_field::<u16>(0, 5);
516            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
517        }
518        #[inline]
519        pub fn has_resolve(&self) -> bool {
520            if self.builder.get_data_field::<u16>(0) != 5 {
521                return false;
522            }
523            !self.builder.is_pointer_field_null(0)
524        }
525        #[inline]
526        pub fn set_release(
527            &mut self,
528            value: crate::rpc_capnp::release::Reader<'_>,
529        ) -> ::capnp::Result<()> {
530            self.builder.set_data_field::<u16>(0, 6);
531            ::capnp::traits::SetterInput::set_pointer_builder(
532                self.builder.reborrow().get_pointer_field(0),
533                value,
534                false,
535            )
536        }
537        #[inline]
538        pub fn init_release(self) -> crate::rpc_capnp::release::Builder<'a> {
539            self.builder.set_data_field::<u16>(0, 6);
540            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
541        }
542        #[inline]
543        pub fn has_release(&self) -> bool {
544            if self.builder.get_data_field::<u16>(0) != 6 {
545                return false;
546            }
547            !self.builder.is_pointer_field_null(0)
548        }
549        #[inline]
550        pub fn init_obsolete_save(self) -> ::capnp::any_pointer::Builder<'a> {
551            self.builder.set_data_field::<u16>(0, 7);
552            let mut result = ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0));
553            result.clear();
554            result
555        }
556        #[inline]
557        pub fn has_obsolete_save(&self) -> bool {
558            if self.builder.get_data_field::<u16>(0) != 7 {
559                return false;
560            }
561            !self.builder.is_pointer_field_null(0)
562        }
563        #[inline]
564        pub fn set_bootstrap(
565            &mut self,
566            value: crate::rpc_capnp::bootstrap::Reader<'_>,
567        ) -> ::capnp::Result<()> {
568            self.builder.set_data_field::<u16>(0, 8);
569            ::capnp::traits::SetterInput::set_pointer_builder(
570                self.builder.reborrow().get_pointer_field(0),
571                value,
572                false,
573            )
574        }
575        #[inline]
576        pub fn init_bootstrap(self) -> crate::rpc_capnp::bootstrap::Builder<'a> {
577            self.builder.set_data_field::<u16>(0, 8);
578            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
579        }
580        #[inline]
581        pub fn has_bootstrap(&self) -> bool {
582            if self.builder.get_data_field::<u16>(0) != 8 {
583                return false;
584            }
585            !self.builder.is_pointer_field_null(0)
586        }
587        #[inline]
588        pub fn init_obsolete_delete(self) -> ::capnp::any_pointer::Builder<'a> {
589            self.builder.set_data_field::<u16>(0, 9);
590            let mut result = ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0));
591            result.clear();
592            result
593        }
594        #[inline]
595        pub fn has_obsolete_delete(&self) -> bool {
596            if self.builder.get_data_field::<u16>(0) != 9 {
597                return false;
598            }
599            !self.builder.is_pointer_field_null(0)
600        }
601        #[inline]
602        pub fn set_provide(
603            &mut self,
604            value: crate::rpc_capnp::provide::Reader<'_>,
605        ) -> ::capnp::Result<()> {
606            self.builder.set_data_field::<u16>(0, 10);
607            ::capnp::traits::SetterInput::set_pointer_builder(
608                self.builder.reborrow().get_pointer_field(0),
609                value,
610                false,
611            )
612        }
613        #[inline]
614        pub fn init_provide(self) -> crate::rpc_capnp::provide::Builder<'a> {
615            self.builder.set_data_field::<u16>(0, 10);
616            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
617        }
618        #[inline]
619        pub fn has_provide(&self) -> bool {
620            if self.builder.get_data_field::<u16>(0) != 10 {
621                return false;
622            }
623            !self.builder.is_pointer_field_null(0)
624        }
625        #[inline]
626        pub fn set_accept(
627            &mut self,
628            value: crate::rpc_capnp::accept::Reader<'_>,
629        ) -> ::capnp::Result<()> {
630            self.builder.set_data_field::<u16>(0, 11);
631            ::capnp::traits::SetterInput::set_pointer_builder(
632                self.builder.reborrow().get_pointer_field(0),
633                value,
634                false,
635            )
636        }
637        #[inline]
638        pub fn init_accept(self) -> crate::rpc_capnp::accept::Builder<'a> {
639            self.builder.set_data_field::<u16>(0, 11);
640            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
641        }
642        #[inline]
643        pub fn has_accept(&self) -> bool {
644            if self.builder.get_data_field::<u16>(0) != 11 {
645                return false;
646            }
647            !self.builder.is_pointer_field_null(0)
648        }
649        #[inline]
650        pub fn set_join(
651            &mut self,
652            value: crate::rpc_capnp::join::Reader<'_>,
653        ) -> ::capnp::Result<()> {
654            self.builder.set_data_field::<u16>(0, 12);
655            ::capnp::traits::SetterInput::set_pointer_builder(
656                self.builder.reborrow().get_pointer_field(0),
657                value,
658                false,
659            )
660        }
661        #[inline]
662        pub fn init_join(self) -> crate::rpc_capnp::join::Builder<'a> {
663            self.builder.set_data_field::<u16>(0, 12);
664            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
665        }
666        #[inline]
667        pub fn has_join(&self) -> bool {
668            if self.builder.get_data_field::<u16>(0) != 12 {
669                return false;
670            }
671            !self.builder.is_pointer_field_null(0)
672        }
673        #[inline]
674        pub fn set_disembargo(
675            &mut self,
676            value: crate::rpc_capnp::disembargo::Reader<'_>,
677        ) -> ::capnp::Result<()> {
678            self.builder.set_data_field::<u16>(0, 13);
679            ::capnp::traits::SetterInput::set_pointer_builder(
680                self.builder.reborrow().get_pointer_field(0),
681                value,
682                false,
683            )
684        }
685        #[inline]
686        pub fn init_disembargo(self) -> crate::rpc_capnp::disembargo::Builder<'a> {
687            self.builder.set_data_field::<u16>(0, 13);
688            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
689        }
690        #[inline]
691        pub fn has_disembargo(&self) -> bool {
692            if self.builder.get_data_field::<u16>(0) != 13 {
693                return false;
694            }
695            !self.builder.is_pointer_field_null(0)
696        }
697        #[inline]
698        pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, ::capnp::NotInSchema> {
699            match self.builder.get_data_field::<u16>(0) {
700                0 => ::core::result::Result::Ok(Unimplemented(
701                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
702                        self.builder.get_pointer_field(0),
703                        ::core::option::Option::None,
704                    ),
705                )),
706                1 => ::core::result::Result::Ok(Abort(
707                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
708                        self.builder.get_pointer_field(0),
709                        ::core::option::Option::None,
710                    ),
711                )),
712                2 => ::core::result::Result::Ok(Call(
713                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
714                        self.builder.get_pointer_field(0),
715                        ::core::option::Option::None,
716                    ),
717                )),
718                3 => ::core::result::Result::Ok(Return(
719                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
720                        self.builder.get_pointer_field(0),
721                        ::core::option::Option::None,
722                    ),
723                )),
724                4 => ::core::result::Result::Ok(Finish(
725                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
726                        self.builder.get_pointer_field(0),
727                        ::core::option::Option::None,
728                    ),
729                )),
730                5 => ::core::result::Result::Ok(Resolve(
731                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
732                        self.builder.get_pointer_field(0),
733                        ::core::option::Option::None,
734                    ),
735                )),
736                6 => ::core::result::Result::Ok(Release(
737                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
738                        self.builder.get_pointer_field(0),
739                        ::core::option::Option::None,
740                    ),
741                )),
742                7 => ::core::result::Result::Ok(ObsoleteSave(::capnp::any_pointer::Builder::new(
743                    self.builder.get_pointer_field(0),
744                ))),
745                8 => ::core::result::Result::Ok(Bootstrap(
746                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
747                        self.builder.get_pointer_field(0),
748                        ::core::option::Option::None,
749                    ),
750                )),
751                9 => ::core::result::Result::Ok(ObsoleteDelete(
752                    ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0)),
753                )),
754                10 => ::core::result::Result::Ok(Provide(
755                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
756                        self.builder.get_pointer_field(0),
757                        ::core::option::Option::None,
758                    ),
759                )),
760                11 => ::core::result::Result::Ok(Accept(
761                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
762                        self.builder.get_pointer_field(0),
763                        ::core::option::Option::None,
764                    ),
765                )),
766                12 => ::core::result::Result::Ok(Join(
767                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
768                        self.builder.get_pointer_field(0),
769                        ::core::option::Option::None,
770                    ),
771                )),
772                13 => ::core::result::Result::Ok(Disembargo(
773                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
774                        self.builder.get_pointer_field(0),
775                        ::core::option::Option::None,
776                    ),
777                )),
778                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
779            }
780        }
781    }
782
783    pub struct Pipeline {
784        _typeless: ::capnp::any_pointer::Pipeline,
785    }
786    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
787        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
788            Self {
789                _typeless: typeless,
790            }
791        }
792    }
793    impl Pipeline {}
794    mod _private {
795        pub(crate) static ENCODED_NODE: [::capnp::Word; 232] = [
796            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
797            ::capnp::word(50, 176, 141, 128, 31, 159, 183, 145),
798            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
799            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
800            ::capnp::word(1, 0, 7, 0, 0, 0, 14, 0),
801            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
802            ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
803            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
804            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
805            ::capnp::word(25, 0, 0, 0, 23, 3, 0, 0),
806            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
807            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
808            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
809            ::capnp::word(112, 58, 77, 101, 115, 115, 97, 103),
810            ::capnp::word(101, 0, 0, 0, 0, 0, 0, 0),
811            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
812            ::capnp::word(56, 0, 0, 0, 3, 0, 4, 0),
813            ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
814            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
815            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
816            ::capnp::word(121, 1, 0, 0, 114, 0, 0, 0),
817            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
818            ::capnp::word(120, 1, 0, 0, 3, 0, 1, 0),
819            ::capnp::word(132, 1, 0, 0, 2, 0, 1, 0),
820            ::capnp::word(1, 0, 254, 255, 0, 0, 0, 0),
821            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
822            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
823            ::capnp::word(129, 1, 0, 0, 50, 0, 0, 0),
824            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
825            ::capnp::word(124, 1, 0, 0, 3, 0, 1, 0),
826            ::capnp::word(136, 1, 0, 0, 2, 0, 1, 0),
827            ::capnp::word(3, 0, 253, 255, 0, 0, 0, 0),
828            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
829            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
830            ::capnp::word(133, 1, 0, 0, 42, 0, 0, 0),
831            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
832            ::capnp::word(128, 1, 0, 0, 3, 0, 1, 0),
833            ::capnp::word(140, 1, 0, 0, 2, 0, 1, 0),
834            ::capnp::word(4, 0, 252, 255, 0, 0, 0, 0),
835            ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
836            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
837            ::capnp::word(137, 1, 0, 0, 58, 0, 0, 0),
838            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
839            ::capnp::word(132, 1, 0, 0, 3, 0, 1, 0),
840            ::capnp::word(144, 1, 0, 0, 2, 0, 1, 0),
841            ::capnp::word(5, 0, 251, 255, 0, 0, 0, 0),
842            ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
843            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
844            ::capnp::word(141, 1, 0, 0, 58, 0, 0, 0),
845            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
846            ::capnp::word(136, 1, 0, 0, 3, 0, 1, 0),
847            ::capnp::word(148, 1, 0, 0, 2, 0, 1, 0),
848            ::capnp::word(6, 0, 250, 255, 0, 0, 0, 0),
849            ::capnp::word(0, 0, 1, 0, 5, 0, 0, 0),
850            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
851            ::capnp::word(145, 1, 0, 0, 66, 0, 0, 0),
852            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
853            ::capnp::word(140, 1, 0, 0, 3, 0, 1, 0),
854            ::capnp::word(152, 1, 0, 0, 2, 0, 1, 0),
855            ::capnp::word(7, 0, 249, 255, 0, 0, 0, 0),
856            ::capnp::word(0, 0, 1, 0, 6, 0, 0, 0),
857            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
858            ::capnp::word(149, 1, 0, 0, 66, 0, 0, 0),
859            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
860            ::capnp::word(144, 1, 0, 0, 3, 0, 1, 0),
861            ::capnp::word(156, 1, 0, 0, 2, 0, 1, 0),
862            ::capnp::word(9, 0, 248, 255, 0, 0, 0, 0),
863            ::capnp::word(0, 0, 1, 0, 7, 0, 0, 0),
864            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
865            ::capnp::word(153, 1, 0, 0, 106, 0, 0, 0),
866            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
867            ::capnp::word(152, 1, 0, 0, 3, 0, 1, 0),
868            ::capnp::word(164, 1, 0, 0, 2, 0, 1, 0),
869            ::capnp::word(2, 0, 247, 255, 0, 0, 0, 0),
870            ::capnp::word(0, 0, 1, 0, 8, 0, 0, 0),
871            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
872            ::capnp::word(161, 1, 0, 0, 82, 0, 0, 0),
873            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
874            ::capnp::word(160, 1, 0, 0, 3, 0, 1, 0),
875            ::capnp::word(172, 1, 0, 0, 2, 0, 1, 0),
876            ::capnp::word(10, 0, 246, 255, 0, 0, 0, 0),
877            ::capnp::word(0, 0, 1, 0, 9, 0, 0, 0),
878            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
879            ::capnp::word(169, 1, 0, 0, 122, 0, 0, 0),
880            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
881            ::capnp::word(168, 1, 0, 0, 3, 0, 1, 0),
882            ::capnp::word(180, 1, 0, 0, 2, 0, 1, 0),
883            ::capnp::word(11, 0, 245, 255, 0, 0, 0, 0),
884            ::capnp::word(0, 0, 1, 0, 10, 0, 0, 0),
885            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
886            ::capnp::word(177, 1, 0, 0, 66, 0, 0, 0),
887            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
888            ::capnp::word(172, 1, 0, 0, 3, 0, 1, 0),
889            ::capnp::word(184, 1, 0, 0, 2, 0, 1, 0),
890            ::capnp::word(12, 0, 244, 255, 0, 0, 0, 0),
891            ::capnp::word(0, 0, 1, 0, 11, 0, 0, 0),
892            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
893            ::capnp::word(181, 1, 0, 0, 58, 0, 0, 0),
894            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
895            ::capnp::word(176, 1, 0, 0, 3, 0, 1, 0),
896            ::capnp::word(188, 1, 0, 0, 2, 0, 1, 0),
897            ::capnp::word(13, 0, 243, 255, 0, 0, 0, 0),
898            ::capnp::word(0, 0, 1, 0, 12, 0, 0, 0),
899            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
900            ::capnp::word(185, 1, 0, 0, 42, 0, 0, 0),
901            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
902            ::capnp::word(180, 1, 0, 0, 3, 0, 1, 0),
903            ::capnp::word(192, 1, 0, 0, 2, 0, 1, 0),
904            ::capnp::word(8, 0, 242, 255, 0, 0, 0, 0),
905            ::capnp::word(0, 0, 1, 0, 13, 0, 0, 0),
906            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
907            ::capnp::word(189, 1, 0, 0, 90, 0, 0, 0),
908            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
909            ::capnp::word(188, 1, 0, 0, 3, 0, 1, 0),
910            ::capnp::word(200, 1, 0, 0, 2, 0, 1, 0),
911            ::capnp::word(117, 110, 105, 109, 112, 108, 101, 109),
912            ::capnp::word(101, 110, 116, 101, 100, 0, 0, 0),
913            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
914            ::capnp::word(50, 176, 141, 128, 31, 159, 183, 145),
915            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
916            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
917            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
918            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
919            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
920            ::capnp::word(97, 98, 111, 114, 116, 0, 0, 0),
921            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
922            ::capnp::word(26, 105, 207, 58, 6, 183, 37, 214),
923            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
924            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
925            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
926            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
927            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
928            ::capnp::word(99, 97, 108, 108, 0, 0, 0, 0),
929            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
930            ::capnp::word(212, 76, 157, 120, 206, 83, 106, 131),
931            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
932            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
933            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
934            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
935            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
936            ::capnp::word(114, 101, 116, 117, 114, 110, 0, 0),
937            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
938            ::capnp::word(58, 87, 179, 61, 141, 178, 25, 158),
939            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
940            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
941            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
942            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
943            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
944            ::capnp::word(102, 105, 110, 105, 115, 104, 0, 0),
945            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
946            ::capnp::word(99, 14, 248, 194, 178, 46, 125, 211),
947            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
948            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
949            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
950            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
951            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
952            ::capnp::word(114, 101, 115, 111, 108, 118, 101, 0),
953            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
954            ::capnp::word(110, 8, 137, 250, 85, 150, 194, 187),
955            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
956            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
957            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
958            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
959            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
960            ::capnp::word(114, 101, 108, 101, 97, 115, 101, 0),
961            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
962            ::capnp::word(151, 116, 208, 125, 13, 108, 26, 173),
963            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
964            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
965            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
966            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
967            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
968            ::capnp::word(111, 98, 115, 111, 108, 101, 116, 101),
969            ::capnp::word(83, 97, 118, 101, 0, 0, 0, 0),
970            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
971            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
972            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
973            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
974            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
975            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
976            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
977            ::capnp::word(98, 111, 111, 116, 115, 116, 114, 97),
978            ::capnp::word(112, 0, 0, 0, 0, 0, 0, 0),
979            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
980            ::capnp::word(196, 110, 23, 49, 128, 207, 76, 233),
981            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
982            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
983            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
984            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
985            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
986            ::capnp::word(111, 98, 115, 111, 108, 101, 116, 101),
987            ::capnp::word(68, 101, 108, 101, 116, 101, 0, 0),
988            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
989            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
990            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
991            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
992            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
993            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
994            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
995            ::capnp::word(112, 114, 111, 118, 105, 100, 101, 0),
996            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
997            ::capnp::word(90, 172, 193, 251, 107, 4, 106, 156),
998            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
999            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1000            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1001            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1002            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1003            ::capnp::word(97, 99, 99, 101, 112, 116, 0, 0),
1004            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1005            ::capnp::word(22, 64, 85, 144, 98, 181, 201, 212),
1006            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1007            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1008            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1009            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1010            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1011            ::capnp::word(106, 111, 105, 110, 0, 0, 0, 0),
1012            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1013            ::capnp::word(175, 1, 224, 144, 4, 152, 225, 251),
1014            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1015            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1016            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1017            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1018            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1019            ::capnp::word(100, 105, 115, 101, 109, 98, 97, 114),
1020            ::capnp::word(103, 111, 0, 0, 0, 0, 0, 0),
1021            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1022            ::capnp::word(17, 55, 189, 15, 139, 54, 100, 249),
1023            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1024            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1025            ::capnp::word(16, 0, 0, 0, 0, 0, 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        ];
1029        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1030            match index {
1031                0 => <crate::rpc_capnp::message::Owned as ::capnp::introspect::Introspect>::introspect(),
1032                1 => <crate::rpc_capnp::exception::Owned as ::capnp::introspect::Introspect>::introspect(),
1033                2 => <crate::rpc_capnp::call::Owned as ::capnp::introspect::Introspect>::introspect(),
1034                3 => <crate::rpc_capnp::return_::Owned as ::capnp::introspect::Introspect>::introspect(),
1035                4 => <crate::rpc_capnp::finish::Owned as ::capnp::introspect::Introspect>::introspect(),
1036                5 => <crate::rpc_capnp::resolve::Owned as ::capnp::introspect::Introspect>::introspect(),
1037                6 => <crate::rpc_capnp::release::Owned as ::capnp::introspect::Introspect>::introspect(),
1038                7 => <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(),
1039                8 => <crate::rpc_capnp::bootstrap::Owned as ::capnp::introspect::Introspect>::introspect(),
1040                9 => <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(),
1041                10 => <crate::rpc_capnp::provide::Owned as ::capnp::introspect::Introspect>::introspect(),
1042                11 => <crate::rpc_capnp::accept::Owned as ::capnp::introspect::Introspect>::introspect(),
1043                12 => <crate::rpc_capnp::join::Owned as ::capnp::introspect::Introspect>::introspect(),
1044                13 => <crate::rpc_capnp::disembargo::Owned as ::capnp::introspect::Introspect>::introspect(),
1045                _ => ::capnp::introspect::panic_invalid_field_index(index),
1046            }
1047        }
1048        pub(crate) fn get_annotation_types(
1049            child_index: Option<u16>,
1050            index: u32,
1051        ) -> ::capnp::introspect::Type {
1052            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
1053        }
1054        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
1055            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
1056        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
1057            ::capnp::introspect::RawStructSchema::new(
1058                &ARENA,
1059                NONUNION_MEMBERS,
1060                MEMBERS_BY_DISCRIMINANT,
1061                MEMBERS_BY_NAME,
1062            );
1063        pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
1064        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] =
1065            &[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13];
1066        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 11, 8, 2, 13, 4, 12, 9, 7, 10, 6, 5, 3, 0];
1067        pub(crate) const TYPE_ID: u64 = 0x91b7_9f1f_808d_b032;
1068    }
1069    pub enum Which<A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13> {
1070        Unimplemented(A0),
1071        Abort(A1),
1072        Call(A2),
1073        Return(A3),
1074        Finish(A4),
1075        Resolve(A5),
1076        Release(A6),
1077        ObsoleteSave(A7),
1078        Bootstrap(A8),
1079        ObsoleteDelete(A9),
1080        Provide(A10),
1081        Accept(A11),
1082        Join(A12),
1083        Disembargo(A13),
1084    }
1085    pub type WhichReader<'a> = Which<
1086        ::capnp::Result<crate::rpc_capnp::message::Reader<'a>>,
1087        ::capnp::Result<crate::rpc_capnp::exception::Reader<'a>>,
1088        ::capnp::Result<crate::rpc_capnp::call::Reader<'a>>,
1089        ::capnp::Result<crate::rpc_capnp::return_::Reader<'a>>,
1090        ::capnp::Result<crate::rpc_capnp::finish::Reader<'a>>,
1091        ::capnp::Result<crate::rpc_capnp::resolve::Reader<'a>>,
1092        ::capnp::Result<crate::rpc_capnp::release::Reader<'a>>,
1093        ::capnp::any_pointer::Reader<'a>,
1094        ::capnp::Result<crate::rpc_capnp::bootstrap::Reader<'a>>,
1095        ::capnp::any_pointer::Reader<'a>,
1096        ::capnp::Result<crate::rpc_capnp::provide::Reader<'a>>,
1097        ::capnp::Result<crate::rpc_capnp::accept::Reader<'a>>,
1098        ::capnp::Result<crate::rpc_capnp::join::Reader<'a>>,
1099        ::capnp::Result<crate::rpc_capnp::disembargo::Reader<'a>>,
1100    >;
1101    pub type WhichBuilder<'a> = Which<
1102        ::capnp::Result<crate::rpc_capnp::message::Builder<'a>>,
1103        ::capnp::Result<crate::rpc_capnp::exception::Builder<'a>>,
1104        ::capnp::Result<crate::rpc_capnp::call::Builder<'a>>,
1105        ::capnp::Result<crate::rpc_capnp::return_::Builder<'a>>,
1106        ::capnp::Result<crate::rpc_capnp::finish::Builder<'a>>,
1107        ::capnp::Result<crate::rpc_capnp::resolve::Builder<'a>>,
1108        ::capnp::Result<crate::rpc_capnp::release::Builder<'a>>,
1109        ::capnp::any_pointer::Builder<'a>,
1110        ::capnp::Result<crate::rpc_capnp::bootstrap::Builder<'a>>,
1111        ::capnp::any_pointer::Builder<'a>,
1112        ::capnp::Result<crate::rpc_capnp::provide::Builder<'a>>,
1113        ::capnp::Result<crate::rpc_capnp::accept::Builder<'a>>,
1114        ::capnp::Result<crate::rpc_capnp::join::Builder<'a>>,
1115        ::capnp::Result<crate::rpc_capnp::disembargo::Builder<'a>>,
1116    >;
1117}
1118
1119pub mod bootstrap {
1120    #[derive(Copy, Clone)]
1121    pub struct Owned(());
1122    impl ::capnp::introspect::Introspect for Owned {
1123        fn introspect() -> ::capnp::introspect::Type {
1124            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
1125                generic: &_private::RAW_SCHEMA,
1126                field_types: _private::get_field_types,
1127                annotation_types: _private::get_annotation_types,
1128            })
1129            .into()
1130        }
1131    }
1132    impl ::capnp::traits::Owned for Owned {
1133        type Reader<'a> = Reader<'a>;
1134        type Builder<'a> = Builder<'a>;
1135    }
1136    impl ::capnp::traits::OwnedStruct for Owned {
1137        type Reader<'a> = Reader<'a>;
1138        type Builder<'a> = Builder<'a>;
1139    }
1140    impl ::capnp::traits::Pipelined for Owned {
1141        type Pipeline = Pipeline;
1142    }
1143
1144    pub struct Reader<'a> {
1145        reader: ::capnp::private::layout::StructReader<'a>,
1146    }
1147    impl ::core::marker::Copy for Reader<'_> {}
1148    impl ::core::clone::Clone for Reader<'_> {
1149        fn clone(&self) -> Self {
1150            *self
1151        }
1152    }
1153
1154    impl ::capnp::traits::HasTypeId for Reader<'_> {
1155        const TYPE_ID: u64 = _private::TYPE_ID;
1156    }
1157    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
1158        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1159            Self { reader }
1160        }
1161    }
1162
1163    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
1164        fn from(reader: Reader<'a>) -> Self {
1165            Self::Struct(::capnp::dynamic_struct::Reader::new(
1166                reader.reader,
1167                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
1168                    generic: &_private::RAW_SCHEMA,
1169                    field_types: _private::get_field_types,
1170                    annotation_types: _private::get_annotation_types,
1171                }),
1172            ))
1173        }
1174    }
1175
1176    impl ::core::fmt::Debug for Reader<'_> {
1177        fn fmt(
1178            &self,
1179            f: &mut ::core::fmt::Formatter<'_>,
1180        ) -> ::core::result::Result<(), ::core::fmt::Error> {
1181            core::fmt::Debug::fmt(
1182                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
1183                f,
1184            )
1185        }
1186    }
1187
1188    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
1189        fn get_from_pointer(
1190            reader: &::capnp::private::layout::PointerReader<'a>,
1191            default: ::core::option::Option<&'a [::capnp::Word]>,
1192        ) -> ::capnp::Result<Self> {
1193            ::core::result::Result::Ok(reader.get_struct(default)?.into())
1194        }
1195    }
1196
1197    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
1198        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1199            self.reader
1200        }
1201    }
1202
1203    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
1204        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1205            self.reader
1206                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1207        }
1208    }
1209
1210    impl<'a> Reader<'a> {
1211        pub fn reborrow(&self) -> Reader<'_> {
1212            Self { ..*self }
1213        }
1214
1215        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1216            self.reader.total_size()
1217        }
1218        #[inline]
1219        pub fn get_question_id(self) -> u32 {
1220            self.reader.get_data_field::<u32>(0)
1221        }
1222        #[inline]
1223        pub fn get_deprecated_object_id(self) -> ::capnp::any_pointer::Reader<'a> {
1224            ::capnp::any_pointer::Reader::new(self.reader.get_pointer_field(0))
1225        }
1226        #[inline]
1227        pub fn has_deprecated_object_id(&self) -> bool {
1228            !self.reader.get_pointer_field(0).is_null()
1229        }
1230    }
1231
1232    pub struct Builder<'a> {
1233        builder: ::capnp::private::layout::StructBuilder<'a>,
1234    }
1235    impl ::capnp::traits::HasStructSize for Builder<'_> {
1236        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
1237            ::capnp::private::layout::StructSize {
1238                data: 1,
1239                pointers: 1,
1240            };
1241    }
1242    impl ::capnp::traits::HasTypeId for Builder<'_> {
1243        const TYPE_ID: u64 = _private::TYPE_ID;
1244    }
1245    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
1246        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1247            Self { builder }
1248        }
1249    }
1250
1251    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
1252        fn from(builder: Builder<'a>) -> Self {
1253            Self::Struct(::capnp::dynamic_struct::Builder::new(
1254                builder.builder,
1255                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
1256                    generic: &_private::RAW_SCHEMA,
1257                    field_types: _private::get_field_types,
1258                    annotation_types: _private::get_annotation_types,
1259                }),
1260            ))
1261        }
1262    }
1263
1264    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
1265        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1266            self.builder
1267                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1268        }
1269    }
1270
1271    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
1272        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1273            builder
1274                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
1275                .into()
1276        }
1277        fn get_from_pointer(
1278            builder: ::capnp::private::layout::PointerBuilder<'a>,
1279            default: ::core::option::Option<&'a [::capnp::Word]>,
1280        ) -> ::capnp::Result<Self> {
1281            ::core::result::Result::Ok(
1282                builder
1283                    .get_struct(
1284                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
1285                        default,
1286                    )?
1287                    .into(),
1288            )
1289        }
1290    }
1291
1292    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
1293        fn set_pointer_builder(
1294            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
1295            value: Self,
1296            canonicalize: bool,
1297        ) -> ::capnp::Result<()> {
1298            pointer.set_struct(&value.reader, canonicalize)
1299        }
1300    }
1301
1302    impl<'a> Builder<'a> {
1303        pub fn into_reader(self) -> Reader<'a> {
1304            self.builder.into_reader().into()
1305        }
1306        pub fn reborrow(&mut self) -> Builder<'_> {
1307            Builder {
1308                builder: self.builder.reborrow(),
1309            }
1310        }
1311        pub fn reborrow_as_reader(&self) -> Reader<'_> {
1312            self.builder.as_reader().into()
1313        }
1314
1315        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1316            self.builder.as_reader().total_size()
1317        }
1318        #[inline]
1319        pub fn get_question_id(self) -> u32 {
1320            self.builder.get_data_field::<u32>(0)
1321        }
1322        #[inline]
1323        pub fn set_question_id(&mut self, value: u32) {
1324            self.builder.set_data_field::<u32>(0, value);
1325        }
1326        #[inline]
1327        pub fn get_deprecated_object_id(self) -> ::capnp::any_pointer::Builder<'a> {
1328            ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0))
1329        }
1330        #[inline]
1331        pub fn init_deprecated_object_id(self) -> ::capnp::any_pointer::Builder<'a> {
1332            let mut result = ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0));
1333            result.clear();
1334            result
1335        }
1336        #[inline]
1337        pub fn has_deprecated_object_id(&self) -> bool {
1338            !self.builder.is_pointer_field_null(0)
1339        }
1340    }
1341
1342    pub struct Pipeline {
1343        _typeless: ::capnp::any_pointer::Pipeline,
1344    }
1345    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1346        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1347            Self {
1348                _typeless: typeless,
1349            }
1350        }
1351    }
1352    impl Pipeline {
1353        pub fn get_deprecated_object_id(&self) -> ::capnp::any_pointer::Pipeline {
1354            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
1355        }
1356    }
1357    mod _private {
1358        pub(crate) static ENCODED_NODE: [::capnp::Word; 50] = [
1359            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
1360            ::capnp::word(196, 110, 23, 49, 128, 207, 76, 233),
1361            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
1362            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
1363            ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
1364            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1365            ::capnp::word(21, 0, 0, 0, 162, 0, 0, 0),
1366            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
1367            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1368            ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
1369            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1370            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1371            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
1372            ::capnp::word(112, 58, 66, 111, 111, 116, 115, 116),
1373            ::capnp::word(114, 97, 112, 0, 0, 0, 0, 0),
1374            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1375            ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
1376            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1377            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1378            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1379            ::capnp::word(41, 0, 0, 0, 90, 0, 0, 0),
1380            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1381            ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
1382            ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
1383            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1384            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1385            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1386            ::capnp::word(49, 0, 0, 0, 154, 0, 0, 0),
1387            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1388            ::capnp::word(52, 0, 0, 0, 3, 0, 1, 0),
1389            ::capnp::word(64, 0, 0, 0, 2, 0, 1, 0),
1390            ::capnp::word(113, 117, 101, 115, 116, 105, 111, 110),
1391            ::capnp::word(73, 100, 0, 0, 0, 0, 0, 0),
1392            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1393            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1394            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1395            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1396            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1397            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1398            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1399            ::capnp::word(100, 101, 112, 114, 101, 99, 97, 116),
1400            ::capnp::word(101, 100, 79, 98, 106, 101, 99, 116),
1401            ::capnp::word(73, 100, 0, 0, 0, 0, 0, 0),
1402            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
1403            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1404            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1405            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1406            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
1407            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1408            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1409        ];
1410        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1411            match index {
1412                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
1413                1 => <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(),
1414                _ => ::capnp::introspect::panic_invalid_field_index(index),
1415            }
1416        }
1417        pub(crate) fn get_annotation_types(
1418            child_index: Option<u16>,
1419            index: u32,
1420        ) -> ::capnp::introspect::Type {
1421            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
1422        }
1423        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
1424            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
1425        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
1426            ::capnp::introspect::RawStructSchema::new(
1427                &ARENA,
1428                NONUNION_MEMBERS,
1429                MEMBERS_BY_DISCRIMINANT,
1430                MEMBERS_BY_NAME,
1431            );
1432        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
1433        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
1434        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
1435        pub(crate) const TYPE_ID: u64 = 0xe94c_cf80_3117_6ec4;
1436    }
1437}
1438
1439pub mod call {
1440    #[derive(Copy, Clone)]
1441    pub struct Owned(());
1442    impl ::capnp::introspect::Introspect for Owned {
1443        fn introspect() -> ::capnp::introspect::Type {
1444            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
1445                generic: &_private::RAW_SCHEMA,
1446                field_types: _private::get_field_types,
1447                annotation_types: _private::get_annotation_types,
1448            })
1449            .into()
1450        }
1451    }
1452    impl ::capnp::traits::Owned for Owned {
1453        type Reader<'a> = Reader<'a>;
1454        type Builder<'a> = Builder<'a>;
1455    }
1456    impl ::capnp::traits::OwnedStruct for Owned {
1457        type Reader<'a> = Reader<'a>;
1458        type Builder<'a> = Builder<'a>;
1459    }
1460    impl ::capnp::traits::Pipelined for Owned {
1461        type Pipeline = Pipeline;
1462    }
1463
1464    pub struct Reader<'a> {
1465        reader: ::capnp::private::layout::StructReader<'a>,
1466    }
1467    impl ::core::marker::Copy for Reader<'_> {}
1468    impl ::core::clone::Clone for Reader<'_> {
1469        fn clone(&self) -> Self {
1470            *self
1471        }
1472    }
1473
1474    impl ::capnp::traits::HasTypeId for Reader<'_> {
1475        const TYPE_ID: u64 = _private::TYPE_ID;
1476    }
1477    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
1478        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1479            Self { reader }
1480        }
1481    }
1482
1483    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
1484        fn from(reader: Reader<'a>) -> Self {
1485            Self::Struct(::capnp::dynamic_struct::Reader::new(
1486                reader.reader,
1487                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
1488                    generic: &_private::RAW_SCHEMA,
1489                    field_types: _private::get_field_types,
1490                    annotation_types: _private::get_annotation_types,
1491                }),
1492            ))
1493        }
1494    }
1495
1496    impl ::core::fmt::Debug for Reader<'_> {
1497        fn fmt(
1498            &self,
1499            f: &mut ::core::fmt::Formatter<'_>,
1500        ) -> ::core::result::Result<(), ::core::fmt::Error> {
1501            core::fmt::Debug::fmt(
1502                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
1503                f,
1504            )
1505        }
1506    }
1507
1508    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
1509        fn get_from_pointer(
1510            reader: &::capnp::private::layout::PointerReader<'a>,
1511            default: ::core::option::Option<&'a [::capnp::Word]>,
1512        ) -> ::capnp::Result<Self> {
1513            ::core::result::Result::Ok(reader.get_struct(default)?.into())
1514        }
1515    }
1516
1517    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
1518        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1519            self.reader
1520        }
1521    }
1522
1523    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
1524        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1525            self.reader
1526                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1527        }
1528    }
1529
1530    impl<'a> Reader<'a> {
1531        pub fn reborrow(&self) -> Reader<'_> {
1532            Self { ..*self }
1533        }
1534
1535        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1536            self.reader.total_size()
1537        }
1538        #[inline]
1539        pub fn get_question_id(self) -> u32 {
1540            self.reader.get_data_field::<u32>(0)
1541        }
1542        #[inline]
1543        pub fn get_target(self) -> ::capnp::Result<crate::rpc_capnp::message_target::Reader<'a>> {
1544            ::capnp::traits::FromPointerReader::get_from_pointer(
1545                &self.reader.get_pointer_field(0),
1546                ::core::option::Option::None,
1547            )
1548        }
1549        #[inline]
1550        pub fn has_target(&self) -> bool {
1551            !self.reader.get_pointer_field(0).is_null()
1552        }
1553        #[inline]
1554        pub fn get_interface_id(self) -> u64 {
1555            self.reader.get_data_field::<u64>(1)
1556        }
1557        #[inline]
1558        pub fn get_method_id(self) -> u16 {
1559            self.reader.get_data_field::<u16>(2)
1560        }
1561        #[inline]
1562        pub fn get_params(self) -> ::capnp::Result<crate::rpc_capnp::payload::Reader<'a>> {
1563            ::capnp::traits::FromPointerReader::get_from_pointer(
1564                &self.reader.get_pointer_field(1),
1565                ::core::option::Option::None,
1566            )
1567        }
1568        #[inline]
1569        pub fn has_params(&self) -> bool {
1570            !self.reader.get_pointer_field(1).is_null()
1571        }
1572        #[inline]
1573        pub fn get_send_results_to(self) -> crate::rpc_capnp::call::send_results_to::Reader<'a> {
1574            self.reader.into()
1575        }
1576        #[inline]
1577        pub fn get_allow_third_party_tail_call(self) -> bool {
1578            self.reader.get_bool_field(128)
1579        }
1580        #[inline]
1581        pub fn get_no_promise_pipelining(self) -> bool {
1582            self.reader.get_bool_field(129)
1583        }
1584        #[inline]
1585        pub fn get_only_promise_pipeline(self) -> bool {
1586            self.reader.get_bool_field(130)
1587        }
1588    }
1589
1590    pub struct Builder<'a> {
1591        builder: ::capnp::private::layout::StructBuilder<'a>,
1592    }
1593    impl ::capnp::traits::HasStructSize for Builder<'_> {
1594        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
1595            ::capnp::private::layout::StructSize {
1596                data: 3,
1597                pointers: 3,
1598            };
1599    }
1600    impl ::capnp::traits::HasTypeId for Builder<'_> {
1601        const TYPE_ID: u64 = _private::TYPE_ID;
1602    }
1603    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
1604        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1605            Self { builder }
1606        }
1607    }
1608
1609    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
1610        fn from(builder: Builder<'a>) -> Self {
1611            Self::Struct(::capnp::dynamic_struct::Builder::new(
1612                builder.builder,
1613                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
1614                    generic: &_private::RAW_SCHEMA,
1615                    field_types: _private::get_field_types,
1616                    annotation_types: _private::get_annotation_types,
1617                }),
1618            ))
1619        }
1620    }
1621
1622    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
1623        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1624            self.builder
1625                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1626        }
1627    }
1628
1629    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
1630        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1631            builder
1632                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
1633                .into()
1634        }
1635        fn get_from_pointer(
1636            builder: ::capnp::private::layout::PointerBuilder<'a>,
1637            default: ::core::option::Option<&'a [::capnp::Word]>,
1638        ) -> ::capnp::Result<Self> {
1639            ::core::result::Result::Ok(
1640                builder
1641                    .get_struct(
1642                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
1643                        default,
1644                    )?
1645                    .into(),
1646            )
1647        }
1648    }
1649
1650    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
1651        fn set_pointer_builder(
1652            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
1653            value: Self,
1654            canonicalize: bool,
1655        ) -> ::capnp::Result<()> {
1656            pointer.set_struct(&value.reader, canonicalize)
1657        }
1658    }
1659
1660    impl<'a> Builder<'a> {
1661        pub fn into_reader(self) -> Reader<'a> {
1662            self.builder.into_reader().into()
1663        }
1664        pub fn reborrow(&mut self) -> Builder<'_> {
1665            Builder {
1666                builder: self.builder.reborrow(),
1667            }
1668        }
1669        pub fn reborrow_as_reader(&self) -> Reader<'_> {
1670            self.builder.as_reader().into()
1671        }
1672
1673        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1674            self.builder.as_reader().total_size()
1675        }
1676        #[inline]
1677        pub fn get_question_id(self) -> u32 {
1678            self.builder.get_data_field::<u32>(0)
1679        }
1680        #[inline]
1681        pub fn set_question_id(&mut self, value: u32) {
1682            self.builder.set_data_field::<u32>(0, value);
1683        }
1684        #[inline]
1685        pub fn get_target(self) -> ::capnp::Result<crate::rpc_capnp::message_target::Builder<'a>> {
1686            ::capnp::traits::FromPointerBuilder::get_from_pointer(
1687                self.builder.get_pointer_field(0),
1688                ::core::option::Option::None,
1689            )
1690        }
1691        #[inline]
1692        pub fn set_target(
1693            &mut self,
1694            value: crate::rpc_capnp::message_target::Reader<'_>,
1695        ) -> ::capnp::Result<()> {
1696            ::capnp::traits::SetterInput::set_pointer_builder(
1697                self.builder.reborrow().get_pointer_field(0),
1698                value,
1699                false,
1700            )
1701        }
1702        #[inline]
1703        pub fn init_target(self) -> crate::rpc_capnp::message_target::Builder<'a> {
1704            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
1705        }
1706        #[inline]
1707        pub fn has_target(&self) -> bool {
1708            !self.builder.is_pointer_field_null(0)
1709        }
1710        #[inline]
1711        pub fn get_interface_id(self) -> u64 {
1712            self.builder.get_data_field::<u64>(1)
1713        }
1714        #[inline]
1715        pub fn set_interface_id(&mut self, value: u64) {
1716            self.builder.set_data_field::<u64>(1, value);
1717        }
1718        #[inline]
1719        pub fn get_method_id(self) -> u16 {
1720            self.builder.get_data_field::<u16>(2)
1721        }
1722        #[inline]
1723        pub fn set_method_id(&mut self, value: u16) {
1724            self.builder.set_data_field::<u16>(2, value);
1725        }
1726        #[inline]
1727        pub fn get_params(self) -> ::capnp::Result<crate::rpc_capnp::payload::Builder<'a>> {
1728            ::capnp::traits::FromPointerBuilder::get_from_pointer(
1729                self.builder.get_pointer_field(1),
1730                ::core::option::Option::None,
1731            )
1732        }
1733        #[inline]
1734        pub fn set_params(
1735            &mut self,
1736            value: crate::rpc_capnp::payload::Reader<'_>,
1737        ) -> ::capnp::Result<()> {
1738            ::capnp::traits::SetterInput::set_pointer_builder(
1739                self.builder.reborrow().get_pointer_field(1),
1740                value,
1741                false,
1742            )
1743        }
1744        #[inline]
1745        pub fn init_params(self) -> crate::rpc_capnp::payload::Builder<'a> {
1746            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), 0)
1747        }
1748        #[inline]
1749        pub fn has_params(&self) -> bool {
1750            !self.builder.is_pointer_field_null(1)
1751        }
1752        #[inline]
1753        pub fn get_send_results_to(self) -> crate::rpc_capnp::call::send_results_to::Builder<'a> {
1754            self.builder.into()
1755        }
1756        #[inline]
1757        pub fn init_send_results_to(
1758            mut self,
1759        ) -> crate::rpc_capnp::call::send_results_to::Builder<'a> {
1760            self.builder.set_data_field::<u16>(3, 0);
1761            self.builder.reborrow().get_pointer_field(2).clear();
1762            self.builder.into()
1763        }
1764        #[inline]
1765        pub fn get_allow_third_party_tail_call(self) -> bool {
1766            self.builder.get_bool_field(128)
1767        }
1768        #[inline]
1769        pub fn set_allow_third_party_tail_call(&mut self, value: bool) {
1770            self.builder.set_bool_field(128, value);
1771        }
1772        #[inline]
1773        pub fn get_no_promise_pipelining(self) -> bool {
1774            self.builder.get_bool_field(129)
1775        }
1776        #[inline]
1777        pub fn set_no_promise_pipelining(&mut self, value: bool) {
1778            self.builder.set_bool_field(129, value);
1779        }
1780        #[inline]
1781        pub fn get_only_promise_pipeline(self) -> bool {
1782            self.builder.get_bool_field(130)
1783        }
1784        #[inline]
1785        pub fn set_only_promise_pipeline(&mut self, value: bool) {
1786            self.builder.set_bool_field(130, value);
1787        }
1788    }
1789
1790    pub struct Pipeline {
1791        _typeless: ::capnp::any_pointer::Pipeline,
1792    }
1793    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1794        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1795            Self {
1796                _typeless: typeless,
1797            }
1798        }
1799    }
1800    impl Pipeline {
1801        pub fn get_target(&self) -> crate::rpc_capnp::message_target::Pipeline {
1802            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
1803        }
1804        pub fn get_params(&self) -> crate::rpc_capnp::payload::Pipeline {
1805            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(1))
1806        }
1807        pub fn get_send_results_to(&self) -> crate::rpc_capnp::call::send_results_to::Pipeline {
1808            ::capnp::capability::FromTypelessPipeline::new(self._typeless.noop())
1809        }
1810    }
1811    mod _private {
1812        pub(crate) static ENCODED_NODE: [::capnp::Word; 154] = [
1813            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
1814            ::capnp::word(212, 76, 157, 120, 206, 83, 106, 131),
1815            ::capnp::word(10, 0, 0, 0, 1, 0, 3, 0),
1816            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
1817            ::capnp::word(3, 0, 7, 0, 0, 0, 0, 0),
1818            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1819            ::capnp::word(21, 0, 0, 0, 122, 0, 0, 0),
1820            ::capnp::word(25, 0, 0, 0, 7, 0, 0, 0),
1821            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1822            ::capnp::word(21, 0, 0, 0, 255, 1, 0, 0),
1823            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1824            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1825            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
1826            ::capnp::word(112, 58, 67, 97, 108, 108, 0, 0),
1827            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1828            ::capnp::word(36, 0, 0, 0, 3, 0, 4, 0),
1829            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1830            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1831            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1832            ::capnp::word(237, 0, 0, 0, 90, 0, 0, 0),
1833            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1834            ::capnp::word(236, 0, 0, 0, 3, 0, 1, 0),
1835            ::capnp::word(248, 0, 0, 0, 2, 0, 1, 0),
1836            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1837            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1838            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1839            ::capnp::word(245, 0, 0, 0, 58, 0, 0, 0),
1840            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1841            ::capnp::word(240, 0, 0, 0, 3, 0, 1, 0),
1842            ::capnp::word(252, 0, 0, 0, 2, 0, 1, 0),
1843            ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
1844            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
1845            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1846            ::capnp::word(249, 0, 0, 0, 98, 0, 0, 0),
1847            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1848            ::capnp::word(248, 0, 0, 0, 3, 0, 1, 0),
1849            ::capnp::word(4, 1, 0, 0, 2, 0, 1, 0),
1850            ::capnp::word(3, 0, 0, 0, 2, 0, 0, 0),
1851            ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
1852            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1853            ::capnp::word(1, 1, 0, 0, 74, 0, 0, 0),
1854            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1855            ::capnp::word(0, 1, 0, 0, 3, 0, 1, 0),
1856            ::capnp::word(12, 1, 0, 0, 2, 0, 1, 0),
1857            ::capnp::word(7, 0, 0, 0, 1, 0, 0, 0),
1858            ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
1859            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1860            ::capnp::word(9, 1, 0, 0, 58, 0, 0, 0),
1861            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1862            ::capnp::word(4, 1, 0, 0, 3, 0, 1, 0),
1863            ::capnp::word(16, 1, 0, 0, 2, 0, 1, 0),
1864            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1865            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1866            ::capnp::word(153, 95, 171, 26, 246, 176, 232, 218),
1867            ::capnp::word(13, 1, 0, 0, 114, 0, 0, 0),
1868            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1869            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1870            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1871            ::capnp::word(4, 0, 0, 0, 128, 0, 0, 0),
1872            ::capnp::word(0, 0, 1, 0, 8, 0, 0, 0),
1873            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1874            ::capnp::word(249, 0, 0, 0, 194, 0, 0, 0),
1875            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1876            ::capnp::word(252, 0, 0, 0, 3, 0, 1, 0),
1877            ::capnp::word(8, 1, 0, 0, 2, 0, 1, 0),
1878            ::capnp::word(5, 0, 0, 0, 129, 0, 0, 0),
1879            ::capnp::word(0, 0, 1, 0, 9, 0, 0, 0),
1880            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1881            ::capnp::word(5, 1, 0, 0, 162, 0, 0, 0),
1882            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1883            ::capnp::word(8, 1, 0, 0, 3, 0, 1, 0),
1884            ::capnp::word(20, 1, 0, 0, 2, 0, 1, 0),
1885            ::capnp::word(6, 0, 0, 0, 130, 0, 0, 0),
1886            ::capnp::word(0, 0, 1, 0, 10, 0, 0, 0),
1887            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1888            ::capnp::word(17, 1, 0, 0, 162, 0, 0, 0),
1889            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1890            ::capnp::word(20, 1, 0, 0, 3, 0, 1, 0),
1891            ::capnp::word(32, 1, 0, 0, 2, 0, 1, 0),
1892            ::capnp::word(113, 117, 101, 115, 116, 105, 111, 110),
1893            ::capnp::word(73, 100, 0, 0, 0, 0, 0, 0),
1894            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1895            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1896            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1897            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1898            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1899            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1900            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1901            ::capnp::word(116, 97, 114, 103, 101, 116, 0, 0),
1902            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1903            ::capnp::word(193, 251, 19, 88, 84, 20, 188, 149),
1904            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1905            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1906            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1907            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1908            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1909            ::capnp::word(105, 110, 116, 101, 114, 102, 97, 99),
1910            ::capnp::word(101, 73, 100, 0, 0, 0, 0, 0),
1911            ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
1912            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1913            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1914            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1915            ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
1916            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1917            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1918            ::capnp::word(109, 101, 116, 104, 111, 100, 73, 100),
1919            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1920            ::capnp::word(7, 0, 0, 0, 0, 0, 0, 0),
1921            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1922            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1923            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1924            ::capnp::word(7, 0, 0, 0, 0, 0, 0, 0),
1925            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1926            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1927            ::capnp::word(112, 97, 114, 97, 109, 115, 0, 0),
1928            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1929            ::capnp::word(59, 116, 150, 61, 34, 97, 14, 154),
1930            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1931            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1932            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1933            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1934            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1935            ::capnp::word(115, 101, 110, 100, 82, 101, 115, 117),
1936            ::capnp::word(108, 116, 115, 84, 111, 0, 0, 0),
1937            ::capnp::word(97, 108, 108, 111, 119, 84, 104, 105),
1938            ::capnp::word(114, 100, 80, 97, 114, 116, 121, 84),
1939            ::capnp::word(97, 105, 108, 67, 97, 108, 108, 0),
1940            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1941            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1942            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1943            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1944            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1945            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1946            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1947            ::capnp::word(110, 111, 80, 114, 111, 109, 105, 115),
1948            ::capnp::word(101, 80, 105, 112, 101, 108, 105, 110),
1949            ::capnp::word(105, 110, 103, 0, 0, 0, 0, 0),
1950            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1951            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1952            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1953            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1954            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1955            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1956            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1957            ::capnp::word(111, 110, 108, 121, 80, 114, 111, 109),
1958            ::capnp::word(105, 115, 101, 80, 105, 112, 101, 108),
1959            ::capnp::word(105, 110, 101, 0, 0, 0, 0, 0),
1960            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1961            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1962            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1963            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1964            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1965            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1966            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1967        ];
1968        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1969            match index {
1970                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
1971                1 => <crate::rpc_capnp::message_target::Owned as ::capnp::introspect::Introspect>::introspect(),
1972                2 => <u64 as ::capnp::introspect::Introspect>::introspect(),
1973                3 => <u16 as ::capnp::introspect::Introspect>::introspect(),
1974                4 => <crate::rpc_capnp::payload::Owned as ::capnp::introspect::Introspect>::introspect(),
1975                5 => <crate::rpc_capnp::call::send_results_to::Owned as ::capnp::introspect::Introspect>::introspect(),
1976                6 => <bool as ::capnp::introspect::Introspect>::introspect(),
1977                7 => <bool as ::capnp::introspect::Introspect>::introspect(),
1978                8 => <bool as ::capnp::introspect::Introspect>::introspect(),
1979                _ => ::capnp::introspect::panic_invalid_field_index(index),
1980            }
1981        }
1982        pub(crate) fn get_annotation_types(
1983            child_index: Option<u16>,
1984            index: u32,
1985        ) -> ::capnp::introspect::Type {
1986            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
1987        }
1988        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
1989            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
1990        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
1991            ::capnp::introspect::RawStructSchema::new(
1992                &ARENA,
1993                NONUNION_MEMBERS,
1994                MEMBERS_BY_DISCRIMINANT,
1995                MEMBERS_BY_NAME,
1996            );
1997        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3, 4, 5, 6, 7, 8];
1998        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
1999        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[6, 2, 3, 7, 8, 4, 0, 5, 1];
2000        pub(crate) const TYPE_ID: u64 = 0x836a_53ce_789d_4cd4;
2001    }
2002
2003    pub mod send_results_to {
2004        pub use self::Which::{Caller, ThirdParty, Yourself};
2005
2006        #[derive(Copy, Clone)]
2007        pub struct Owned(());
2008        impl ::capnp::introspect::Introspect for Owned {
2009            fn introspect() -> ::capnp::introspect::Type {
2010                ::capnp::introspect::TypeVariant::Struct(
2011                    ::capnp::introspect::RawBrandedStructSchema {
2012                        generic: &_private::RAW_SCHEMA,
2013                        field_types: _private::get_field_types,
2014                        annotation_types: _private::get_annotation_types,
2015                    },
2016                )
2017                .into()
2018            }
2019        }
2020        impl ::capnp::traits::Owned for Owned {
2021            type Reader<'a> = Reader<'a>;
2022            type Builder<'a> = Builder<'a>;
2023        }
2024        impl ::capnp::traits::OwnedStruct for Owned {
2025            type Reader<'a> = Reader<'a>;
2026            type Builder<'a> = Builder<'a>;
2027        }
2028        impl ::capnp::traits::Pipelined for Owned {
2029            type Pipeline = Pipeline;
2030        }
2031
2032        pub struct Reader<'a> {
2033            reader: ::capnp::private::layout::StructReader<'a>,
2034        }
2035        impl ::core::marker::Copy for Reader<'_> {}
2036        impl ::core::clone::Clone for Reader<'_> {
2037            fn clone(&self) -> Self {
2038                *self
2039            }
2040        }
2041
2042        impl ::capnp::traits::HasTypeId for Reader<'_> {
2043            const TYPE_ID: u64 = _private::TYPE_ID;
2044        }
2045        impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
2046            fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2047                Self { reader }
2048            }
2049        }
2050
2051        impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
2052            fn from(reader: Reader<'a>) -> Self {
2053                Self::Struct(::capnp::dynamic_struct::Reader::new(
2054                    reader.reader,
2055                    ::capnp::schema::StructSchema::new(
2056                        ::capnp::introspect::RawBrandedStructSchema {
2057                            generic: &_private::RAW_SCHEMA,
2058                            field_types: _private::get_field_types,
2059                            annotation_types: _private::get_annotation_types,
2060                        },
2061                    ),
2062                ))
2063            }
2064        }
2065
2066        impl ::core::fmt::Debug for Reader<'_> {
2067            fn fmt(
2068                &self,
2069                f: &mut ::core::fmt::Formatter<'_>,
2070            ) -> ::core::result::Result<(), ::core::fmt::Error> {
2071                core::fmt::Debug::fmt(
2072                    &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
2073                    f,
2074                )
2075            }
2076        }
2077
2078        impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
2079            fn get_from_pointer(
2080                reader: &::capnp::private::layout::PointerReader<'a>,
2081                default: ::core::option::Option<&'a [::capnp::Word]>,
2082            ) -> ::capnp::Result<Self> {
2083                ::core::result::Result::Ok(reader.get_struct(default)?.into())
2084            }
2085        }
2086
2087        impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
2088            fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2089                self.reader
2090            }
2091        }
2092
2093        impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
2094            fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2095                self.reader
2096                    .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2097            }
2098        }
2099
2100        impl<'a> Reader<'a> {
2101            pub fn reborrow(&self) -> Reader<'_> {
2102                Self { ..*self }
2103            }
2104
2105            pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2106                self.reader.total_size()
2107            }
2108            #[inline]
2109            pub fn has_third_party(&self) -> bool {
2110                if self.reader.get_data_field::<u16>(3) != 2 {
2111                    return false;
2112                }
2113                !self.reader.get_pointer_field(2).is_null()
2114            }
2115            #[inline]
2116            pub fn which(self) -> ::core::result::Result<WhichReader<'a>, ::capnp::NotInSchema> {
2117                match self.reader.get_data_field::<u16>(3) {
2118                    0 => ::core::result::Result::Ok(Caller(())),
2119                    1 => ::core::result::Result::Ok(Yourself(())),
2120                    2 => ::core::result::Result::Ok(ThirdParty(::capnp::any_pointer::Reader::new(
2121                        self.reader.get_pointer_field(2),
2122                    ))),
2123                    x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
2124                }
2125            }
2126        }
2127
2128        pub struct Builder<'a> {
2129            builder: ::capnp::private::layout::StructBuilder<'a>,
2130        }
2131        impl ::capnp::traits::HasStructSize for Builder<'_> {
2132            const STRUCT_SIZE: ::capnp::private::layout::StructSize =
2133                ::capnp::private::layout::StructSize {
2134                    data: 3,
2135                    pointers: 3,
2136                };
2137        }
2138        impl ::capnp::traits::HasTypeId for Builder<'_> {
2139            const TYPE_ID: u64 = _private::TYPE_ID;
2140        }
2141        impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
2142            fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2143                Self { builder }
2144            }
2145        }
2146
2147        impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
2148            fn from(builder: Builder<'a>) -> Self {
2149                Self::Struct(::capnp::dynamic_struct::Builder::new(
2150                    builder.builder,
2151                    ::capnp::schema::StructSchema::new(
2152                        ::capnp::introspect::RawBrandedStructSchema {
2153                            generic: &_private::RAW_SCHEMA,
2154                            field_types: _private::get_field_types,
2155                            annotation_types: _private::get_annotation_types,
2156                        },
2157                    ),
2158                ))
2159            }
2160        }
2161
2162        impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
2163            fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2164                self.builder
2165                    .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2166            }
2167        }
2168
2169        impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
2170            fn init_pointer(
2171                builder: ::capnp::private::layout::PointerBuilder<'a>,
2172                _size: u32,
2173            ) -> Self {
2174                builder
2175                    .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
2176                    .into()
2177            }
2178            fn get_from_pointer(
2179                builder: ::capnp::private::layout::PointerBuilder<'a>,
2180                default: ::core::option::Option<&'a [::capnp::Word]>,
2181            ) -> ::capnp::Result<Self> {
2182                ::core::result::Result::Ok(
2183                    builder
2184                        .get_struct(
2185                            <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
2186                            default,
2187                        )?
2188                        .into(),
2189                )
2190            }
2191        }
2192
2193        impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
2194            fn set_pointer_builder(
2195                mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
2196                value: Self,
2197                canonicalize: bool,
2198            ) -> ::capnp::Result<()> {
2199                pointer.set_struct(&value.reader, canonicalize)
2200            }
2201        }
2202
2203        impl<'a> Builder<'a> {
2204            pub fn into_reader(self) -> Reader<'a> {
2205                self.builder.into_reader().into()
2206            }
2207            pub fn reborrow(&mut self) -> Builder<'_> {
2208                Builder {
2209                    builder: self.builder.reborrow(),
2210                }
2211            }
2212            pub fn reborrow_as_reader(&self) -> Reader<'_> {
2213                self.builder.as_reader().into()
2214            }
2215
2216            pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2217                self.builder.as_reader().total_size()
2218            }
2219            #[inline]
2220            pub fn set_caller(&mut self, _value: ()) {
2221                self.builder.set_data_field::<u16>(3, 0);
2222            }
2223            #[inline]
2224            pub fn set_yourself(&mut self, _value: ()) {
2225                self.builder.set_data_field::<u16>(3, 1);
2226            }
2227            #[inline]
2228            pub fn init_third_party(self) -> ::capnp::any_pointer::Builder<'a> {
2229                self.builder.set_data_field::<u16>(3, 2);
2230                let mut result =
2231                    ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(2));
2232                result.clear();
2233                result
2234            }
2235            #[inline]
2236            pub fn has_third_party(&self) -> bool {
2237                if self.builder.get_data_field::<u16>(3) != 2 {
2238                    return false;
2239                }
2240                !self.builder.is_pointer_field_null(2)
2241            }
2242            #[inline]
2243            pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, ::capnp::NotInSchema> {
2244                match self.builder.get_data_field::<u16>(3) {
2245                    0 => ::core::result::Result::Ok(Caller(())),
2246                    1 => ::core::result::Result::Ok(Yourself(())),
2247                    2 => ::core::result::Result::Ok(ThirdParty(
2248                        ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(2)),
2249                    )),
2250                    x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
2251                }
2252            }
2253        }
2254
2255        pub struct Pipeline {
2256            _typeless: ::capnp::any_pointer::Pipeline,
2257        }
2258        impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2259            fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2260                Self {
2261                    _typeless: typeless,
2262                }
2263            }
2264        }
2265        impl Pipeline {}
2266        mod _private {
2267            pub(crate) static ENCODED_NODE: [::capnp::Word; 64] = [
2268                ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
2269                ::capnp::word(153, 95, 171, 26, 246, 176, 232, 218),
2270                ::capnp::word(15, 0, 0, 0, 1, 0, 3, 0),
2271                ::capnp::word(212, 76, 157, 120, 206, 83, 106, 131),
2272                ::capnp::word(3, 0, 7, 0, 1, 0, 3, 0),
2273                ::capnp::word(3, 0, 0, 0, 0, 0, 0, 0),
2274                ::capnp::word(21, 0, 0, 0, 234, 0, 0, 0),
2275                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2276                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2277                ::capnp::word(25, 0, 0, 0, 175, 0, 0, 0),
2278                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2279                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2280                ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
2281                ::capnp::word(112, 58, 67, 97, 108, 108, 46, 115),
2282                ::capnp::word(101, 110, 100, 82, 101, 115, 117, 108),
2283                ::capnp::word(116, 115, 84, 111, 0, 0, 0, 0),
2284                ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
2285                ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
2286                ::capnp::word(0, 0, 1, 0, 5, 0, 0, 0),
2287                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2288                ::capnp::word(69, 0, 0, 0, 58, 0, 0, 0),
2289                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2290                ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
2291                ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
2292                ::capnp::word(1, 0, 254, 255, 0, 0, 0, 0),
2293                ::capnp::word(0, 0, 1, 0, 6, 0, 0, 0),
2294                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2295                ::capnp::word(73, 0, 0, 0, 74, 0, 0, 0),
2296                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2297                ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
2298                ::capnp::word(84, 0, 0, 0, 2, 0, 1, 0),
2299                ::capnp::word(2, 0, 253, 255, 2, 0, 0, 0),
2300                ::capnp::word(0, 0, 1, 0, 7, 0, 0, 0),
2301                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2302                ::capnp::word(81, 0, 0, 0, 90, 0, 0, 0),
2303                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2304                ::capnp::word(80, 0, 0, 0, 3, 0, 1, 0),
2305                ::capnp::word(92, 0, 0, 0, 2, 0, 1, 0),
2306                ::capnp::word(99, 97, 108, 108, 101, 114, 0, 0),
2307                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2308                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2309                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2310                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2311                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2312                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2313                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2314                ::capnp::word(121, 111, 117, 114, 115, 101, 108, 102),
2315                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2316                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2317                ::capnp::word(0, 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(0, 0, 0, 0, 0, 0, 0, 0),
2322                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2323                ::capnp::word(116, 104, 105, 114, 100, 80, 97, 114),
2324                ::capnp::word(116, 121, 0, 0, 0, 0, 0, 0),
2325                ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
2326                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2327                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2328                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2329                ::capnp::word(18, 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            ];
2333            pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2334                match index {
2335                    0 => <() as ::capnp::introspect::Introspect>::introspect(),
2336                    1 => <() as ::capnp::introspect::Introspect>::introspect(),
2337                    2 => {
2338                        <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(
2339                        )
2340                    }
2341                    _ => ::capnp::introspect::panic_invalid_field_index(index),
2342                }
2343            }
2344            pub(crate) fn get_annotation_types(
2345                child_index: Option<u16>,
2346                index: u32,
2347            ) -> ::capnp::introspect::Type {
2348                ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2349            }
2350            pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
2351                ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
2352            pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
2353                ::capnp::introspect::RawStructSchema::new(
2354                    &ARENA,
2355                    NONUNION_MEMBERS,
2356                    MEMBERS_BY_DISCRIMINANT,
2357                    MEMBERS_BY_NAME,
2358                );
2359            pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
2360            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[0, 1, 2];
2361            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 2, 1];
2362            pub(crate) const TYPE_ID: u64 = 0xdae8_b0f6_1aab_5f99;
2363        }
2364        pub enum Which<A0> {
2365            Caller(()),
2366            Yourself(()),
2367            ThirdParty(A0),
2368        }
2369        pub type WhichReader<'a> = Which<::capnp::any_pointer::Reader<'a>>;
2370        pub type WhichBuilder<'a> = Which<::capnp::any_pointer::Builder<'a>>;
2371    }
2372}
2373
2374pub mod return_ {
2375    pub use self::Which::{
2376        AcceptFromThirdParty, Canceled, Exception, Results, ResultsSentElsewhere,
2377        TakeFromOtherQuestion,
2378    };
2379
2380    #[derive(Copy, Clone)]
2381    pub struct Owned(());
2382    impl ::capnp::introspect::Introspect for Owned {
2383        fn introspect() -> ::capnp::introspect::Type {
2384            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
2385                generic: &_private::RAW_SCHEMA,
2386                field_types: _private::get_field_types,
2387                annotation_types: _private::get_annotation_types,
2388            })
2389            .into()
2390        }
2391    }
2392    impl ::capnp::traits::Owned for Owned {
2393        type Reader<'a> = Reader<'a>;
2394        type Builder<'a> = Builder<'a>;
2395    }
2396    impl ::capnp::traits::OwnedStruct for Owned {
2397        type Reader<'a> = Reader<'a>;
2398        type Builder<'a> = Builder<'a>;
2399    }
2400    impl ::capnp::traits::Pipelined for Owned {
2401        type Pipeline = Pipeline;
2402    }
2403
2404    pub struct Reader<'a> {
2405        reader: ::capnp::private::layout::StructReader<'a>,
2406    }
2407    impl ::core::marker::Copy for Reader<'_> {}
2408    impl ::core::clone::Clone for Reader<'_> {
2409        fn clone(&self) -> Self {
2410            *self
2411        }
2412    }
2413
2414    impl ::capnp::traits::HasTypeId for Reader<'_> {
2415        const TYPE_ID: u64 = _private::TYPE_ID;
2416    }
2417    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
2418        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2419            Self { reader }
2420        }
2421    }
2422
2423    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
2424        fn from(reader: Reader<'a>) -> Self {
2425            Self::Struct(::capnp::dynamic_struct::Reader::new(
2426                reader.reader,
2427                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
2428                    generic: &_private::RAW_SCHEMA,
2429                    field_types: _private::get_field_types,
2430                    annotation_types: _private::get_annotation_types,
2431                }),
2432            ))
2433        }
2434    }
2435
2436    impl ::core::fmt::Debug for Reader<'_> {
2437        fn fmt(
2438            &self,
2439            f: &mut ::core::fmt::Formatter<'_>,
2440        ) -> ::core::result::Result<(), ::core::fmt::Error> {
2441            core::fmt::Debug::fmt(
2442                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
2443                f,
2444            )
2445        }
2446    }
2447
2448    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
2449        fn get_from_pointer(
2450            reader: &::capnp::private::layout::PointerReader<'a>,
2451            default: ::core::option::Option<&'a [::capnp::Word]>,
2452        ) -> ::capnp::Result<Self> {
2453            ::core::result::Result::Ok(reader.get_struct(default)?.into())
2454        }
2455    }
2456
2457    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
2458        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2459            self.reader
2460        }
2461    }
2462
2463    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
2464        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2465            self.reader
2466                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2467        }
2468    }
2469
2470    impl<'a> Reader<'a> {
2471        pub fn reborrow(&self) -> Reader<'_> {
2472            Self { ..*self }
2473        }
2474
2475        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2476            self.reader.total_size()
2477        }
2478        #[inline]
2479        pub fn get_answer_id(self) -> u32 {
2480            self.reader.get_data_field::<u32>(0)
2481        }
2482        #[inline]
2483        pub fn get_release_param_caps(self) -> bool {
2484            self.reader.get_bool_field_mask(32, true)
2485        }
2486        #[inline]
2487        pub fn has_results(&self) -> bool {
2488            if self.reader.get_data_field::<u16>(3) != 0 {
2489                return false;
2490            }
2491            !self.reader.get_pointer_field(0).is_null()
2492        }
2493        #[inline]
2494        pub fn has_exception(&self) -> bool {
2495            if self.reader.get_data_field::<u16>(3) != 1 {
2496                return false;
2497            }
2498            !self.reader.get_pointer_field(0).is_null()
2499        }
2500        #[inline]
2501        pub fn has_accept_from_third_party(&self) -> bool {
2502            if self.reader.get_data_field::<u16>(3) != 5 {
2503                return false;
2504            }
2505            !self.reader.get_pointer_field(0).is_null()
2506        }
2507        #[inline]
2508        pub fn get_no_finish_needed(self) -> bool {
2509            self.reader.get_bool_field(33)
2510        }
2511        #[inline]
2512        pub fn which(self) -> ::core::result::Result<WhichReader<'a>, ::capnp::NotInSchema> {
2513            match self.reader.get_data_field::<u16>(3) {
2514                0 => ::core::result::Result::Ok(Results(
2515                    ::capnp::traits::FromPointerReader::get_from_pointer(
2516                        &self.reader.get_pointer_field(0),
2517                        ::core::option::Option::None,
2518                    ),
2519                )),
2520                1 => ::core::result::Result::Ok(Exception(
2521                    ::capnp::traits::FromPointerReader::get_from_pointer(
2522                        &self.reader.get_pointer_field(0),
2523                        ::core::option::Option::None,
2524                    ),
2525                )),
2526                2 => ::core::result::Result::Ok(Canceled(())),
2527                3 => ::core::result::Result::Ok(ResultsSentElsewhere(())),
2528                4 => ::core::result::Result::Ok(TakeFromOtherQuestion(
2529                    self.reader.get_data_field::<u32>(2),
2530                )),
2531                5 => ::core::result::Result::Ok(AcceptFromThirdParty(
2532                    ::capnp::any_pointer::Reader::new(self.reader.get_pointer_field(0)),
2533                )),
2534                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
2535            }
2536        }
2537    }
2538
2539    pub struct Builder<'a> {
2540        builder: ::capnp::private::layout::StructBuilder<'a>,
2541    }
2542    impl ::capnp::traits::HasStructSize for Builder<'_> {
2543        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
2544            ::capnp::private::layout::StructSize {
2545                data: 2,
2546                pointers: 1,
2547            };
2548    }
2549    impl ::capnp::traits::HasTypeId for Builder<'_> {
2550        const TYPE_ID: u64 = _private::TYPE_ID;
2551    }
2552    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
2553        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2554            Self { builder }
2555        }
2556    }
2557
2558    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
2559        fn from(builder: Builder<'a>) -> Self {
2560            Self::Struct(::capnp::dynamic_struct::Builder::new(
2561                builder.builder,
2562                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
2563                    generic: &_private::RAW_SCHEMA,
2564                    field_types: _private::get_field_types,
2565                    annotation_types: _private::get_annotation_types,
2566                }),
2567            ))
2568        }
2569    }
2570
2571    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
2572        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2573            self.builder
2574                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2575        }
2576    }
2577
2578    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
2579        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2580            builder
2581                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
2582                .into()
2583        }
2584        fn get_from_pointer(
2585            builder: ::capnp::private::layout::PointerBuilder<'a>,
2586            default: ::core::option::Option<&'a [::capnp::Word]>,
2587        ) -> ::capnp::Result<Self> {
2588            ::core::result::Result::Ok(
2589                builder
2590                    .get_struct(
2591                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
2592                        default,
2593                    )?
2594                    .into(),
2595            )
2596        }
2597    }
2598
2599    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
2600        fn set_pointer_builder(
2601            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
2602            value: Self,
2603            canonicalize: bool,
2604        ) -> ::capnp::Result<()> {
2605            pointer.set_struct(&value.reader, canonicalize)
2606        }
2607    }
2608
2609    impl<'a> Builder<'a> {
2610        pub fn into_reader(self) -> Reader<'a> {
2611            self.builder.into_reader().into()
2612        }
2613        pub fn reborrow(&mut self) -> Builder<'_> {
2614            Builder {
2615                builder: self.builder.reborrow(),
2616            }
2617        }
2618        pub fn reborrow_as_reader(&self) -> Reader<'_> {
2619            self.builder.as_reader().into()
2620        }
2621
2622        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2623            self.builder.as_reader().total_size()
2624        }
2625        #[inline]
2626        pub fn get_answer_id(self) -> u32 {
2627            self.builder.get_data_field::<u32>(0)
2628        }
2629        #[inline]
2630        pub fn set_answer_id(&mut self, value: u32) {
2631            self.builder.set_data_field::<u32>(0, value);
2632        }
2633        #[inline]
2634        pub fn get_release_param_caps(self) -> bool {
2635            self.builder.get_bool_field_mask(32, true)
2636        }
2637        #[inline]
2638        pub fn set_release_param_caps(&mut self, value: bool) {
2639            self.builder.set_bool_field_mask(32, value, true);
2640        }
2641        #[inline]
2642        pub fn set_results(
2643            &mut self,
2644            value: crate::rpc_capnp::payload::Reader<'_>,
2645        ) -> ::capnp::Result<()> {
2646            self.builder.set_data_field::<u16>(3, 0);
2647            ::capnp::traits::SetterInput::set_pointer_builder(
2648                self.builder.reborrow().get_pointer_field(0),
2649                value,
2650                false,
2651            )
2652        }
2653        #[inline]
2654        pub fn init_results(self) -> crate::rpc_capnp::payload::Builder<'a> {
2655            self.builder.set_data_field::<u16>(3, 0);
2656            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
2657        }
2658        #[inline]
2659        pub fn has_results(&self) -> bool {
2660            if self.builder.get_data_field::<u16>(3) != 0 {
2661                return false;
2662            }
2663            !self.builder.is_pointer_field_null(0)
2664        }
2665        #[inline]
2666        pub fn set_exception(
2667            &mut self,
2668            value: crate::rpc_capnp::exception::Reader<'_>,
2669        ) -> ::capnp::Result<()> {
2670            self.builder.set_data_field::<u16>(3, 1);
2671            ::capnp::traits::SetterInput::set_pointer_builder(
2672                self.builder.reborrow().get_pointer_field(0),
2673                value,
2674                false,
2675            )
2676        }
2677        #[inline]
2678        pub fn init_exception(self) -> crate::rpc_capnp::exception::Builder<'a> {
2679            self.builder.set_data_field::<u16>(3, 1);
2680            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
2681        }
2682        #[inline]
2683        pub fn has_exception(&self) -> bool {
2684            if self.builder.get_data_field::<u16>(3) != 1 {
2685                return false;
2686            }
2687            !self.builder.is_pointer_field_null(0)
2688        }
2689        #[inline]
2690        pub fn set_canceled(&mut self, _value: ()) {
2691            self.builder.set_data_field::<u16>(3, 2);
2692        }
2693        #[inline]
2694        pub fn set_results_sent_elsewhere(&mut self, _value: ()) {
2695            self.builder.set_data_field::<u16>(3, 3);
2696        }
2697        #[inline]
2698        pub fn set_take_from_other_question(&mut self, value: u32) {
2699            self.builder.set_data_field::<u16>(3, 4);
2700            self.builder.set_data_field::<u32>(2, value);
2701        }
2702        #[inline]
2703        pub fn init_accept_from_third_party(self) -> ::capnp::any_pointer::Builder<'a> {
2704            self.builder.set_data_field::<u16>(3, 5);
2705            let mut result = ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0));
2706            result.clear();
2707            result
2708        }
2709        #[inline]
2710        pub fn has_accept_from_third_party(&self) -> bool {
2711            if self.builder.get_data_field::<u16>(3) != 5 {
2712                return false;
2713            }
2714            !self.builder.is_pointer_field_null(0)
2715        }
2716        #[inline]
2717        pub fn get_no_finish_needed(self) -> bool {
2718            self.builder.get_bool_field(33)
2719        }
2720        #[inline]
2721        pub fn set_no_finish_needed(&mut self, value: bool) {
2722            self.builder.set_bool_field(33, value);
2723        }
2724        #[inline]
2725        pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, ::capnp::NotInSchema> {
2726            match self.builder.get_data_field::<u16>(3) {
2727                0 => ::core::result::Result::Ok(Results(
2728                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
2729                        self.builder.get_pointer_field(0),
2730                        ::core::option::Option::None,
2731                    ),
2732                )),
2733                1 => ::core::result::Result::Ok(Exception(
2734                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
2735                        self.builder.get_pointer_field(0),
2736                        ::core::option::Option::None,
2737                    ),
2738                )),
2739                2 => ::core::result::Result::Ok(Canceled(())),
2740                3 => ::core::result::Result::Ok(ResultsSentElsewhere(())),
2741                4 => ::core::result::Result::Ok(TakeFromOtherQuestion(
2742                    self.builder.get_data_field::<u32>(2),
2743                )),
2744                5 => ::core::result::Result::Ok(AcceptFromThirdParty(
2745                    ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0)),
2746                )),
2747                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
2748            }
2749        }
2750    }
2751
2752    pub struct Pipeline {
2753        _typeless: ::capnp::any_pointer::Pipeline,
2754    }
2755    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2756        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2757            Self {
2758                _typeless: typeless,
2759            }
2760        }
2761    }
2762    impl Pipeline {}
2763    mod _private {
2764        pub(crate) static ENCODED_NODE: [::capnp::Word; 164] = [
2765            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
2766            ::capnp::word(58, 87, 179, 61, 141, 178, 25, 158),
2767            ::capnp::word(10, 0, 0, 0, 1, 0, 2, 0),
2768            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
2769            ::capnp::word(1, 0, 7, 0, 0, 0, 6, 0),
2770            ::capnp::word(3, 0, 0, 0, 0, 0, 0, 0),
2771            ::capnp::word(21, 0, 0, 0, 138, 0, 0, 0),
2772            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
2773            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2774            ::capnp::word(25, 0, 0, 0, 255, 1, 0, 0),
2775            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2776            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2777            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
2778            ::capnp::word(112, 58, 82, 101, 116, 117, 114, 110),
2779            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2780            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
2781            ::capnp::word(36, 0, 0, 0, 3, 0, 4, 0),
2782            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2783            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
2784            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2785            ::capnp::word(237, 0, 0, 0, 74, 0, 0, 0),
2786            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2787            ::capnp::word(236, 0, 0, 0, 3, 0, 1, 0),
2788            ::capnp::word(248, 0, 0, 0, 2, 0, 1, 0),
2789            ::capnp::word(1, 0, 0, 0, 32, 0, 0, 0),
2790            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
2791            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
2792            ::capnp::word(245, 0, 0, 0, 138, 0, 0, 0),
2793            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2794            ::capnp::word(248, 0, 0, 0, 3, 0, 1, 0),
2795            ::capnp::word(4, 1, 0, 0, 2, 0, 1, 0),
2796            ::capnp::word(3, 0, 255, 255, 0, 0, 0, 0),
2797            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
2798            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2799            ::capnp::word(1, 1, 0, 0, 66, 0, 0, 0),
2800            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2801            ::capnp::word(252, 0, 0, 0, 3, 0, 1, 0),
2802            ::capnp::word(8, 1, 0, 0, 2, 0, 1, 0),
2803            ::capnp::word(4, 0, 254, 255, 0, 0, 0, 0),
2804            ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
2805            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2806            ::capnp::word(5, 1, 0, 0, 82, 0, 0, 0),
2807            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2808            ::capnp::word(4, 1, 0, 0, 3, 0, 1, 0),
2809            ::capnp::word(16, 1, 0, 0, 2, 0, 1, 0),
2810            ::capnp::word(5, 0, 253, 255, 0, 0, 0, 0),
2811            ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
2812            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2813            ::capnp::word(13, 1, 0, 0, 74, 0, 0, 0),
2814            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2815            ::capnp::word(12, 1, 0, 0, 3, 0, 1, 0),
2816            ::capnp::word(24, 1, 0, 0, 2, 0, 1, 0),
2817            ::capnp::word(6, 0, 252, 255, 0, 0, 0, 0),
2818            ::capnp::word(0, 0, 1, 0, 5, 0, 0, 0),
2819            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2820            ::capnp::word(21, 1, 0, 0, 170, 0, 0, 0),
2821            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2822            ::capnp::word(24, 1, 0, 0, 3, 0, 1, 0),
2823            ::capnp::word(36, 1, 0, 0, 2, 0, 1, 0),
2824            ::capnp::word(7, 0, 251, 255, 2, 0, 0, 0),
2825            ::capnp::word(0, 0, 1, 0, 6, 0, 0, 0),
2826            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2827            ::capnp::word(33, 1, 0, 0, 178, 0, 0, 0),
2828            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2829            ::capnp::word(36, 1, 0, 0, 3, 0, 1, 0),
2830            ::capnp::word(48, 1, 0, 0, 2, 0, 1, 0),
2831            ::capnp::word(8, 0, 250, 255, 0, 0, 0, 0),
2832            ::capnp::word(0, 0, 1, 0, 7, 0, 0, 0),
2833            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2834            ::capnp::word(45, 1, 0, 0, 170, 0, 0, 0),
2835            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2836            ::capnp::word(48, 1, 0, 0, 3, 0, 1, 0),
2837            ::capnp::word(60, 1, 0, 0, 2, 0, 1, 0),
2838            ::capnp::word(2, 0, 0, 0, 33, 0, 0, 0),
2839            ::capnp::word(0, 0, 1, 0, 8, 0, 0, 0),
2840            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
2841            ::capnp::word(57, 1, 0, 0, 122, 0, 0, 0),
2842            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2843            ::capnp::word(56, 1, 0, 0, 3, 0, 1, 0),
2844            ::capnp::word(68, 1, 0, 0, 2, 0, 1, 0),
2845            ::capnp::word(97, 110, 115, 119, 101, 114, 73, 100),
2846            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2847            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2848            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2849            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2850            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2851            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2852            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2853            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2854            ::capnp::word(114, 101, 108, 101, 97, 115, 101, 80),
2855            ::capnp::word(97, 114, 97, 109, 67, 97, 112, 115),
2856            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2857            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
2858            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2859            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2860            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2861            ::capnp::word(1, 0, 1, 0, 0, 0, 0, 0),
2862            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2863            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2864            ::capnp::word(114, 101, 115, 117, 108, 116, 115, 0),
2865            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2866            ::capnp::word(59, 116, 150, 61, 34, 97, 14, 154),
2867            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2868            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2869            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2870            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2871            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2872            ::capnp::word(101, 120, 99, 101, 112, 116, 105, 111),
2873            ::capnp::word(110, 0, 0, 0, 0, 0, 0, 0),
2874            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2875            ::capnp::word(26, 105, 207, 58, 6, 183, 37, 214),
2876            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2877            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2878            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2879            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2880            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2881            ::capnp::word(99, 97, 110, 99, 101, 108, 101, 100),
2882            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2883            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2884            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2885            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2886            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2887            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2888            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2889            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2890            ::capnp::word(114, 101, 115, 117, 108, 116, 115, 83),
2891            ::capnp::word(101, 110, 116, 69, 108, 115, 101, 119),
2892            ::capnp::word(104, 101, 114, 101, 0, 0, 0, 0),
2893            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2894            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2895            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2896            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2897            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2898            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2899            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2900            ::capnp::word(116, 97, 107, 101, 70, 114, 111, 109),
2901            ::capnp::word(79, 116, 104, 101, 114, 81, 117, 101),
2902            ::capnp::word(115, 116, 105, 111, 110, 0, 0, 0),
2903            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2904            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2905            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2906            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2907            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2908            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2909            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2910            ::capnp::word(97, 99, 99, 101, 112, 116, 70, 114),
2911            ::capnp::word(111, 109, 84, 104, 105, 114, 100, 80),
2912            ::capnp::word(97, 114, 116, 121, 0, 0, 0, 0),
2913            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
2914            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2915            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2916            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2917            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
2918            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2919            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2920            ::capnp::word(110, 111, 70, 105, 110, 105, 115, 104),
2921            ::capnp::word(78, 101, 101, 100, 101, 100, 0, 0),
2922            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
2923            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2924            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2925            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2926            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
2927            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2928            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2929        ];
2930        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2931            match index {
2932                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
2933                1 => <bool as ::capnp::introspect::Introspect>::introspect(),
2934                2 => <crate::rpc_capnp::payload::Owned as ::capnp::introspect::Introspect>::introspect(),
2935                3 => <crate::rpc_capnp::exception::Owned as ::capnp::introspect::Introspect>::introspect(),
2936                4 => <() as ::capnp::introspect::Introspect>::introspect(),
2937                5 => <() as ::capnp::introspect::Introspect>::introspect(),
2938                6 => <u32 as ::capnp::introspect::Introspect>::introspect(),
2939                7 => <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(),
2940                8 => <bool as ::capnp::introspect::Introspect>::introspect(),
2941                _ => ::capnp::introspect::panic_invalid_field_index(index),
2942            }
2943        }
2944        pub(crate) fn get_annotation_types(
2945            child_index: Option<u16>,
2946            index: u32,
2947        ) -> ::capnp::introspect::Type {
2948            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2949        }
2950        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
2951            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
2952        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
2953            ::capnp::introspect::RawStructSchema::new(
2954                &ARENA,
2955                NONUNION_MEMBERS,
2956                MEMBERS_BY_DISCRIMINANT,
2957                MEMBERS_BY_NAME,
2958            );
2959        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 8];
2960        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[2, 3, 4, 5, 6, 7];
2961        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[7, 0, 4, 3, 8, 1, 2, 5, 6];
2962        pub(crate) const TYPE_ID: u64 = 0x9e19_b28d_3db3_573a;
2963    }
2964    pub enum Which<A0, A1, A2> {
2965        Results(A0),
2966        Exception(A1),
2967        Canceled(()),
2968        ResultsSentElsewhere(()),
2969        TakeFromOtherQuestion(u32),
2970        AcceptFromThirdParty(A2),
2971    }
2972    pub type WhichReader<'a> = Which<
2973        ::capnp::Result<crate::rpc_capnp::payload::Reader<'a>>,
2974        ::capnp::Result<crate::rpc_capnp::exception::Reader<'a>>,
2975        ::capnp::any_pointer::Reader<'a>,
2976    >;
2977    pub type WhichBuilder<'a> = Which<
2978        ::capnp::Result<crate::rpc_capnp::payload::Builder<'a>>,
2979        ::capnp::Result<crate::rpc_capnp::exception::Builder<'a>>,
2980        ::capnp::any_pointer::Builder<'a>,
2981    >;
2982}
2983
2984pub mod finish {
2985    #[derive(Copy, Clone)]
2986    pub struct Owned(());
2987    impl ::capnp::introspect::Introspect for Owned {
2988        fn introspect() -> ::capnp::introspect::Type {
2989            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
2990                generic: &_private::RAW_SCHEMA,
2991                field_types: _private::get_field_types,
2992                annotation_types: _private::get_annotation_types,
2993            })
2994            .into()
2995        }
2996    }
2997    impl ::capnp::traits::Owned for Owned {
2998        type Reader<'a> = Reader<'a>;
2999        type Builder<'a> = Builder<'a>;
3000    }
3001    impl ::capnp::traits::OwnedStruct for Owned {
3002        type Reader<'a> = Reader<'a>;
3003        type Builder<'a> = Builder<'a>;
3004    }
3005    impl ::capnp::traits::Pipelined for Owned {
3006        type Pipeline = Pipeline;
3007    }
3008
3009    pub struct Reader<'a> {
3010        reader: ::capnp::private::layout::StructReader<'a>,
3011    }
3012    impl ::core::marker::Copy for Reader<'_> {}
3013    impl ::core::clone::Clone for Reader<'_> {
3014        fn clone(&self) -> Self {
3015            *self
3016        }
3017    }
3018
3019    impl ::capnp::traits::HasTypeId for Reader<'_> {
3020        const TYPE_ID: u64 = _private::TYPE_ID;
3021    }
3022    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
3023        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
3024            Self { reader }
3025        }
3026    }
3027
3028    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
3029        fn from(reader: Reader<'a>) -> Self {
3030            Self::Struct(::capnp::dynamic_struct::Reader::new(
3031                reader.reader,
3032                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
3033                    generic: &_private::RAW_SCHEMA,
3034                    field_types: _private::get_field_types,
3035                    annotation_types: _private::get_annotation_types,
3036                }),
3037            ))
3038        }
3039    }
3040
3041    impl ::core::fmt::Debug for Reader<'_> {
3042        fn fmt(
3043            &self,
3044            f: &mut ::core::fmt::Formatter<'_>,
3045        ) -> ::core::result::Result<(), ::core::fmt::Error> {
3046            core::fmt::Debug::fmt(
3047                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
3048                f,
3049            )
3050        }
3051    }
3052
3053    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
3054        fn get_from_pointer(
3055            reader: &::capnp::private::layout::PointerReader<'a>,
3056            default: ::core::option::Option<&'a [::capnp::Word]>,
3057        ) -> ::capnp::Result<Self> {
3058            ::core::result::Result::Ok(reader.get_struct(default)?.into())
3059        }
3060    }
3061
3062    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
3063        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
3064            self.reader
3065        }
3066    }
3067
3068    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
3069        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
3070            self.reader
3071                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
3072        }
3073    }
3074
3075    impl Reader<'_> {
3076        pub fn reborrow(&self) -> Reader<'_> {
3077            Self { ..*self }
3078        }
3079
3080        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3081            self.reader.total_size()
3082        }
3083        #[inline]
3084        pub fn get_question_id(self) -> u32 {
3085            self.reader.get_data_field::<u32>(0)
3086        }
3087        #[inline]
3088        pub fn get_release_result_caps(self) -> bool {
3089            self.reader.get_bool_field_mask(32, true)
3090        }
3091        #[inline]
3092        pub fn get_require_early_cancellation_workaround(self) -> bool {
3093            self.reader.get_bool_field_mask(33, true)
3094        }
3095    }
3096
3097    pub struct Builder<'a> {
3098        builder: ::capnp::private::layout::StructBuilder<'a>,
3099    }
3100    impl ::capnp::traits::HasStructSize for Builder<'_> {
3101        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
3102            ::capnp::private::layout::StructSize {
3103                data: 1,
3104                pointers: 0,
3105            };
3106    }
3107    impl ::capnp::traits::HasTypeId for Builder<'_> {
3108        const TYPE_ID: u64 = _private::TYPE_ID;
3109    }
3110    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
3111        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
3112            Self { builder }
3113        }
3114    }
3115
3116    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
3117        fn from(builder: Builder<'a>) -> Self {
3118            Self::Struct(::capnp::dynamic_struct::Builder::new(
3119                builder.builder,
3120                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
3121                    generic: &_private::RAW_SCHEMA,
3122                    field_types: _private::get_field_types,
3123                    annotation_types: _private::get_annotation_types,
3124                }),
3125            ))
3126        }
3127    }
3128
3129    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
3130        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
3131            self.builder
3132                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
3133        }
3134    }
3135
3136    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
3137        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
3138            builder
3139                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
3140                .into()
3141        }
3142        fn get_from_pointer(
3143            builder: ::capnp::private::layout::PointerBuilder<'a>,
3144            default: ::core::option::Option<&'a [::capnp::Word]>,
3145        ) -> ::capnp::Result<Self> {
3146            ::core::result::Result::Ok(
3147                builder
3148                    .get_struct(
3149                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
3150                        default,
3151                    )?
3152                    .into(),
3153            )
3154        }
3155    }
3156
3157    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
3158        fn set_pointer_builder(
3159            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
3160            value: Self,
3161            canonicalize: bool,
3162        ) -> ::capnp::Result<()> {
3163            pointer.set_struct(&value.reader, canonicalize)
3164        }
3165    }
3166
3167    impl<'a> Builder<'a> {
3168        pub fn into_reader(self) -> Reader<'a> {
3169            self.builder.into_reader().into()
3170        }
3171        pub fn reborrow(&mut self) -> Builder<'_> {
3172            Builder {
3173                builder: self.builder.reborrow(),
3174            }
3175        }
3176        pub fn reborrow_as_reader(&self) -> Reader<'_> {
3177            self.builder.as_reader().into()
3178        }
3179
3180        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3181            self.builder.as_reader().total_size()
3182        }
3183        #[inline]
3184        pub fn get_question_id(self) -> u32 {
3185            self.builder.get_data_field::<u32>(0)
3186        }
3187        #[inline]
3188        pub fn set_question_id(&mut self, value: u32) {
3189            self.builder.set_data_field::<u32>(0, value);
3190        }
3191        #[inline]
3192        pub fn get_release_result_caps(self) -> bool {
3193            self.builder.get_bool_field_mask(32, true)
3194        }
3195        #[inline]
3196        pub fn set_release_result_caps(&mut self, value: bool) {
3197            self.builder.set_bool_field_mask(32, value, true);
3198        }
3199        #[inline]
3200        pub fn get_require_early_cancellation_workaround(self) -> bool {
3201            self.builder.get_bool_field_mask(33, true)
3202        }
3203        #[inline]
3204        pub fn set_require_early_cancellation_workaround(&mut self, value: bool) {
3205            self.builder.set_bool_field_mask(33, value, true);
3206        }
3207    }
3208
3209    pub struct Pipeline {
3210        _typeless: ::capnp::any_pointer::Pipeline,
3211    }
3212    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
3213        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
3214            Self {
3215                _typeless: typeless,
3216            }
3217        }
3218    }
3219    impl Pipeline {}
3220    mod _private {
3221        pub(crate) static ENCODED_NODE: [::capnp::Word; 69] = [
3222            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
3223            ::capnp::word(99, 14, 248, 194, 178, 46, 125, 211),
3224            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
3225            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
3226            ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
3227            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3228            ::capnp::word(21, 0, 0, 0, 138, 0, 0, 0),
3229            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
3230            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3231            ::capnp::word(25, 0, 0, 0, 175, 0, 0, 0),
3232            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3233            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3234            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
3235            ::capnp::word(112, 58, 70, 105, 110, 105, 115, 104),
3236            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3237            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
3238            ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
3239            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3240            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
3241            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3242            ::capnp::word(69, 0, 0, 0, 90, 0, 0, 0),
3243            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3244            ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
3245            ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
3246            ::capnp::word(1, 0, 0, 0, 32, 0, 0, 0),
3247            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
3248            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
3249            ::capnp::word(77, 0, 0, 0, 146, 0, 0, 0),
3250            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3251            ::capnp::word(80, 0, 0, 0, 3, 0, 1, 0),
3252            ::capnp::word(92, 0, 0, 0, 2, 0, 1, 0),
3253            ::capnp::word(2, 0, 0, 0, 33, 0, 0, 0),
3254            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
3255            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
3256            ::capnp::word(89, 0, 0, 0, 26, 1, 0, 0),
3257            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3258            ::capnp::word(100, 0, 0, 0, 3, 0, 1, 0),
3259            ::capnp::word(112, 0, 0, 0, 2, 0, 1, 0),
3260            ::capnp::word(113, 117, 101, 115, 116, 105, 111, 110),
3261            ::capnp::word(73, 100, 0, 0, 0, 0, 0, 0),
3262            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3263            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3264            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3265            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3266            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3267            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3268            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3269            ::capnp::word(114, 101, 108, 101, 97, 115, 101, 82),
3270            ::capnp::word(101, 115, 117, 108, 116, 67, 97, 112),
3271            ::capnp::word(115, 0, 0, 0, 0, 0, 0, 0),
3272            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
3273            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3274            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3275            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3276            ::capnp::word(1, 0, 1, 0, 0, 0, 0, 0),
3277            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3278            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3279            ::capnp::word(114, 101, 113, 117, 105, 114, 101, 69),
3280            ::capnp::word(97, 114, 108, 121, 67, 97, 110, 99),
3281            ::capnp::word(101, 108, 108, 97, 116, 105, 111, 110),
3282            ::capnp::word(87, 111, 114, 107, 97, 114, 111, 117),
3283            ::capnp::word(110, 100, 0, 0, 0, 0, 0, 0),
3284            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
3285            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3286            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3287            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3288            ::capnp::word(1, 0, 1, 0, 0, 0, 0, 0),
3289            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3290            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3291        ];
3292        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
3293            match index {
3294                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
3295                1 => <bool as ::capnp::introspect::Introspect>::introspect(),
3296                2 => <bool as ::capnp::introspect::Introspect>::introspect(),
3297                _ => ::capnp::introspect::panic_invalid_field_index(index),
3298            }
3299        }
3300        pub(crate) fn get_annotation_types(
3301            child_index: Option<u16>,
3302            index: u32,
3303        ) -> ::capnp::introspect::Type {
3304            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
3305        }
3306        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
3307            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
3308        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
3309            ::capnp::introspect::RawStructSchema::new(
3310                &ARENA,
3311                NONUNION_MEMBERS,
3312                MEMBERS_BY_DISCRIMINANT,
3313                MEMBERS_BY_NAME,
3314            );
3315        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2];
3316        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
3317        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 1, 2];
3318        pub(crate) const TYPE_ID: u64 = 0xd37d_2eb2_c2f8_0e63;
3319    }
3320}
3321
3322pub mod resolve {
3323    pub use self::Which::{Cap, Exception};
3324
3325    #[derive(Copy, Clone)]
3326    pub struct Owned(());
3327    impl ::capnp::introspect::Introspect for Owned {
3328        fn introspect() -> ::capnp::introspect::Type {
3329            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
3330                generic: &_private::RAW_SCHEMA,
3331                field_types: _private::get_field_types,
3332                annotation_types: _private::get_annotation_types,
3333            })
3334            .into()
3335        }
3336    }
3337    impl ::capnp::traits::Owned for Owned {
3338        type Reader<'a> = Reader<'a>;
3339        type Builder<'a> = Builder<'a>;
3340    }
3341    impl ::capnp::traits::OwnedStruct for Owned {
3342        type Reader<'a> = Reader<'a>;
3343        type Builder<'a> = Builder<'a>;
3344    }
3345    impl ::capnp::traits::Pipelined for Owned {
3346        type Pipeline = Pipeline;
3347    }
3348
3349    pub struct Reader<'a> {
3350        reader: ::capnp::private::layout::StructReader<'a>,
3351    }
3352    impl ::core::marker::Copy for Reader<'_> {}
3353    impl ::core::clone::Clone for Reader<'_> {
3354        fn clone(&self) -> Self {
3355            *self
3356        }
3357    }
3358
3359    impl ::capnp::traits::HasTypeId for Reader<'_> {
3360        const TYPE_ID: u64 = _private::TYPE_ID;
3361    }
3362    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
3363        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
3364            Self { reader }
3365        }
3366    }
3367
3368    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
3369        fn from(reader: Reader<'a>) -> Self {
3370            Self::Struct(::capnp::dynamic_struct::Reader::new(
3371                reader.reader,
3372                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
3373                    generic: &_private::RAW_SCHEMA,
3374                    field_types: _private::get_field_types,
3375                    annotation_types: _private::get_annotation_types,
3376                }),
3377            ))
3378        }
3379    }
3380
3381    impl ::core::fmt::Debug for Reader<'_> {
3382        fn fmt(
3383            &self,
3384            f: &mut ::core::fmt::Formatter<'_>,
3385        ) -> ::core::result::Result<(), ::core::fmt::Error> {
3386            core::fmt::Debug::fmt(
3387                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
3388                f,
3389            )
3390        }
3391    }
3392
3393    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
3394        fn get_from_pointer(
3395            reader: &::capnp::private::layout::PointerReader<'a>,
3396            default: ::core::option::Option<&'a [::capnp::Word]>,
3397        ) -> ::capnp::Result<Self> {
3398            ::core::result::Result::Ok(reader.get_struct(default)?.into())
3399        }
3400    }
3401
3402    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
3403        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
3404            self.reader
3405        }
3406    }
3407
3408    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
3409        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
3410            self.reader
3411                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
3412        }
3413    }
3414
3415    impl<'a> Reader<'a> {
3416        pub fn reborrow(&self) -> Reader<'_> {
3417            Self { ..*self }
3418        }
3419
3420        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3421            self.reader.total_size()
3422        }
3423        #[inline]
3424        pub fn get_promise_id(self) -> u32 {
3425            self.reader.get_data_field::<u32>(0)
3426        }
3427        #[inline]
3428        pub fn has_cap(&self) -> bool {
3429            if self.reader.get_data_field::<u16>(2) != 0 {
3430                return false;
3431            }
3432            !self.reader.get_pointer_field(0).is_null()
3433        }
3434        #[inline]
3435        pub fn has_exception(&self) -> bool {
3436            if self.reader.get_data_field::<u16>(2) != 1 {
3437                return false;
3438            }
3439            !self.reader.get_pointer_field(0).is_null()
3440        }
3441        #[inline]
3442        pub fn which(self) -> ::core::result::Result<WhichReader<'a>, ::capnp::NotInSchema> {
3443            match self.reader.get_data_field::<u16>(2) {
3444                0 => ::core::result::Result::Ok(Cap(
3445                    ::capnp::traits::FromPointerReader::get_from_pointer(
3446                        &self.reader.get_pointer_field(0),
3447                        ::core::option::Option::None,
3448                    ),
3449                )),
3450                1 => ::core::result::Result::Ok(Exception(
3451                    ::capnp::traits::FromPointerReader::get_from_pointer(
3452                        &self.reader.get_pointer_field(0),
3453                        ::core::option::Option::None,
3454                    ),
3455                )),
3456                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
3457            }
3458        }
3459    }
3460
3461    pub struct Builder<'a> {
3462        builder: ::capnp::private::layout::StructBuilder<'a>,
3463    }
3464    impl ::capnp::traits::HasStructSize for Builder<'_> {
3465        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
3466            ::capnp::private::layout::StructSize {
3467                data: 1,
3468                pointers: 1,
3469            };
3470    }
3471    impl ::capnp::traits::HasTypeId for Builder<'_> {
3472        const TYPE_ID: u64 = _private::TYPE_ID;
3473    }
3474    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
3475        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
3476            Self { builder }
3477        }
3478    }
3479
3480    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
3481        fn from(builder: Builder<'a>) -> Self {
3482            Self::Struct(::capnp::dynamic_struct::Builder::new(
3483                builder.builder,
3484                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
3485                    generic: &_private::RAW_SCHEMA,
3486                    field_types: _private::get_field_types,
3487                    annotation_types: _private::get_annotation_types,
3488                }),
3489            ))
3490        }
3491    }
3492
3493    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
3494        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
3495            self.builder
3496                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
3497        }
3498    }
3499
3500    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
3501        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
3502            builder
3503                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
3504                .into()
3505        }
3506        fn get_from_pointer(
3507            builder: ::capnp::private::layout::PointerBuilder<'a>,
3508            default: ::core::option::Option<&'a [::capnp::Word]>,
3509        ) -> ::capnp::Result<Self> {
3510            ::core::result::Result::Ok(
3511                builder
3512                    .get_struct(
3513                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
3514                        default,
3515                    )?
3516                    .into(),
3517            )
3518        }
3519    }
3520
3521    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
3522        fn set_pointer_builder(
3523            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
3524            value: Self,
3525            canonicalize: bool,
3526        ) -> ::capnp::Result<()> {
3527            pointer.set_struct(&value.reader, canonicalize)
3528        }
3529    }
3530
3531    impl<'a> Builder<'a> {
3532        pub fn into_reader(self) -> Reader<'a> {
3533            self.builder.into_reader().into()
3534        }
3535        pub fn reborrow(&mut self) -> Builder<'_> {
3536            Builder {
3537                builder: self.builder.reborrow(),
3538            }
3539        }
3540        pub fn reborrow_as_reader(&self) -> Reader<'_> {
3541            self.builder.as_reader().into()
3542        }
3543
3544        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3545            self.builder.as_reader().total_size()
3546        }
3547        #[inline]
3548        pub fn get_promise_id(self) -> u32 {
3549            self.builder.get_data_field::<u32>(0)
3550        }
3551        #[inline]
3552        pub fn set_promise_id(&mut self, value: u32) {
3553            self.builder.set_data_field::<u32>(0, value);
3554        }
3555        #[inline]
3556        pub fn set_cap(
3557            &mut self,
3558            value: crate::rpc_capnp::cap_descriptor::Reader<'_>,
3559        ) -> ::capnp::Result<()> {
3560            self.builder.set_data_field::<u16>(2, 0);
3561            ::capnp::traits::SetterInput::set_pointer_builder(
3562                self.builder.reborrow().get_pointer_field(0),
3563                value,
3564                false,
3565            )
3566        }
3567        #[inline]
3568        pub fn init_cap(self) -> crate::rpc_capnp::cap_descriptor::Builder<'a> {
3569            self.builder.set_data_field::<u16>(2, 0);
3570            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
3571        }
3572        #[inline]
3573        pub fn has_cap(&self) -> bool {
3574            if self.builder.get_data_field::<u16>(2) != 0 {
3575                return false;
3576            }
3577            !self.builder.is_pointer_field_null(0)
3578        }
3579        #[inline]
3580        pub fn set_exception(
3581            &mut self,
3582            value: crate::rpc_capnp::exception::Reader<'_>,
3583        ) -> ::capnp::Result<()> {
3584            self.builder.set_data_field::<u16>(2, 1);
3585            ::capnp::traits::SetterInput::set_pointer_builder(
3586                self.builder.reborrow().get_pointer_field(0),
3587                value,
3588                false,
3589            )
3590        }
3591        #[inline]
3592        pub fn init_exception(self) -> crate::rpc_capnp::exception::Builder<'a> {
3593            self.builder.set_data_field::<u16>(2, 1);
3594            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
3595        }
3596        #[inline]
3597        pub fn has_exception(&self) -> bool {
3598            if self.builder.get_data_field::<u16>(2) != 1 {
3599                return false;
3600            }
3601            !self.builder.is_pointer_field_null(0)
3602        }
3603        #[inline]
3604        pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, ::capnp::NotInSchema> {
3605            match self.builder.get_data_field::<u16>(2) {
3606                0 => ::core::result::Result::Ok(Cap(
3607                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
3608                        self.builder.get_pointer_field(0),
3609                        ::core::option::Option::None,
3610                    ),
3611                )),
3612                1 => ::core::result::Result::Ok(Exception(
3613                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
3614                        self.builder.get_pointer_field(0),
3615                        ::core::option::Option::None,
3616                    ),
3617                )),
3618                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
3619            }
3620        }
3621    }
3622
3623    pub struct Pipeline {
3624        _typeless: ::capnp::any_pointer::Pipeline,
3625    }
3626    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
3627        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
3628            Self {
3629                _typeless: typeless,
3630            }
3631        }
3632    }
3633    impl Pipeline {}
3634    mod _private {
3635        pub(crate) static ENCODED_NODE: [::capnp::Word; 64] = [
3636            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
3637            ::capnp::word(110, 8, 137, 250, 85, 150, 194, 187),
3638            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
3639            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
3640            ::capnp::word(1, 0, 7, 0, 0, 0, 2, 0),
3641            ::capnp::word(2, 0, 0, 0, 0, 0, 0, 0),
3642            ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
3643            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
3644            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3645            ::capnp::word(25, 0, 0, 0, 175, 0, 0, 0),
3646            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3647            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3648            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
3649            ::capnp::word(112, 58, 82, 101, 115, 111, 108, 118),
3650            ::capnp::word(101, 0, 0, 0, 0, 0, 0, 0),
3651            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
3652            ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
3653            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3654            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
3655            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3656            ::capnp::word(69, 0, 0, 0, 82, 0, 0, 0),
3657            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3658            ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
3659            ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
3660            ::capnp::word(1, 0, 255, 255, 0, 0, 0, 0),
3661            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
3662            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3663            ::capnp::word(77, 0, 0, 0, 34, 0, 0, 0),
3664            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3665            ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
3666            ::capnp::word(84, 0, 0, 0, 2, 0, 1, 0),
3667            ::capnp::word(2, 0, 254, 255, 0, 0, 0, 0),
3668            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
3669            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3670            ::capnp::word(81, 0, 0, 0, 82, 0, 0, 0),
3671            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3672            ::capnp::word(80, 0, 0, 0, 3, 0, 1, 0),
3673            ::capnp::word(92, 0, 0, 0, 2, 0, 1, 0),
3674            ::capnp::word(112, 114, 111, 109, 105, 115, 101, 73),
3675            ::capnp::word(100, 0, 0, 0, 0, 0, 0, 0),
3676            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3677            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3678            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3679            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3680            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3681            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3682            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3683            ::capnp::word(99, 97, 112, 0, 0, 0, 0, 0),
3684            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
3685            ::capnp::word(176, 184, 134, 11, 196, 221, 35, 133),
3686            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3687            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3688            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
3689            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3690            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3691            ::capnp::word(101, 120, 99, 101, 112, 116, 105, 111),
3692            ::capnp::word(110, 0, 0, 0, 0, 0, 0, 0),
3693            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
3694            ::capnp::word(26, 105, 207, 58, 6, 183, 37, 214),
3695            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3696            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3697            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
3698            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3699            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3700        ];
3701        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
3702            match index {
3703                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
3704                1 => <crate::rpc_capnp::cap_descriptor::Owned as ::capnp::introspect::Introspect>::introspect(),
3705                2 => <crate::rpc_capnp::exception::Owned as ::capnp::introspect::Introspect>::introspect(),
3706                _ => ::capnp::introspect::panic_invalid_field_index(index),
3707            }
3708        }
3709        pub(crate) fn get_annotation_types(
3710            child_index: Option<u16>,
3711            index: u32,
3712        ) -> ::capnp::introspect::Type {
3713            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
3714        }
3715        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
3716            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
3717        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
3718            ::capnp::introspect::RawStructSchema::new(
3719                &ARENA,
3720                NONUNION_MEMBERS,
3721                MEMBERS_BY_DISCRIMINANT,
3722                MEMBERS_BY_NAME,
3723            );
3724        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0];
3725        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[1, 2];
3726        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 2, 0];
3727        pub(crate) const TYPE_ID: u64 = 0xbbc2_9655_fa89_086e;
3728    }
3729    pub enum Which<A0, A1> {
3730        Cap(A0),
3731        Exception(A1),
3732    }
3733    pub type WhichReader<'a> = Which<
3734        ::capnp::Result<crate::rpc_capnp::cap_descriptor::Reader<'a>>,
3735        ::capnp::Result<crate::rpc_capnp::exception::Reader<'a>>,
3736    >;
3737    pub type WhichBuilder<'a> = Which<
3738        ::capnp::Result<crate::rpc_capnp::cap_descriptor::Builder<'a>>,
3739        ::capnp::Result<crate::rpc_capnp::exception::Builder<'a>>,
3740    >;
3741}
3742
3743pub mod release {
3744    #[derive(Copy, Clone)]
3745    pub struct Owned(());
3746    impl ::capnp::introspect::Introspect for Owned {
3747        fn introspect() -> ::capnp::introspect::Type {
3748            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
3749                generic: &_private::RAW_SCHEMA,
3750                field_types: _private::get_field_types,
3751                annotation_types: _private::get_annotation_types,
3752            })
3753            .into()
3754        }
3755    }
3756    impl ::capnp::traits::Owned for Owned {
3757        type Reader<'a> = Reader<'a>;
3758        type Builder<'a> = Builder<'a>;
3759    }
3760    impl ::capnp::traits::OwnedStruct for Owned {
3761        type Reader<'a> = Reader<'a>;
3762        type Builder<'a> = Builder<'a>;
3763    }
3764    impl ::capnp::traits::Pipelined for Owned {
3765        type Pipeline = Pipeline;
3766    }
3767
3768    pub struct Reader<'a> {
3769        reader: ::capnp::private::layout::StructReader<'a>,
3770    }
3771    impl ::core::marker::Copy for Reader<'_> {}
3772    impl ::core::clone::Clone for Reader<'_> {
3773        fn clone(&self) -> Self {
3774            *self
3775        }
3776    }
3777
3778    impl ::capnp::traits::HasTypeId for Reader<'_> {
3779        const TYPE_ID: u64 = _private::TYPE_ID;
3780    }
3781    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
3782        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
3783            Self { reader }
3784        }
3785    }
3786
3787    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
3788        fn from(reader: Reader<'a>) -> Self {
3789            Self::Struct(::capnp::dynamic_struct::Reader::new(
3790                reader.reader,
3791                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
3792                    generic: &_private::RAW_SCHEMA,
3793                    field_types: _private::get_field_types,
3794                    annotation_types: _private::get_annotation_types,
3795                }),
3796            ))
3797        }
3798    }
3799
3800    impl ::core::fmt::Debug for Reader<'_> {
3801        fn fmt(
3802            &self,
3803            f: &mut ::core::fmt::Formatter<'_>,
3804        ) -> ::core::result::Result<(), ::core::fmt::Error> {
3805            core::fmt::Debug::fmt(
3806                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
3807                f,
3808            )
3809        }
3810    }
3811
3812    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
3813        fn get_from_pointer(
3814            reader: &::capnp::private::layout::PointerReader<'a>,
3815            default: ::core::option::Option<&'a [::capnp::Word]>,
3816        ) -> ::capnp::Result<Self> {
3817            ::core::result::Result::Ok(reader.get_struct(default)?.into())
3818        }
3819    }
3820
3821    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
3822        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
3823            self.reader
3824        }
3825    }
3826
3827    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
3828        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
3829            self.reader
3830                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
3831        }
3832    }
3833
3834    impl Reader<'_> {
3835        pub fn reborrow(&self) -> Reader<'_> {
3836            Self { ..*self }
3837        }
3838
3839        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3840            self.reader.total_size()
3841        }
3842        #[inline]
3843        pub fn get_id(self) -> u32 {
3844            self.reader.get_data_field::<u32>(0)
3845        }
3846        #[inline]
3847        pub fn get_reference_count(self) -> u32 {
3848            self.reader.get_data_field::<u32>(1)
3849        }
3850    }
3851
3852    pub struct Builder<'a> {
3853        builder: ::capnp::private::layout::StructBuilder<'a>,
3854    }
3855    impl ::capnp::traits::HasStructSize for Builder<'_> {
3856        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
3857            ::capnp::private::layout::StructSize {
3858                data: 1,
3859                pointers: 0,
3860            };
3861    }
3862    impl ::capnp::traits::HasTypeId for Builder<'_> {
3863        const TYPE_ID: u64 = _private::TYPE_ID;
3864    }
3865    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
3866        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
3867            Self { builder }
3868        }
3869    }
3870
3871    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
3872        fn from(builder: Builder<'a>) -> Self {
3873            Self::Struct(::capnp::dynamic_struct::Builder::new(
3874                builder.builder,
3875                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
3876                    generic: &_private::RAW_SCHEMA,
3877                    field_types: _private::get_field_types,
3878                    annotation_types: _private::get_annotation_types,
3879                }),
3880            ))
3881        }
3882    }
3883
3884    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
3885        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
3886            self.builder
3887                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
3888        }
3889    }
3890
3891    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
3892        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
3893            builder
3894                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
3895                .into()
3896        }
3897        fn get_from_pointer(
3898            builder: ::capnp::private::layout::PointerBuilder<'a>,
3899            default: ::core::option::Option<&'a [::capnp::Word]>,
3900        ) -> ::capnp::Result<Self> {
3901            ::core::result::Result::Ok(
3902                builder
3903                    .get_struct(
3904                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
3905                        default,
3906                    )?
3907                    .into(),
3908            )
3909        }
3910    }
3911
3912    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
3913        fn set_pointer_builder(
3914            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
3915            value: Self,
3916            canonicalize: bool,
3917        ) -> ::capnp::Result<()> {
3918            pointer.set_struct(&value.reader, canonicalize)
3919        }
3920    }
3921
3922    impl<'a> Builder<'a> {
3923        pub fn into_reader(self) -> Reader<'a> {
3924            self.builder.into_reader().into()
3925        }
3926        pub fn reborrow(&mut self) -> Builder<'_> {
3927            Builder {
3928                builder: self.builder.reborrow(),
3929            }
3930        }
3931        pub fn reborrow_as_reader(&self) -> Reader<'_> {
3932            self.builder.as_reader().into()
3933        }
3934
3935        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3936            self.builder.as_reader().total_size()
3937        }
3938        #[inline]
3939        pub fn get_id(self) -> u32 {
3940            self.builder.get_data_field::<u32>(0)
3941        }
3942        #[inline]
3943        pub fn set_id(&mut self, value: u32) {
3944            self.builder.set_data_field::<u32>(0, value);
3945        }
3946        #[inline]
3947        pub fn get_reference_count(self) -> u32 {
3948            self.builder.get_data_field::<u32>(1)
3949        }
3950        #[inline]
3951        pub fn set_reference_count(&mut self, value: u32) {
3952            self.builder.set_data_field::<u32>(1, value);
3953        }
3954    }
3955
3956    pub struct Pipeline {
3957        _typeless: ::capnp::any_pointer::Pipeline,
3958    }
3959    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
3960        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
3961            Self {
3962                _typeless: typeless,
3963            }
3964        }
3965    }
3966    impl Pipeline {}
3967    mod _private {
3968        pub(crate) static ENCODED_NODE: [::capnp::Word; 48] = [
3969            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
3970            ::capnp::word(151, 116, 208, 125, 13, 108, 26, 173),
3971            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
3972            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
3973            ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
3974            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3975            ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
3976            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
3977            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3978            ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
3979            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3980            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3981            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
3982            ::capnp::word(112, 58, 82, 101, 108, 101, 97, 115),
3983            ::capnp::word(101, 0, 0, 0, 0, 0, 0, 0),
3984            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
3985            ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
3986            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3987            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
3988            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3989            ::capnp::word(41, 0, 0, 0, 26, 0, 0, 0),
3990            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3991            ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
3992            ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
3993            ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
3994            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
3995            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3996            ::capnp::word(45, 0, 0, 0, 122, 0, 0, 0),
3997            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3998            ::capnp::word(44, 0, 0, 0, 3, 0, 1, 0),
3999            ::capnp::word(56, 0, 0, 0, 2, 0, 1, 0),
4000            ::capnp::word(105, 100, 0, 0, 0, 0, 0, 0),
4001            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4002            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4003            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4004            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4005            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4006            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4007            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4008            ::capnp::word(114, 101, 102, 101, 114, 101, 110, 99),
4009            ::capnp::word(101, 67, 111, 117, 110, 116, 0, 0),
4010            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4011            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4012            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4013            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4014            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4015            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4016            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4017        ];
4018        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
4019            match index {
4020                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
4021                1 => <u32 as ::capnp::introspect::Introspect>::introspect(),
4022                _ => ::capnp::introspect::panic_invalid_field_index(index),
4023            }
4024        }
4025        pub(crate) fn get_annotation_types(
4026            child_index: Option<u16>,
4027            index: u32,
4028        ) -> ::capnp::introspect::Type {
4029            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
4030        }
4031        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
4032            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
4033        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
4034            ::capnp::introspect::RawStructSchema::new(
4035                &ARENA,
4036                NONUNION_MEMBERS,
4037                MEMBERS_BY_DISCRIMINANT,
4038                MEMBERS_BY_NAME,
4039            );
4040        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
4041        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
4042        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 1];
4043        pub(crate) const TYPE_ID: u64 = 0xad1a_6c0d_7dd0_7497;
4044    }
4045}
4046
4047pub mod disembargo {
4048    #[derive(Copy, Clone)]
4049    pub struct Owned(());
4050    impl ::capnp::introspect::Introspect for Owned {
4051        fn introspect() -> ::capnp::introspect::Type {
4052            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
4053                generic: &_private::RAW_SCHEMA,
4054                field_types: _private::get_field_types,
4055                annotation_types: _private::get_annotation_types,
4056            })
4057            .into()
4058        }
4059    }
4060    impl ::capnp::traits::Owned for Owned {
4061        type Reader<'a> = Reader<'a>;
4062        type Builder<'a> = Builder<'a>;
4063    }
4064    impl ::capnp::traits::OwnedStruct for Owned {
4065        type Reader<'a> = Reader<'a>;
4066        type Builder<'a> = Builder<'a>;
4067    }
4068    impl ::capnp::traits::Pipelined for Owned {
4069        type Pipeline = Pipeline;
4070    }
4071
4072    pub struct Reader<'a> {
4073        reader: ::capnp::private::layout::StructReader<'a>,
4074    }
4075    impl ::core::marker::Copy for Reader<'_> {}
4076    impl ::core::clone::Clone for Reader<'_> {
4077        fn clone(&self) -> Self {
4078            *self
4079        }
4080    }
4081
4082    impl ::capnp::traits::HasTypeId for Reader<'_> {
4083        const TYPE_ID: u64 = _private::TYPE_ID;
4084    }
4085    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
4086        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
4087            Self { reader }
4088        }
4089    }
4090
4091    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
4092        fn from(reader: Reader<'a>) -> Self {
4093            Self::Struct(::capnp::dynamic_struct::Reader::new(
4094                reader.reader,
4095                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
4096                    generic: &_private::RAW_SCHEMA,
4097                    field_types: _private::get_field_types,
4098                    annotation_types: _private::get_annotation_types,
4099                }),
4100            ))
4101        }
4102    }
4103
4104    impl ::core::fmt::Debug for Reader<'_> {
4105        fn fmt(
4106            &self,
4107            f: &mut ::core::fmt::Formatter<'_>,
4108        ) -> ::core::result::Result<(), ::core::fmt::Error> {
4109            core::fmt::Debug::fmt(
4110                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
4111                f,
4112            )
4113        }
4114    }
4115
4116    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
4117        fn get_from_pointer(
4118            reader: &::capnp::private::layout::PointerReader<'a>,
4119            default: ::core::option::Option<&'a [::capnp::Word]>,
4120        ) -> ::capnp::Result<Self> {
4121            ::core::result::Result::Ok(reader.get_struct(default)?.into())
4122        }
4123    }
4124
4125    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
4126        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
4127            self.reader
4128        }
4129    }
4130
4131    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
4132        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
4133            self.reader
4134                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
4135        }
4136    }
4137
4138    impl<'a> Reader<'a> {
4139        pub fn reborrow(&self) -> Reader<'_> {
4140            Self { ..*self }
4141        }
4142
4143        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4144            self.reader.total_size()
4145        }
4146        #[inline]
4147        pub fn get_target(self) -> ::capnp::Result<crate::rpc_capnp::message_target::Reader<'a>> {
4148            ::capnp::traits::FromPointerReader::get_from_pointer(
4149                &self.reader.get_pointer_field(0),
4150                ::core::option::Option::None,
4151            )
4152        }
4153        #[inline]
4154        pub fn has_target(&self) -> bool {
4155            !self.reader.get_pointer_field(0).is_null()
4156        }
4157        #[inline]
4158        pub fn get_context(self) -> crate::rpc_capnp::disembargo::context::Reader<'a> {
4159            self.reader.into()
4160        }
4161    }
4162
4163    pub struct Builder<'a> {
4164        builder: ::capnp::private::layout::StructBuilder<'a>,
4165    }
4166    impl ::capnp::traits::HasStructSize for Builder<'_> {
4167        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
4168            ::capnp::private::layout::StructSize {
4169                data: 1,
4170                pointers: 1,
4171            };
4172    }
4173    impl ::capnp::traits::HasTypeId for Builder<'_> {
4174        const TYPE_ID: u64 = _private::TYPE_ID;
4175    }
4176    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
4177        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
4178            Self { builder }
4179        }
4180    }
4181
4182    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
4183        fn from(builder: Builder<'a>) -> Self {
4184            Self::Struct(::capnp::dynamic_struct::Builder::new(
4185                builder.builder,
4186                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
4187                    generic: &_private::RAW_SCHEMA,
4188                    field_types: _private::get_field_types,
4189                    annotation_types: _private::get_annotation_types,
4190                }),
4191            ))
4192        }
4193    }
4194
4195    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
4196        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
4197            self.builder
4198                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
4199        }
4200    }
4201
4202    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
4203        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
4204            builder
4205                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
4206                .into()
4207        }
4208        fn get_from_pointer(
4209            builder: ::capnp::private::layout::PointerBuilder<'a>,
4210            default: ::core::option::Option<&'a [::capnp::Word]>,
4211        ) -> ::capnp::Result<Self> {
4212            ::core::result::Result::Ok(
4213                builder
4214                    .get_struct(
4215                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
4216                        default,
4217                    )?
4218                    .into(),
4219            )
4220        }
4221    }
4222
4223    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
4224        fn set_pointer_builder(
4225            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
4226            value: Self,
4227            canonicalize: bool,
4228        ) -> ::capnp::Result<()> {
4229            pointer.set_struct(&value.reader, canonicalize)
4230        }
4231    }
4232
4233    impl<'a> Builder<'a> {
4234        pub fn into_reader(self) -> Reader<'a> {
4235            self.builder.into_reader().into()
4236        }
4237        pub fn reborrow(&mut self) -> Builder<'_> {
4238            Builder {
4239                builder: self.builder.reborrow(),
4240            }
4241        }
4242        pub fn reborrow_as_reader(&self) -> Reader<'_> {
4243            self.builder.as_reader().into()
4244        }
4245
4246        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4247            self.builder.as_reader().total_size()
4248        }
4249        #[inline]
4250        pub fn get_target(self) -> ::capnp::Result<crate::rpc_capnp::message_target::Builder<'a>> {
4251            ::capnp::traits::FromPointerBuilder::get_from_pointer(
4252                self.builder.get_pointer_field(0),
4253                ::core::option::Option::None,
4254            )
4255        }
4256        #[inline]
4257        pub fn set_target(
4258            &mut self,
4259            value: crate::rpc_capnp::message_target::Reader<'_>,
4260        ) -> ::capnp::Result<()> {
4261            ::capnp::traits::SetterInput::set_pointer_builder(
4262                self.builder.reborrow().get_pointer_field(0),
4263                value,
4264                false,
4265            )
4266        }
4267        #[inline]
4268        pub fn init_target(self) -> crate::rpc_capnp::message_target::Builder<'a> {
4269            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4270        }
4271        #[inline]
4272        pub fn has_target(&self) -> bool {
4273            !self.builder.is_pointer_field_null(0)
4274        }
4275        #[inline]
4276        pub fn get_context(self) -> crate::rpc_capnp::disembargo::context::Builder<'a> {
4277            self.builder.into()
4278        }
4279        #[inline]
4280        pub fn init_context(self) -> crate::rpc_capnp::disembargo::context::Builder<'a> {
4281            self.builder.set_data_field::<u16>(2, 0);
4282            self.builder.set_data_field::<u32>(0, 0u32);
4283            self.builder.into()
4284        }
4285    }
4286
4287    pub struct Pipeline {
4288        _typeless: ::capnp::any_pointer::Pipeline,
4289    }
4290    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
4291        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
4292            Self {
4293                _typeless: typeless,
4294            }
4295        }
4296    }
4297    impl Pipeline {
4298        pub fn get_target(&self) -> crate::rpc_capnp::message_target::Pipeline {
4299            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
4300        }
4301        pub fn get_context(&self) -> crate::rpc_capnp::disembargo::context::Pipeline {
4302            ::capnp::capability::FromTypelessPipeline::new(self._typeless.noop())
4303        }
4304    }
4305    mod _private {
4306        pub(crate) static ENCODED_NODE: [::capnp::Word; 40] = [
4307            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
4308            ::capnp::word(17, 55, 189, 15, 139, 54, 100, 249),
4309            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
4310            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
4311            ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
4312            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4313            ::capnp::word(21, 0, 0, 0, 170, 0, 0, 0),
4314            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
4315            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4316            ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
4317            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4318            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4319            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
4320            ::capnp::word(112, 58, 68, 105, 115, 101, 109, 98),
4321            ::capnp::word(97, 114, 103, 111, 0, 0, 0, 0),
4322            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
4323            ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
4324            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4325            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
4326            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4327            ::capnp::word(41, 0, 0, 0, 58, 0, 0, 0),
4328            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4329            ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
4330            ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
4331            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
4332            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
4333            ::capnp::word(77, 221, 91, 101, 223, 180, 98, 213),
4334            ::capnp::word(45, 0, 0, 0, 66, 0, 0, 0),
4335            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4336            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4337            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4338            ::capnp::word(116, 97, 114, 103, 101, 116, 0, 0),
4339            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4340            ::capnp::word(193, 251, 19, 88, 84, 20, 188, 149),
4341            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4342            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4343            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4344            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4345            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4346            ::capnp::word(99, 111, 110, 116, 101, 120, 116, 0),
4347        ];
4348        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
4349            match index {
4350                0 => <crate::rpc_capnp::message_target::Owned as ::capnp::introspect::Introspect>::introspect(),
4351                1 => <crate::rpc_capnp::disembargo::context::Owned as ::capnp::introspect::Introspect>::introspect(),
4352                _ => ::capnp::introspect::panic_invalid_field_index(index),
4353            }
4354        }
4355        pub(crate) fn get_annotation_types(
4356            child_index: Option<u16>,
4357            index: u32,
4358        ) -> ::capnp::introspect::Type {
4359            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
4360        }
4361        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
4362            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
4363        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
4364            ::capnp::introspect::RawStructSchema::new(
4365                &ARENA,
4366                NONUNION_MEMBERS,
4367                MEMBERS_BY_DISCRIMINANT,
4368                MEMBERS_BY_NAME,
4369            );
4370        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
4371        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
4372        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
4373        pub(crate) const TYPE_ID: u64 = 0xf964_368b_0fbd_3711;
4374    }
4375
4376    pub mod context {
4377        pub use self::Which::{Accept, Provide, ReceiverLoopback, SenderLoopback};
4378
4379        #[derive(Copy, Clone)]
4380        pub struct Owned(());
4381        impl ::capnp::introspect::Introspect for Owned {
4382            fn introspect() -> ::capnp::introspect::Type {
4383                ::capnp::introspect::TypeVariant::Struct(
4384                    ::capnp::introspect::RawBrandedStructSchema {
4385                        generic: &_private::RAW_SCHEMA,
4386                        field_types: _private::get_field_types,
4387                        annotation_types: _private::get_annotation_types,
4388                    },
4389                )
4390                .into()
4391            }
4392        }
4393        impl ::capnp::traits::Owned for Owned {
4394            type Reader<'a> = Reader<'a>;
4395            type Builder<'a> = Builder<'a>;
4396        }
4397        impl ::capnp::traits::OwnedStruct for Owned {
4398            type Reader<'a> = Reader<'a>;
4399            type Builder<'a> = Builder<'a>;
4400        }
4401        impl ::capnp::traits::Pipelined for Owned {
4402            type Pipeline = Pipeline;
4403        }
4404
4405        pub struct Reader<'a> {
4406            reader: ::capnp::private::layout::StructReader<'a>,
4407        }
4408        impl ::core::marker::Copy for Reader<'_> {}
4409        impl ::core::clone::Clone for Reader<'_> {
4410            fn clone(&self) -> Self {
4411                *self
4412            }
4413        }
4414
4415        impl ::capnp::traits::HasTypeId for Reader<'_> {
4416            const TYPE_ID: u64 = _private::TYPE_ID;
4417        }
4418        impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
4419            fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
4420                Self { reader }
4421            }
4422        }
4423
4424        impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
4425            fn from(reader: Reader<'a>) -> Self {
4426                Self::Struct(::capnp::dynamic_struct::Reader::new(
4427                    reader.reader,
4428                    ::capnp::schema::StructSchema::new(
4429                        ::capnp::introspect::RawBrandedStructSchema {
4430                            generic: &_private::RAW_SCHEMA,
4431                            field_types: _private::get_field_types,
4432                            annotation_types: _private::get_annotation_types,
4433                        },
4434                    ),
4435                ))
4436            }
4437        }
4438
4439        impl ::core::fmt::Debug for Reader<'_> {
4440            fn fmt(
4441                &self,
4442                f: &mut ::core::fmt::Formatter<'_>,
4443            ) -> ::core::result::Result<(), ::core::fmt::Error> {
4444                core::fmt::Debug::fmt(
4445                    &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
4446                    f,
4447                )
4448            }
4449        }
4450
4451        impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
4452            fn get_from_pointer(
4453                reader: &::capnp::private::layout::PointerReader<'a>,
4454                default: ::core::option::Option<&'a [::capnp::Word]>,
4455            ) -> ::capnp::Result<Self> {
4456                ::core::result::Result::Ok(reader.get_struct(default)?.into())
4457            }
4458        }
4459
4460        impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
4461            fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
4462                self.reader
4463            }
4464        }
4465
4466        impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
4467            fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
4468                self.reader
4469                    .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
4470            }
4471        }
4472
4473        impl Reader<'_> {
4474            pub fn reborrow(&self) -> Reader<'_> {
4475                Self { ..*self }
4476            }
4477
4478            pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4479                self.reader.total_size()
4480            }
4481            #[inline]
4482            pub fn which(self) -> ::core::result::Result<WhichReader, ::capnp::NotInSchema> {
4483                match self.reader.get_data_field::<u16>(2) {
4484                    0 => ::core::result::Result::Ok(SenderLoopback(
4485                        self.reader.get_data_field::<u32>(0),
4486                    )),
4487                    1 => ::core::result::Result::Ok(ReceiverLoopback(
4488                        self.reader.get_data_field::<u32>(0),
4489                    )),
4490                    2 => ::core::result::Result::Ok(Accept(())),
4491                    3 => ::core::result::Result::Ok(Provide(self.reader.get_data_field::<u32>(0))),
4492                    x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
4493                }
4494            }
4495        }
4496
4497        pub struct Builder<'a> {
4498            builder: ::capnp::private::layout::StructBuilder<'a>,
4499        }
4500        impl ::capnp::traits::HasStructSize for Builder<'_> {
4501            const STRUCT_SIZE: ::capnp::private::layout::StructSize =
4502                ::capnp::private::layout::StructSize {
4503                    data: 1,
4504                    pointers: 1,
4505                };
4506        }
4507        impl ::capnp::traits::HasTypeId for Builder<'_> {
4508            const TYPE_ID: u64 = _private::TYPE_ID;
4509        }
4510        impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
4511            fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
4512                Self { builder }
4513            }
4514        }
4515
4516        impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
4517            fn from(builder: Builder<'a>) -> Self {
4518                Self::Struct(::capnp::dynamic_struct::Builder::new(
4519                    builder.builder,
4520                    ::capnp::schema::StructSchema::new(
4521                        ::capnp::introspect::RawBrandedStructSchema {
4522                            generic: &_private::RAW_SCHEMA,
4523                            field_types: _private::get_field_types,
4524                            annotation_types: _private::get_annotation_types,
4525                        },
4526                    ),
4527                ))
4528            }
4529        }
4530
4531        impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
4532            fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
4533                self.builder
4534                    .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
4535            }
4536        }
4537
4538        impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
4539            fn init_pointer(
4540                builder: ::capnp::private::layout::PointerBuilder<'a>,
4541                _size: u32,
4542            ) -> Self {
4543                builder
4544                    .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
4545                    .into()
4546            }
4547            fn get_from_pointer(
4548                builder: ::capnp::private::layout::PointerBuilder<'a>,
4549                default: ::core::option::Option<&'a [::capnp::Word]>,
4550            ) -> ::capnp::Result<Self> {
4551                ::core::result::Result::Ok(
4552                    builder
4553                        .get_struct(
4554                            <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
4555                            default,
4556                        )?
4557                        .into(),
4558                )
4559            }
4560        }
4561
4562        impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
4563            fn set_pointer_builder(
4564                mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
4565                value: Self,
4566                canonicalize: bool,
4567            ) -> ::capnp::Result<()> {
4568                pointer.set_struct(&value.reader, canonicalize)
4569            }
4570        }
4571
4572        impl<'a> Builder<'a> {
4573            pub fn into_reader(self) -> Reader<'a> {
4574                self.builder.into_reader().into()
4575            }
4576            pub fn reborrow(&mut self) -> Builder<'_> {
4577                Builder {
4578                    builder: self.builder.reborrow(),
4579                }
4580            }
4581            pub fn reborrow_as_reader(&self) -> Reader<'_> {
4582                self.builder.as_reader().into()
4583            }
4584
4585            pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4586                self.builder.as_reader().total_size()
4587            }
4588            #[inline]
4589            pub fn set_sender_loopback(&mut self, value: u32) {
4590                self.builder.set_data_field::<u16>(2, 0);
4591                self.builder.set_data_field::<u32>(0, value);
4592            }
4593            #[inline]
4594            pub fn set_receiver_loopback(&mut self, value: u32) {
4595                self.builder.set_data_field::<u16>(2, 1);
4596                self.builder.set_data_field::<u32>(0, value);
4597            }
4598            #[inline]
4599            pub fn set_accept(&mut self, _value: ()) {
4600                self.builder.set_data_field::<u16>(2, 2);
4601            }
4602            #[inline]
4603            pub fn set_provide(&mut self, value: u32) {
4604                self.builder.set_data_field::<u16>(2, 3);
4605                self.builder.set_data_field::<u32>(0, value);
4606            }
4607            #[inline]
4608            pub fn which(self) -> ::core::result::Result<WhichBuilder, ::capnp::NotInSchema> {
4609                match self.builder.get_data_field::<u16>(2) {
4610                    0 => ::core::result::Result::Ok(SenderLoopback(
4611                        self.builder.get_data_field::<u32>(0),
4612                    )),
4613                    1 => ::core::result::Result::Ok(ReceiverLoopback(
4614                        self.builder.get_data_field::<u32>(0),
4615                    )),
4616                    2 => ::core::result::Result::Ok(Accept(())),
4617                    3 => ::core::result::Result::Ok(Provide(self.builder.get_data_field::<u32>(0))),
4618                    x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
4619                }
4620            }
4621        }
4622
4623        pub struct Pipeline {
4624            _typeless: ::capnp::any_pointer::Pipeline,
4625        }
4626        impl ::capnp::capability::FromTypelessPipeline for Pipeline {
4627            fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
4628                Self {
4629                    _typeless: typeless,
4630                }
4631            }
4632        }
4633        impl Pipeline {}
4634        mod _private {
4635            pub(crate) static ENCODED_NODE: [::capnp::Word; 80] = [
4636                ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
4637                ::capnp::word(77, 221, 91, 101, 223, 180, 98, 213),
4638                ::capnp::word(21, 0, 0, 0, 1, 0, 1, 0),
4639                ::capnp::word(17, 55, 189, 15, 139, 54, 100, 249),
4640                ::capnp::word(1, 0, 7, 0, 1, 0, 4, 0),
4641                ::capnp::word(2, 0, 0, 0, 0, 0, 0, 0),
4642                ::capnp::word(21, 0, 0, 0, 234, 0, 0, 0),
4643                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4644                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4645                ::capnp::word(25, 0, 0, 0, 231, 0, 0, 0),
4646                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4647                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4648                ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
4649                ::capnp::word(112, 58, 68, 105, 115, 101, 109, 98),
4650                ::capnp::word(97, 114, 103, 111, 46, 99, 111, 110),
4651                ::capnp::word(116, 101, 120, 116, 0, 0, 0, 0),
4652                ::capnp::word(16, 0, 0, 0, 3, 0, 4, 0),
4653                ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
4654                ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
4655                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4656                ::capnp::word(97, 0, 0, 0, 122, 0, 0, 0),
4657                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4658                ::capnp::word(96, 0, 0, 0, 3, 0, 1, 0),
4659                ::capnp::word(108, 0, 0, 0, 2, 0, 1, 0),
4660                ::capnp::word(1, 0, 254, 255, 0, 0, 0, 0),
4661                ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
4662                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4663                ::capnp::word(105, 0, 0, 0, 138, 0, 0, 0),
4664                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4665                ::capnp::word(108, 0, 0, 0, 3, 0, 1, 0),
4666                ::capnp::word(120, 0, 0, 0, 2, 0, 1, 0),
4667                ::capnp::word(2, 0, 253, 255, 0, 0, 0, 0),
4668                ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
4669                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4670                ::capnp::word(117, 0, 0, 0, 58, 0, 0, 0),
4671                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4672                ::capnp::word(112, 0, 0, 0, 3, 0, 1, 0),
4673                ::capnp::word(124, 0, 0, 0, 2, 0, 1, 0),
4674                ::capnp::word(3, 0, 252, 255, 0, 0, 0, 0),
4675                ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
4676                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4677                ::capnp::word(121, 0, 0, 0, 66, 0, 0, 0),
4678                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4679                ::capnp::word(116, 0, 0, 0, 3, 0, 1, 0),
4680                ::capnp::word(128, 0, 0, 0, 2, 0, 1, 0),
4681                ::capnp::word(115, 101, 110, 100, 101, 114, 76, 111),
4682                ::capnp::word(111, 112, 98, 97, 99, 107, 0, 0),
4683                ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4684                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4685                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4686                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4687                ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4688                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4689                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4690                ::capnp::word(114, 101, 99, 101, 105, 118, 101, 114),
4691                ::capnp::word(76, 111, 111, 112, 98, 97, 99, 107),
4692                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4693                ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4694                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4695                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4696                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4697                ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4698                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4699                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4700                ::capnp::word(97, 99, 99, 101, 112, 116, 0, 0),
4701                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4702                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4703                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4704                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4705                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4706                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4707                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4708                ::capnp::word(112, 114, 111, 118, 105, 100, 101, 0),
4709                ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4710                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4711                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4712                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4713                ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
4714                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4715                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4716            ];
4717            pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
4718                match index {
4719                    0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
4720                    1 => <u32 as ::capnp::introspect::Introspect>::introspect(),
4721                    2 => <() as ::capnp::introspect::Introspect>::introspect(),
4722                    3 => <u32 as ::capnp::introspect::Introspect>::introspect(),
4723                    _ => ::capnp::introspect::panic_invalid_field_index(index),
4724                }
4725            }
4726            pub(crate) fn get_annotation_types(
4727                child_index: Option<u16>,
4728                index: u32,
4729            ) -> ::capnp::introspect::Type {
4730                ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
4731            }
4732            pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
4733                ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
4734            pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
4735                ::capnp::introspect::RawStructSchema::new(
4736                    &ARENA,
4737                    NONUNION_MEMBERS,
4738                    MEMBERS_BY_DISCRIMINANT,
4739                    MEMBERS_BY_NAME,
4740                );
4741            pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
4742            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[0, 1, 2, 3];
4743            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 3, 1, 0];
4744            pub(crate) const TYPE_ID: u64 = 0xd562_b4df_655b_dd4d;
4745        }
4746        pub enum Which {
4747            SenderLoopback(u32),
4748            ReceiverLoopback(u32),
4749            Accept(()),
4750            Provide(u32),
4751        }
4752        pub type WhichReader = Which;
4753        pub type WhichBuilder = Which;
4754    }
4755}
4756
4757pub mod provide {
4758    #[derive(Copy, Clone)]
4759    pub struct Owned(());
4760    impl ::capnp::introspect::Introspect for Owned {
4761        fn introspect() -> ::capnp::introspect::Type {
4762            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
4763                generic: &_private::RAW_SCHEMA,
4764                field_types: _private::get_field_types,
4765                annotation_types: _private::get_annotation_types,
4766            })
4767            .into()
4768        }
4769    }
4770    impl ::capnp::traits::Owned for Owned {
4771        type Reader<'a> = Reader<'a>;
4772        type Builder<'a> = Builder<'a>;
4773    }
4774    impl ::capnp::traits::OwnedStruct for Owned {
4775        type Reader<'a> = Reader<'a>;
4776        type Builder<'a> = Builder<'a>;
4777    }
4778    impl ::capnp::traits::Pipelined for Owned {
4779        type Pipeline = Pipeline;
4780    }
4781
4782    pub struct Reader<'a> {
4783        reader: ::capnp::private::layout::StructReader<'a>,
4784    }
4785    impl ::core::marker::Copy for Reader<'_> {}
4786    impl ::core::clone::Clone for Reader<'_> {
4787        fn clone(&self) -> Self {
4788            *self
4789        }
4790    }
4791
4792    impl ::capnp::traits::HasTypeId for Reader<'_> {
4793        const TYPE_ID: u64 = _private::TYPE_ID;
4794    }
4795    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
4796        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
4797            Self { reader }
4798        }
4799    }
4800
4801    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
4802        fn from(reader: Reader<'a>) -> Self {
4803            Self::Struct(::capnp::dynamic_struct::Reader::new(
4804                reader.reader,
4805                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
4806                    generic: &_private::RAW_SCHEMA,
4807                    field_types: _private::get_field_types,
4808                    annotation_types: _private::get_annotation_types,
4809                }),
4810            ))
4811        }
4812    }
4813
4814    impl ::core::fmt::Debug for Reader<'_> {
4815        fn fmt(
4816            &self,
4817            f: &mut ::core::fmt::Formatter<'_>,
4818        ) -> ::core::result::Result<(), ::core::fmt::Error> {
4819            core::fmt::Debug::fmt(
4820                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
4821                f,
4822            )
4823        }
4824    }
4825
4826    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
4827        fn get_from_pointer(
4828            reader: &::capnp::private::layout::PointerReader<'a>,
4829            default: ::core::option::Option<&'a [::capnp::Word]>,
4830        ) -> ::capnp::Result<Self> {
4831            ::core::result::Result::Ok(reader.get_struct(default)?.into())
4832        }
4833    }
4834
4835    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
4836        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
4837            self.reader
4838        }
4839    }
4840
4841    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
4842        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
4843            self.reader
4844                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
4845        }
4846    }
4847
4848    impl<'a> Reader<'a> {
4849        pub fn reborrow(&self) -> Reader<'_> {
4850            Self { ..*self }
4851        }
4852
4853        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4854            self.reader.total_size()
4855        }
4856        #[inline]
4857        pub fn get_question_id(self) -> u32 {
4858            self.reader.get_data_field::<u32>(0)
4859        }
4860        #[inline]
4861        pub fn get_target(self) -> ::capnp::Result<crate::rpc_capnp::message_target::Reader<'a>> {
4862            ::capnp::traits::FromPointerReader::get_from_pointer(
4863                &self.reader.get_pointer_field(0),
4864                ::core::option::Option::None,
4865            )
4866        }
4867        #[inline]
4868        pub fn has_target(&self) -> bool {
4869            !self.reader.get_pointer_field(0).is_null()
4870        }
4871        #[inline]
4872        pub fn get_recipient(self) -> ::capnp::any_pointer::Reader<'a> {
4873            ::capnp::any_pointer::Reader::new(self.reader.get_pointer_field(1))
4874        }
4875        #[inline]
4876        pub fn has_recipient(&self) -> bool {
4877            !self.reader.get_pointer_field(1).is_null()
4878        }
4879    }
4880
4881    pub struct Builder<'a> {
4882        builder: ::capnp::private::layout::StructBuilder<'a>,
4883    }
4884    impl ::capnp::traits::HasStructSize for Builder<'_> {
4885        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
4886            ::capnp::private::layout::StructSize {
4887                data: 1,
4888                pointers: 2,
4889            };
4890    }
4891    impl ::capnp::traits::HasTypeId for Builder<'_> {
4892        const TYPE_ID: u64 = _private::TYPE_ID;
4893    }
4894    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
4895        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
4896            Self { builder }
4897        }
4898    }
4899
4900    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
4901        fn from(builder: Builder<'a>) -> Self {
4902            Self::Struct(::capnp::dynamic_struct::Builder::new(
4903                builder.builder,
4904                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
4905                    generic: &_private::RAW_SCHEMA,
4906                    field_types: _private::get_field_types,
4907                    annotation_types: _private::get_annotation_types,
4908                }),
4909            ))
4910        }
4911    }
4912
4913    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
4914        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
4915            self.builder
4916                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
4917        }
4918    }
4919
4920    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
4921        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
4922            builder
4923                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
4924                .into()
4925        }
4926        fn get_from_pointer(
4927            builder: ::capnp::private::layout::PointerBuilder<'a>,
4928            default: ::core::option::Option<&'a [::capnp::Word]>,
4929        ) -> ::capnp::Result<Self> {
4930            ::core::result::Result::Ok(
4931                builder
4932                    .get_struct(
4933                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
4934                        default,
4935                    )?
4936                    .into(),
4937            )
4938        }
4939    }
4940
4941    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
4942        fn set_pointer_builder(
4943            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
4944            value: Self,
4945            canonicalize: bool,
4946        ) -> ::capnp::Result<()> {
4947            pointer.set_struct(&value.reader, canonicalize)
4948        }
4949    }
4950
4951    impl<'a> Builder<'a> {
4952        pub fn into_reader(self) -> Reader<'a> {
4953            self.builder.into_reader().into()
4954        }
4955        pub fn reborrow(&mut self) -> Builder<'_> {
4956            Builder {
4957                builder: self.builder.reborrow(),
4958            }
4959        }
4960        pub fn reborrow_as_reader(&self) -> Reader<'_> {
4961            self.builder.as_reader().into()
4962        }
4963
4964        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4965            self.builder.as_reader().total_size()
4966        }
4967        #[inline]
4968        pub fn get_question_id(self) -> u32 {
4969            self.builder.get_data_field::<u32>(0)
4970        }
4971        #[inline]
4972        pub fn set_question_id(&mut self, value: u32) {
4973            self.builder.set_data_field::<u32>(0, value);
4974        }
4975        #[inline]
4976        pub fn get_target(self) -> ::capnp::Result<crate::rpc_capnp::message_target::Builder<'a>> {
4977            ::capnp::traits::FromPointerBuilder::get_from_pointer(
4978                self.builder.get_pointer_field(0),
4979                ::core::option::Option::None,
4980            )
4981        }
4982        #[inline]
4983        pub fn set_target(
4984            &mut self,
4985            value: crate::rpc_capnp::message_target::Reader<'_>,
4986        ) -> ::capnp::Result<()> {
4987            ::capnp::traits::SetterInput::set_pointer_builder(
4988                self.builder.reborrow().get_pointer_field(0),
4989                value,
4990                false,
4991            )
4992        }
4993        #[inline]
4994        pub fn init_target(self) -> crate::rpc_capnp::message_target::Builder<'a> {
4995            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4996        }
4997        #[inline]
4998        pub fn has_target(&self) -> bool {
4999            !self.builder.is_pointer_field_null(0)
5000        }
5001        #[inline]
5002        pub fn get_recipient(self) -> ::capnp::any_pointer::Builder<'a> {
5003            ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(1))
5004        }
5005        #[inline]
5006        pub fn init_recipient(self) -> ::capnp::any_pointer::Builder<'a> {
5007            let mut result = ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(1));
5008            result.clear();
5009            result
5010        }
5011        #[inline]
5012        pub fn has_recipient(&self) -> bool {
5013            !self.builder.is_pointer_field_null(1)
5014        }
5015    }
5016
5017    pub struct Pipeline {
5018        _typeless: ::capnp::any_pointer::Pipeline,
5019    }
5020    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
5021        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
5022            Self {
5023                _typeless: typeless,
5024            }
5025        }
5026    }
5027    impl Pipeline {
5028        pub fn get_target(&self) -> crate::rpc_capnp::message_target::Pipeline {
5029            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
5030        }
5031        pub fn get_recipient(&self) -> ::capnp::any_pointer::Pipeline {
5032            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(1))
5033        }
5034    }
5035    mod _private {
5036        pub(crate) static ENCODED_NODE: [::capnp::Word; 64] = [
5037            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
5038            ::capnp::word(90, 172, 193, 251, 107, 4, 106, 156),
5039            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
5040            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
5041            ::capnp::word(2, 0, 7, 0, 0, 0, 0, 0),
5042            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5043            ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
5044            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
5045            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5046            ::capnp::word(25, 0, 0, 0, 175, 0, 0, 0),
5047            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5048            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5049            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
5050            ::capnp::word(112, 58, 80, 114, 111, 118, 105, 100),
5051            ::capnp::word(101, 0, 0, 0, 0, 0, 0, 0),
5052            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
5053            ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
5054            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5055            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
5056            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5057            ::capnp::word(69, 0, 0, 0, 90, 0, 0, 0),
5058            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5059            ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
5060            ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
5061            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
5062            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
5063            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5064            ::capnp::word(77, 0, 0, 0, 58, 0, 0, 0),
5065            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5066            ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
5067            ::capnp::word(84, 0, 0, 0, 2, 0, 1, 0),
5068            ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
5069            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
5070            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5071            ::capnp::word(81, 0, 0, 0, 82, 0, 0, 0),
5072            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5073            ::capnp::word(80, 0, 0, 0, 3, 0, 1, 0),
5074            ::capnp::word(92, 0, 0, 0, 2, 0, 1, 0),
5075            ::capnp::word(113, 117, 101, 115, 116, 105, 111, 110),
5076            ::capnp::word(73, 100, 0, 0, 0, 0, 0, 0),
5077            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
5078            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5079            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5080            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5081            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
5082            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5083            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5084            ::capnp::word(116, 97, 114, 103, 101, 116, 0, 0),
5085            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5086            ::capnp::word(193, 251, 19, 88, 84, 20, 188, 149),
5087            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5088            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5089            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5090            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5091            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5092            ::capnp::word(114, 101, 99, 105, 112, 105, 101, 110),
5093            ::capnp::word(116, 0, 0, 0, 0, 0, 0, 0),
5094            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
5095            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5096            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5097            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5098            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
5099            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5100            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5101        ];
5102        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
5103            match index {
5104                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
5105                1 => <crate::rpc_capnp::message_target::Owned as ::capnp::introspect::Introspect>::introspect(),
5106                2 => <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(),
5107                _ => ::capnp::introspect::panic_invalid_field_index(index),
5108            }
5109        }
5110        pub(crate) fn get_annotation_types(
5111            child_index: Option<u16>,
5112            index: u32,
5113        ) -> ::capnp::introspect::Type {
5114            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
5115        }
5116        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
5117            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
5118        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
5119            ::capnp::introspect::RawStructSchema::new(
5120                &ARENA,
5121                NONUNION_MEMBERS,
5122                MEMBERS_BY_DISCRIMINANT,
5123                MEMBERS_BY_NAME,
5124            );
5125        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2];
5126        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
5127        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 2, 1];
5128        pub(crate) const TYPE_ID: u64 = 0x9c6a_046b_fbc1_ac5a;
5129    }
5130}
5131
5132pub mod accept {
5133    #[derive(Copy, Clone)]
5134    pub struct Owned(());
5135    impl ::capnp::introspect::Introspect for Owned {
5136        fn introspect() -> ::capnp::introspect::Type {
5137            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
5138                generic: &_private::RAW_SCHEMA,
5139                field_types: _private::get_field_types,
5140                annotation_types: _private::get_annotation_types,
5141            })
5142            .into()
5143        }
5144    }
5145    impl ::capnp::traits::Owned for Owned {
5146        type Reader<'a> = Reader<'a>;
5147        type Builder<'a> = Builder<'a>;
5148    }
5149    impl ::capnp::traits::OwnedStruct for Owned {
5150        type Reader<'a> = Reader<'a>;
5151        type Builder<'a> = Builder<'a>;
5152    }
5153    impl ::capnp::traits::Pipelined for Owned {
5154        type Pipeline = Pipeline;
5155    }
5156
5157    pub struct Reader<'a> {
5158        reader: ::capnp::private::layout::StructReader<'a>,
5159    }
5160    impl ::core::marker::Copy for Reader<'_> {}
5161    impl ::core::clone::Clone for Reader<'_> {
5162        fn clone(&self) -> Self {
5163            *self
5164        }
5165    }
5166
5167    impl ::capnp::traits::HasTypeId for Reader<'_> {
5168        const TYPE_ID: u64 = _private::TYPE_ID;
5169    }
5170    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
5171        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
5172            Self { reader }
5173        }
5174    }
5175
5176    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
5177        fn from(reader: Reader<'a>) -> Self {
5178            Self::Struct(::capnp::dynamic_struct::Reader::new(
5179                reader.reader,
5180                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
5181                    generic: &_private::RAW_SCHEMA,
5182                    field_types: _private::get_field_types,
5183                    annotation_types: _private::get_annotation_types,
5184                }),
5185            ))
5186        }
5187    }
5188
5189    impl ::core::fmt::Debug for Reader<'_> {
5190        fn fmt(
5191            &self,
5192            f: &mut ::core::fmt::Formatter<'_>,
5193        ) -> ::core::result::Result<(), ::core::fmt::Error> {
5194            core::fmt::Debug::fmt(
5195                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
5196                f,
5197            )
5198        }
5199    }
5200
5201    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
5202        fn get_from_pointer(
5203            reader: &::capnp::private::layout::PointerReader<'a>,
5204            default: ::core::option::Option<&'a [::capnp::Word]>,
5205        ) -> ::capnp::Result<Self> {
5206            ::core::result::Result::Ok(reader.get_struct(default)?.into())
5207        }
5208    }
5209
5210    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
5211        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
5212            self.reader
5213        }
5214    }
5215
5216    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
5217        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
5218            self.reader
5219                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
5220        }
5221    }
5222
5223    impl<'a> Reader<'a> {
5224        pub fn reborrow(&self) -> Reader<'_> {
5225            Self { ..*self }
5226        }
5227
5228        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
5229            self.reader.total_size()
5230        }
5231        #[inline]
5232        pub fn get_question_id(self) -> u32 {
5233            self.reader.get_data_field::<u32>(0)
5234        }
5235        #[inline]
5236        pub fn get_provision(self) -> ::capnp::any_pointer::Reader<'a> {
5237            ::capnp::any_pointer::Reader::new(self.reader.get_pointer_field(0))
5238        }
5239        #[inline]
5240        pub fn has_provision(&self) -> bool {
5241            !self.reader.get_pointer_field(0).is_null()
5242        }
5243        #[inline]
5244        pub fn get_embargo(self) -> bool {
5245            self.reader.get_bool_field(32)
5246        }
5247    }
5248
5249    pub struct Builder<'a> {
5250        builder: ::capnp::private::layout::StructBuilder<'a>,
5251    }
5252    impl ::capnp::traits::HasStructSize for Builder<'_> {
5253        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
5254            ::capnp::private::layout::StructSize {
5255                data: 1,
5256                pointers: 1,
5257            };
5258    }
5259    impl ::capnp::traits::HasTypeId for Builder<'_> {
5260        const TYPE_ID: u64 = _private::TYPE_ID;
5261    }
5262    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
5263        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
5264            Self { builder }
5265        }
5266    }
5267
5268    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
5269        fn from(builder: Builder<'a>) -> Self {
5270            Self::Struct(::capnp::dynamic_struct::Builder::new(
5271                builder.builder,
5272                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
5273                    generic: &_private::RAW_SCHEMA,
5274                    field_types: _private::get_field_types,
5275                    annotation_types: _private::get_annotation_types,
5276                }),
5277            ))
5278        }
5279    }
5280
5281    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
5282        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
5283            self.builder
5284                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
5285        }
5286    }
5287
5288    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
5289        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
5290            builder
5291                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
5292                .into()
5293        }
5294        fn get_from_pointer(
5295            builder: ::capnp::private::layout::PointerBuilder<'a>,
5296            default: ::core::option::Option<&'a [::capnp::Word]>,
5297        ) -> ::capnp::Result<Self> {
5298            ::core::result::Result::Ok(
5299                builder
5300                    .get_struct(
5301                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
5302                        default,
5303                    )?
5304                    .into(),
5305            )
5306        }
5307    }
5308
5309    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
5310        fn set_pointer_builder(
5311            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
5312            value: Self,
5313            canonicalize: bool,
5314        ) -> ::capnp::Result<()> {
5315            pointer.set_struct(&value.reader, canonicalize)
5316        }
5317    }
5318
5319    impl<'a> Builder<'a> {
5320        pub fn into_reader(self) -> Reader<'a> {
5321            self.builder.into_reader().into()
5322        }
5323        pub fn reborrow(&mut self) -> Builder<'_> {
5324            Builder {
5325                builder: self.builder.reborrow(),
5326            }
5327        }
5328        pub fn reborrow_as_reader(&self) -> Reader<'_> {
5329            self.builder.as_reader().into()
5330        }
5331
5332        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
5333            self.builder.as_reader().total_size()
5334        }
5335        #[inline]
5336        pub fn get_question_id(self) -> u32 {
5337            self.builder.get_data_field::<u32>(0)
5338        }
5339        #[inline]
5340        pub fn set_question_id(&mut self, value: u32) {
5341            self.builder.set_data_field::<u32>(0, value);
5342        }
5343        #[inline]
5344        pub fn get_provision(self) -> ::capnp::any_pointer::Builder<'a> {
5345            ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0))
5346        }
5347        #[inline]
5348        pub fn init_provision(self) -> ::capnp::any_pointer::Builder<'a> {
5349            let mut result = ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0));
5350            result.clear();
5351            result
5352        }
5353        #[inline]
5354        pub fn has_provision(&self) -> bool {
5355            !self.builder.is_pointer_field_null(0)
5356        }
5357        #[inline]
5358        pub fn get_embargo(self) -> bool {
5359            self.builder.get_bool_field(32)
5360        }
5361        #[inline]
5362        pub fn set_embargo(&mut self, value: bool) {
5363            self.builder.set_bool_field(32, value);
5364        }
5365    }
5366
5367    pub struct Pipeline {
5368        _typeless: ::capnp::any_pointer::Pipeline,
5369    }
5370    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
5371        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
5372            Self {
5373                _typeless: typeless,
5374            }
5375        }
5376    }
5377    impl Pipeline {
5378        pub fn get_provision(&self) -> ::capnp::any_pointer::Pipeline {
5379            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
5380        }
5381    }
5382    mod _private {
5383        pub(crate) static ENCODED_NODE: [::capnp::Word; 64] = [
5384            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
5385            ::capnp::word(22, 64, 85, 144, 98, 181, 201, 212),
5386            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
5387            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
5388            ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
5389            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5390            ::capnp::word(21, 0, 0, 0, 138, 0, 0, 0),
5391            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
5392            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5393            ::capnp::word(25, 0, 0, 0, 175, 0, 0, 0),
5394            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5395            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5396            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
5397            ::capnp::word(112, 58, 65, 99, 99, 101, 112, 116),
5398            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5399            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
5400            ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
5401            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5402            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
5403            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5404            ::capnp::word(69, 0, 0, 0, 90, 0, 0, 0),
5405            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5406            ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
5407            ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
5408            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
5409            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
5410            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5411            ::capnp::word(77, 0, 0, 0, 82, 0, 0, 0),
5412            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5413            ::capnp::word(76, 0, 0, 0, 3, 0, 1, 0),
5414            ::capnp::word(88, 0, 0, 0, 2, 0, 1, 0),
5415            ::capnp::word(2, 0, 0, 0, 32, 0, 0, 0),
5416            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
5417            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5418            ::capnp::word(85, 0, 0, 0, 66, 0, 0, 0),
5419            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5420            ::capnp::word(80, 0, 0, 0, 3, 0, 1, 0),
5421            ::capnp::word(92, 0, 0, 0, 2, 0, 1, 0),
5422            ::capnp::word(113, 117, 101, 115, 116, 105, 111, 110),
5423            ::capnp::word(73, 100, 0, 0, 0, 0, 0, 0),
5424            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
5425            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5426            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5427            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5428            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
5429            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5430            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5431            ::capnp::word(112, 114, 111, 118, 105, 115, 105, 111),
5432            ::capnp::word(110, 0, 0, 0, 0, 0, 0, 0),
5433            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
5434            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5435            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5436            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5437            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
5438            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5439            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5440            ::capnp::word(101, 109, 98, 97, 114, 103, 111, 0),
5441            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
5442            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5443            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5444            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5445            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
5446            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5447            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5448        ];
5449        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
5450            match index {
5451                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
5452                1 => <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(),
5453                2 => <bool as ::capnp::introspect::Introspect>::introspect(),
5454                _ => ::capnp::introspect::panic_invalid_field_index(index),
5455            }
5456        }
5457        pub(crate) fn get_annotation_types(
5458            child_index: Option<u16>,
5459            index: u32,
5460        ) -> ::capnp::introspect::Type {
5461            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
5462        }
5463        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
5464            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
5465        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
5466            ::capnp::introspect::RawStructSchema::new(
5467                &ARENA,
5468                NONUNION_MEMBERS,
5469                MEMBERS_BY_DISCRIMINANT,
5470                MEMBERS_BY_NAME,
5471            );
5472        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2];
5473        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
5474        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 1, 0];
5475        pub(crate) const TYPE_ID: u64 = 0xd4c9_b562_9055_4016;
5476    }
5477}
5478
5479pub mod join {
5480    #[derive(Copy, Clone)]
5481    pub struct Owned(());
5482    impl ::capnp::introspect::Introspect for Owned {
5483        fn introspect() -> ::capnp::introspect::Type {
5484            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
5485                generic: &_private::RAW_SCHEMA,
5486                field_types: _private::get_field_types,
5487                annotation_types: _private::get_annotation_types,
5488            })
5489            .into()
5490        }
5491    }
5492    impl ::capnp::traits::Owned for Owned {
5493        type Reader<'a> = Reader<'a>;
5494        type Builder<'a> = Builder<'a>;
5495    }
5496    impl ::capnp::traits::OwnedStruct for Owned {
5497        type Reader<'a> = Reader<'a>;
5498        type Builder<'a> = Builder<'a>;
5499    }
5500    impl ::capnp::traits::Pipelined for Owned {
5501        type Pipeline = Pipeline;
5502    }
5503
5504    pub struct Reader<'a> {
5505        reader: ::capnp::private::layout::StructReader<'a>,
5506    }
5507    impl ::core::marker::Copy for Reader<'_> {}
5508    impl ::core::clone::Clone for Reader<'_> {
5509        fn clone(&self) -> Self {
5510            *self
5511        }
5512    }
5513
5514    impl ::capnp::traits::HasTypeId for Reader<'_> {
5515        const TYPE_ID: u64 = _private::TYPE_ID;
5516    }
5517    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
5518        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
5519            Self { reader }
5520        }
5521    }
5522
5523    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
5524        fn from(reader: Reader<'a>) -> Self {
5525            Self::Struct(::capnp::dynamic_struct::Reader::new(
5526                reader.reader,
5527                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
5528                    generic: &_private::RAW_SCHEMA,
5529                    field_types: _private::get_field_types,
5530                    annotation_types: _private::get_annotation_types,
5531                }),
5532            ))
5533        }
5534    }
5535
5536    impl ::core::fmt::Debug for Reader<'_> {
5537        fn fmt(
5538            &self,
5539            f: &mut ::core::fmt::Formatter<'_>,
5540        ) -> ::core::result::Result<(), ::core::fmt::Error> {
5541            core::fmt::Debug::fmt(
5542                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
5543                f,
5544            )
5545        }
5546    }
5547
5548    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
5549        fn get_from_pointer(
5550            reader: &::capnp::private::layout::PointerReader<'a>,
5551            default: ::core::option::Option<&'a [::capnp::Word]>,
5552        ) -> ::capnp::Result<Self> {
5553            ::core::result::Result::Ok(reader.get_struct(default)?.into())
5554        }
5555    }
5556
5557    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
5558        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
5559            self.reader
5560        }
5561    }
5562
5563    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
5564        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
5565            self.reader
5566                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
5567        }
5568    }
5569
5570    impl<'a> Reader<'a> {
5571        pub fn reborrow(&self) -> Reader<'_> {
5572            Self { ..*self }
5573        }
5574
5575        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
5576            self.reader.total_size()
5577        }
5578        #[inline]
5579        pub fn get_question_id(self) -> u32 {
5580            self.reader.get_data_field::<u32>(0)
5581        }
5582        #[inline]
5583        pub fn get_target(self) -> ::capnp::Result<crate::rpc_capnp::message_target::Reader<'a>> {
5584            ::capnp::traits::FromPointerReader::get_from_pointer(
5585                &self.reader.get_pointer_field(0),
5586                ::core::option::Option::None,
5587            )
5588        }
5589        #[inline]
5590        pub fn has_target(&self) -> bool {
5591            !self.reader.get_pointer_field(0).is_null()
5592        }
5593        #[inline]
5594        pub fn get_key_part(self) -> ::capnp::any_pointer::Reader<'a> {
5595            ::capnp::any_pointer::Reader::new(self.reader.get_pointer_field(1))
5596        }
5597        #[inline]
5598        pub fn has_key_part(&self) -> bool {
5599            !self.reader.get_pointer_field(1).is_null()
5600        }
5601    }
5602
5603    pub struct Builder<'a> {
5604        builder: ::capnp::private::layout::StructBuilder<'a>,
5605    }
5606    impl ::capnp::traits::HasStructSize for Builder<'_> {
5607        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
5608            ::capnp::private::layout::StructSize {
5609                data: 1,
5610                pointers: 2,
5611            };
5612    }
5613    impl ::capnp::traits::HasTypeId for Builder<'_> {
5614        const TYPE_ID: u64 = _private::TYPE_ID;
5615    }
5616    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
5617        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
5618            Self { builder }
5619        }
5620    }
5621
5622    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
5623        fn from(builder: Builder<'a>) -> Self {
5624            Self::Struct(::capnp::dynamic_struct::Builder::new(
5625                builder.builder,
5626                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
5627                    generic: &_private::RAW_SCHEMA,
5628                    field_types: _private::get_field_types,
5629                    annotation_types: _private::get_annotation_types,
5630                }),
5631            ))
5632        }
5633    }
5634
5635    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
5636        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
5637            self.builder
5638                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
5639        }
5640    }
5641
5642    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
5643        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
5644            builder
5645                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
5646                .into()
5647        }
5648        fn get_from_pointer(
5649            builder: ::capnp::private::layout::PointerBuilder<'a>,
5650            default: ::core::option::Option<&'a [::capnp::Word]>,
5651        ) -> ::capnp::Result<Self> {
5652            ::core::result::Result::Ok(
5653                builder
5654                    .get_struct(
5655                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
5656                        default,
5657                    )?
5658                    .into(),
5659            )
5660        }
5661    }
5662
5663    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
5664        fn set_pointer_builder(
5665            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
5666            value: Self,
5667            canonicalize: bool,
5668        ) -> ::capnp::Result<()> {
5669            pointer.set_struct(&value.reader, canonicalize)
5670        }
5671    }
5672
5673    impl<'a> Builder<'a> {
5674        pub fn into_reader(self) -> Reader<'a> {
5675            self.builder.into_reader().into()
5676        }
5677        pub fn reborrow(&mut self) -> Builder<'_> {
5678            Builder {
5679                builder: self.builder.reborrow(),
5680            }
5681        }
5682        pub fn reborrow_as_reader(&self) -> Reader<'_> {
5683            self.builder.as_reader().into()
5684        }
5685
5686        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
5687            self.builder.as_reader().total_size()
5688        }
5689        #[inline]
5690        pub fn get_question_id(self) -> u32 {
5691            self.builder.get_data_field::<u32>(0)
5692        }
5693        #[inline]
5694        pub fn set_question_id(&mut self, value: u32) {
5695            self.builder.set_data_field::<u32>(0, value);
5696        }
5697        #[inline]
5698        pub fn get_target(self) -> ::capnp::Result<crate::rpc_capnp::message_target::Builder<'a>> {
5699            ::capnp::traits::FromPointerBuilder::get_from_pointer(
5700                self.builder.get_pointer_field(0),
5701                ::core::option::Option::None,
5702            )
5703        }
5704        #[inline]
5705        pub fn set_target(
5706            &mut self,
5707            value: crate::rpc_capnp::message_target::Reader<'_>,
5708        ) -> ::capnp::Result<()> {
5709            ::capnp::traits::SetterInput::set_pointer_builder(
5710                self.builder.reborrow().get_pointer_field(0),
5711                value,
5712                false,
5713            )
5714        }
5715        #[inline]
5716        pub fn init_target(self) -> crate::rpc_capnp::message_target::Builder<'a> {
5717            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
5718        }
5719        #[inline]
5720        pub fn has_target(&self) -> bool {
5721            !self.builder.is_pointer_field_null(0)
5722        }
5723        #[inline]
5724        pub fn get_key_part(self) -> ::capnp::any_pointer::Builder<'a> {
5725            ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(1))
5726        }
5727        #[inline]
5728        pub fn init_key_part(self) -> ::capnp::any_pointer::Builder<'a> {
5729            let mut result = ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(1));
5730            result.clear();
5731            result
5732        }
5733        #[inline]
5734        pub fn has_key_part(&self) -> bool {
5735            !self.builder.is_pointer_field_null(1)
5736        }
5737    }
5738
5739    pub struct Pipeline {
5740        _typeless: ::capnp::any_pointer::Pipeline,
5741    }
5742    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
5743        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
5744            Self {
5745                _typeless: typeless,
5746            }
5747        }
5748    }
5749    impl Pipeline {
5750        pub fn get_target(&self) -> crate::rpc_capnp::message_target::Pipeline {
5751            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
5752        }
5753        pub fn get_key_part(&self) -> ::capnp::any_pointer::Pipeline {
5754            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(1))
5755        }
5756    }
5757    mod _private {
5758        pub(crate) static ENCODED_NODE: [::capnp::Word; 62] = [
5759            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
5760            ::capnp::word(175, 1, 224, 144, 4, 152, 225, 251),
5761            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
5762            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
5763            ::capnp::word(2, 0, 7, 0, 0, 0, 0, 0),
5764            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5765            ::capnp::word(21, 0, 0, 0, 122, 0, 0, 0),
5766            ::capnp::word(25, 0, 0, 0, 7, 0, 0, 0),
5767            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5768            ::capnp::word(21, 0, 0, 0, 175, 0, 0, 0),
5769            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5770            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5771            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
5772            ::capnp::word(112, 58, 74, 111, 105, 110, 0, 0),
5773            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
5774            ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
5775            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5776            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
5777            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5778            ::capnp::word(69, 0, 0, 0, 90, 0, 0, 0),
5779            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5780            ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
5781            ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
5782            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
5783            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
5784            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5785            ::capnp::word(77, 0, 0, 0, 58, 0, 0, 0),
5786            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5787            ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
5788            ::capnp::word(84, 0, 0, 0, 2, 0, 1, 0),
5789            ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
5790            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
5791            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5792            ::capnp::word(81, 0, 0, 0, 66, 0, 0, 0),
5793            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5794            ::capnp::word(76, 0, 0, 0, 3, 0, 1, 0),
5795            ::capnp::word(88, 0, 0, 0, 2, 0, 1, 0),
5796            ::capnp::word(113, 117, 101, 115, 116, 105, 111, 110),
5797            ::capnp::word(73, 100, 0, 0, 0, 0, 0, 0),
5798            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
5799            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5800            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5801            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5802            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
5803            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5804            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5805            ::capnp::word(116, 97, 114, 103, 101, 116, 0, 0),
5806            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5807            ::capnp::word(193, 251, 19, 88, 84, 20, 188, 149),
5808            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5809            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5810            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5811            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5812            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5813            ::capnp::word(107, 101, 121, 80, 97, 114, 116, 0),
5814            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
5815            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5816            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5817            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5818            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
5819            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5820            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5821        ];
5822        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
5823            match index {
5824                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
5825                1 => <crate::rpc_capnp::message_target::Owned as ::capnp::introspect::Introspect>::introspect(),
5826                2 => <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(),
5827                _ => ::capnp::introspect::panic_invalid_field_index(index),
5828            }
5829        }
5830        pub(crate) fn get_annotation_types(
5831            child_index: Option<u16>,
5832            index: u32,
5833        ) -> ::capnp::introspect::Type {
5834            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
5835        }
5836        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
5837            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
5838        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
5839            ::capnp::introspect::RawStructSchema::new(
5840                &ARENA,
5841                NONUNION_MEMBERS,
5842                MEMBERS_BY_DISCRIMINANT,
5843                MEMBERS_BY_NAME,
5844            );
5845        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2];
5846        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
5847        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 0, 1];
5848        pub(crate) const TYPE_ID: u64 = 0xfbe1_9804_90e0_01af;
5849    }
5850}
5851
5852pub mod message_target {
5853    pub use self::Which::{ImportedCap, PromisedAnswer};
5854
5855    #[derive(Copy, Clone)]
5856    pub struct Owned(());
5857    impl ::capnp::introspect::Introspect for Owned {
5858        fn introspect() -> ::capnp::introspect::Type {
5859            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
5860                generic: &_private::RAW_SCHEMA,
5861                field_types: _private::get_field_types,
5862                annotation_types: _private::get_annotation_types,
5863            })
5864            .into()
5865        }
5866    }
5867    impl ::capnp::traits::Owned for Owned {
5868        type Reader<'a> = Reader<'a>;
5869        type Builder<'a> = Builder<'a>;
5870    }
5871    impl ::capnp::traits::OwnedStruct for Owned {
5872        type Reader<'a> = Reader<'a>;
5873        type Builder<'a> = Builder<'a>;
5874    }
5875    impl ::capnp::traits::Pipelined for Owned {
5876        type Pipeline = Pipeline;
5877    }
5878
5879    pub struct Reader<'a> {
5880        reader: ::capnp::private::layout::StructReader<'a>,
5881    }
5882    impl ::core::marker::Copy for Reader<'_> {}
5883    impl ::core::clone::Clone for Reader<'_> {
5884        fn clone(&self) -> Self {
5885            *self
5886        }
5887    }
5888
5889    impl ::capnp::traits::HasTypeId for Reader<'_> {
5890        const TYPE_ID: u64 = _private::TYPE_ID;
5891    }
5892    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
5893        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
5894            Self { reader }
5895        }
5896    }
5897
5898    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
5899        fn from(reader: Reader<'a>) -> Self {
5900            Self::Struct(::capnp::dynamic_struct::Reader::new(
5901                reader.reader,
5902                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
5903                    generic: &_private::RAW_SCHEMA,
5904                    field_types: _private::get_field_types,
5905                    annotation_types: _private::get_annotation_types,
5906                }),
5907            ))
5908        }
5909    }
5910
5911    impl ::core::fmt::Debug for Reader<'_> {
5912        fn fmt(
5913            &self,
5914            f: &mut ::core::fmt::Formatter<'_>,
5915        ) -> ::core::result::Result<(), ::core::fmt::Error> {
5916            core::fmt::Debug::fmt(
5917                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
5918                f,
5919            )
5920        }
5921    }
5922
5923    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
5924        fn get_from_pointer(
5925            reader: &::capnp::private::layout::PointerReader<'a>,
5926            default: ::core::option::Option<&'a [::capnp::Word]>,
5927        ) -> ::capnp::Result<Self> {
5928            ::core::result::Result::Ok(reader.get_struct(default)?.into())
5929        }
5930    }
5931
5932    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
5933        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
5934            self.reader
5935        }
5936    }
5937
5938    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
5939        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
5940            self.reader
5941                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
5942        }
5943    }
5944
5945    impl<'a> Reader<'a> {
5946        pub fn reborrow(&self) -> Reader<'_> {
5947            Self { ..*self }
5948        }
5949
5950        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
5951            self.reader.total_size()
5952        }
5953        #[inline]
5954        pub fn has_promised_answer(&self) -> bool {
5955            if self.reader.get_data_field::<u16>(2) != 1 {
5956                return false;
5957            }
5958            !self.reader.get_pointer_field(0).is_null()
5959        }
5960        #[inline]
5961        pub fn which(self) -> ::core::result::Result<WhichReader<'a>, ::capnp::NotInSchema> {
5962            match self.reader.get_data_field::<u16>(2) {
5963                0 => ::core::result::Result::Ok(ImportedCap(self.reader.get_data_field::<u32>(0))),
5964                1 => ::core::result::Result::Ok(PromisedAnswer(
5965                    ::capnp::traits::FromPointerReader::get_from_pointer(
5966                        &self.reader.get_pointer_field(0),
5967                        ::core::option::Option::None,
5968                    ),
5969                )),
5970                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
5971            }
5972        }
5973    }
5974
5975    pub struct Builder<'a> {
5976        builder: ::capnp::private::layout::StructBuilder<'a>,
5977    }
5978    impl ::capnp::traits::HasStructSize for Builder<'_> {
5979        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
5980            ::capnp::private::layout::StructSize {
5981                data: 1,
5982                pointers: 1,
5983            };
5984    }
5985    impl ::capnp::traits::HasTypeId for Builder<'_> {
5986        const TYPE_ID: u64 = _private::TYPE_ID;
5987    }
5988    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
5989        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
5990            Self { builder }
5991        }
5992    }
5993
5994    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
5995        fn from(builder: Builder<'a>) -> Self {
5996            Self::Struct(::capnp::dynamic_struct::Builder::new(
5997                builder.builder,
5998                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
5999                    generic: &_private::RAW_SCHEMA,
6000                    field_types: _private::get_field_types,
6001                    annotation_types: _private::get_annotation_types,
6002                }),
6003            ))
6004        }
6005    }
6006
6007    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
6008        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
6009            self.builder
6010                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
6011        }
6012    }
6013
6014    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
6015        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
6016            builder
6017                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
6018                .into()
6019        }
6020        fn get_from_pointer(
6021            builder: ::capnp::private::layout::PointerBuilder<'a>,
6022            default: ::core::option::Option<&'a [::capnp::Word]>,
6023        ) -> ::capnp::Result<Self> {
6024            ::core::result::Result::Ok(
6025                builder
6026                    .get_struct(
6027                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
6028                        default,
6029                    )?
6030                    .into(),
6031            )
6032        }
6033    }
6034
6035    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
6036        fn set_pointer_builder(
6037            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
6038            value: Self,
6039            canonicalize: bool,
6040        ) -> ::capnp::Result<()> {
6041            pointer.set_struct(&value.reader, canonicalize)
6042        }
6043    }
6044
6045    impl<'a> Builder<'a> {
6046        pub fn into_reader(self) -> Reader<'a> {
6047            self.builder.into_reader().into()
6048        }
6049        pub fn reborrow(&mut self) -> Builder<'_> {
6050            Builder {
6051                builder: self.builder.reborrow(),
6052            }
6053        }
6054        pub fn reborrow_as_reader(&self) -> Reader<'_> {
6055            self.builder.as_reader().into()
6056        }
6057
6058        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
6059            self.builder.as_reader().total_size()
6060        }
6061        #[inline]
6062        pub fn set_imported_cap(&mut self, value: u32) {
6063            self.builder.set_data_field::<u16>(2, 0);
6064            self.builder.set_data_field::<u32>(0, value);
6065        }
6066        #[inline]
6067        pub fn set_promised_answer(
6068            &mut self,
6069            value: crate::rpc_capnp::promised_answer::Reader<'_>,
6070        ) -> ::capnp::Result<()> {
6071            self.builder.set_data_field::<u16>(2, 1);
6072            ::capnp::traits::SetterInput::set_pointer_builder(
6073                self.builder.reborrow().get_pointer_field(0),
6074                value,
6075                false,
6076            )
6077        }
6078        #[inline]
6079        pub fn init_promised_answer(self) -> crate::rpc_capnp::promised_answer::Builder<'a> {
6080            self.builder.set_data_field::<u16>(2, 1);
6081            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
6082        }
6083        #[inline]
6084        pub fn has_promised_answer(&self) -> bool {
6085            if self.builder.get_data_field::<u16>(2) != 1 {
6086                return false;
6087            }
6088            !self.builder.is_pointer_field_null(0)
6089        }
6090        #[inline]
6091        pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, ::capnp::NotInSchema> {
6092            match self.builder.get_data_field::<u16>(2) {
6093                0 => ::core::result::Result::Ok(ImportedCap(self.builder.get_data_field::<u32>(0))),
6094                1 => ::core::result::Result::Ok(PromisedAnswer(
6095                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
6096                        self.builder.get_pointer_field(0),
6097                        ::core::option::Option::None,
6098                    ),
6099                )),
6100                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
6101            }
6102        }
6103    }
6104
6105    pub struct Pipeline {
6106        _typeless: ::capnp::any_pointer::Pipeline,
6107    }
6108    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
6109        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
6110            Self {
6111                _typeless: typeless,
6112            }
6113        }
6114    }
6115    impl Pipeline {}
6116    mod _private {
6117        pub(crate) static ENCODED_NODE: [::capnp::Word; 49] = [
6118            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
6119            ::capnp::word(193, 251, 19, 88, 84, 20, 188, 149),
6120            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
6121            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
6122            ::capnp::word(1, 0, 7, 0, 0, 0, 2, 0),
6123            ::capnp::word(2, 0, 0, 0, 0, 0, 0, 0),
6124            ::capnp::word(21, 0, 0, 0, 194, 0, 0, 0),
6125            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
6126            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6127            ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
6128            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6129            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6130            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
6131            ::capnp::word(112, 58, 77, 101, 115, 115, 97, 103),
6132            ::capnp::word(101, 84, 97, 114, 103, 101, 116, 0),
6133            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
6134            ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
6135            ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
6136            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
6137            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6138            ::capnp::word(41, 0, 0, 0, 98, 0, 0, 0),
6139            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6140            ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
6141            ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
6142            ::capnp::word(1, 0, 254, 255, 0, 0, 0, 0),
6143            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
6144            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6145            ::capnp::word(49, 0, 0, 0, 122, 0, 0, 0),
6146            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6147            ::capnp::word(48, 0, 0, 0, 3, 0, 1, 0),
6148            ::capnp::word(60, 0, 0, 0, 2, 0, 1, 0),
6149            ::capnp::word(105, 109, 112, 111, 114, 116, 101, 100),
6150            ::capnp::word(67, 97, 112, 0, 0, 0, 0, 0),
6151            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
6152            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6153            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6154            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6155            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
6156            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6157            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6158            ::capnp::word(112, 114, 111, 109, 105, 115, 101, 100),
6159            ::capnp::word(65, 110, 115, 119, 101, 114, 0, 0),
6160            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
6161            ::capnp::word(160, 28, 111, 205, 214, 177, 0, 216),
6162            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6163            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6164            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
6165            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6166            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6167        ];
6168        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
6169            match index {
6170                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
6171                1 => <crate::rpc_capnp::promised_answer::Owned as ::capnp::introspect::Introspect>::introspect(),
6172                _ => ::capnp::introspect::panic_invalid_field_index(index),
6173            }
6174        }
6175        pub(crate) fn get_annotation_types(
6176            child_index: Option<u16>,
6177            index: u32,
6178        ) -> ::capnp::introspect::Type {
6179            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
6180        }
6181        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
6182            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
6183        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
6184            ::capnp::introspect::RawStructSchema::new(
6185                &ARENA,
6186                NONUNION_MEMBERS,
6187                MEMBERS_BY_DISCRIMINANT,
6188                MEMBERS_BY_NAME,
6189            );
6190        pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
6191        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[0, 1];
6192        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 1];
6193        pub(crate) const TYPE_ID: u64 = 0x95bc_1454_5813_fbc1;
6194    }
6195    pub enum Which<A0> {
6196        ImportedCap(u32),
6197        PromisedAnswer(A0),
6198    }
6199    pub type WhichReader<'a> =
6200        Which<::capnp::Result<crate::rpc_capnp::promised_answer::Reader<'a>>>;
6201    pub type WhichBuilder<'a> =
6202        Which<::capnp::Result<crate::rpc_capnp::promised_answer::Builder<'a>>>;
6203}
6204
6205pub mod payload {
6206    #[derive(Copy, Clone)]
6207    pub struct Owned(());
6208    impl ::capnp::introspect::Introspect for Owned {
6209        fn introspect() -> ::capnp::introspect::Type {
6210            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
6211                generic: &_private::RAW_SCHEMA,
6212                field_types: _private::get_field_types,
6213                annotation_types: _private::get_annotation_types,
6214            })
6215            .into()
6216        }
6217    }
6218    impl ::capnp::traits::Owned for Owned {
6219        type Reader<'a> = Reader<'a>;
6220        type Builder<'a> = Builder<'a>;
6221    }
6222    impl ::capnp::traits::OwnedStruct for Owned {
6223        type Reader<'a> = Reader<'a>;
6224        type Builder<'a> = Builder<'a>;
6225    }
6226    impl ::capnp::traits::Pipelined for Owned {
6227        type Pipeline = Pipeline;
6228    }
6229
6230    pub struct Reader<'a> {
6231        reader: ::capnp::private::layout::StructReader<'a>,
6232    }
6233    impl ::core::marker::Copy for Reader<'_> {}
6234    impl ::core::clone::Clone for Reader<'_> {
6235        fn clone(&self) -> Self {
6236            *self
6237        }
6238    }
6239
6240    impl ::capnp::traits::HasTypeId for Reader<'_> {
6241        const TYPE_ID: u64 = _private::TYPE_ID;
6242    }
6243    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
6244        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
6245            Self { reader }
6246        }
6247    }
6248
6249    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
6250        fn from(reader: Reader<'a>) -> Self {
6251            Self::Struct(::capnp::dynamic_struct::Reader::new(
6252                reader.reader,
6253                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
6254                    generic: &_private::RAW_SCHEMA,
6255                    field_types: _private::get_field_types,
6256                    annotation_types: _private::get_annotation_types,
6257                }),
6258            ))
6259        }
6260    }
6261
6262    impl ::core::fmt::Debug for Reader<'_> {
6263        fn fmt(
6264            &self,
6265            f: &mut ::core::fmt::Formatter<'_>,
6266        ) -> ::core::result::Result<(), ::core::fmt::Error> {
6267            core::fmt::Debug::fmt(
6268                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
6269                f,
6270            )
6271        }
6272    }
6273
6274    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
6275        fn get_from_pointer(
6276            reader: &::capnp::private::layout::PointerReader<'a>,
6277            default: ::core::option::Option<&'a [::capnp::Word]>,
6278        ) -> ::capnp::Result<Self> {
6279            ::core::result::Result::Ok(reader.get_struct(default)?.into())
6280        }
6281    }
6282
6283    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
6284        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
6285            self.reader
6286        }
6287    }
6288
6289    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
6290        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
6291            self.reader
6292                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
6293        }
6294    }
6295
6296    impl<'a> Reader<'a> {
6297        pub fn reborrow(&self) -> Reader<'_> {
6298            Self { ..*self }
6299        }
6300
6301        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
6302            self.reader.total_size()
6303        }
6304        #[inline]
6305        pub fn get_content(self) -> ::capnp::any_pointer::Reader<'a> {
6306            ::capnp::any_pointer::Reader::new(self.reader.get_pointer_field(0))
6307        }
6308        #[inline]
6309        pub fn has_content(&self) -> bool {
6310            !self.reader.get_pointer_field(0).is_null()
6311        }
6312        #[inline]
6313        pub fn get_cap_table(
6314            self,
6315        ) -> ::capnp::Result<
6316            ::capnp::struct_list::Reader<'a, crate::rpc_capnp::cap_descriptor::Owned>,
6317        > {
6318            ::capnp::traits::FromPointerReader::get_from_pointer(
6319                &self.reader.get_pointer_field(1),
6320                ::core::option::Option::None,
6321            )
6322        }
6323        #[inline]
6324        pub fn has_cap_table(&self) -> bool {
6325            !self.reader.get_pointer_field(1).is_null()
6326        }
6327    }
6328
6329    pub struct Builder<'a> {
6330        builder: ::capnp::private::layout::StructBuilder<'a>,
6331    }
6332    impl ::capnp::traits::HasStructSize for Builder<'_> {
6333        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
6334            ::capnp::private::layout::StructSize {
6335                data: 0,
6336                pointers: 2,
6337            };
6338    }
6339    impl ::capnp::traits::HasTypeId for Builder<'_> {
6340        const TYPE_ID: u64 = _private::TYPE_ID;
6341    }
6342    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
6343        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
6344            Self { builder }
6345        }
6346    }
6347
6348    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
6349        fn from(builder: Builder<'a>) -> Self {
6350            Self::Struct(::capnp::dynamic_struct::Builder::new(
6351                builder.builder,
6352                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
6353                    generic: &_private::RAW_SCHEMA,
6354                    field_types: _private::get_field_types,
6355                    annotation_types: _private::get_annotation_types,
6356                }),
6357            ))
6358        }
6359    }
6360
6361    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
6362        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
6363            self.builder
6364                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
6365        }
6366    }
6367
6368    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
6369        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
6370            builder
6371                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
6372                .into()
6373        }
6374        fn get_from_pointer(
6375            builder: ::capnp::private::layout::PointerBuilder<'a>,
6376            default: ::core::option::Option<&'a [::capnp::Word]>,
6377        ) -> ::capnp::Result<Self> {
6378            ::core::result::Result::Ok(
6379                builder
6380                    .get_struct(
6381                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
6382                        default,
6383                    )?
6384                    .into(),
6385            )
6386        }
6387    }
6388
6389    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
6390        fn set_pointer_builder(
6391            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
6392            value: Self,
6393            canonicalize: bool,
6394        ) -> ::capnp::Result<()> {
6395            pointer.set_struct(&value.reader, canonicalize)
6396        }
6397    }
6398
6399    impl<'a> Builder<'a> {
6400        pub fn into_reader(self) -> Reader<'a> {
6401            self.builder.into_reader().into()
6402        }
6403        pub fn reborrow(&mut self) -> Builder<'_> {
6404            Builder {
6405                builder: self.builder.reborrow(),
6406            }
6407        }
6408        pub fn reborrow_as_reader(&self) -> Reader<'_> {
6409            self.builder.as_reader().into()
6410        }
6411
6412        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
6413            self.builder.as_reader().total_size()
6414        }
6415        #[inline]
6416        pub fn get_content(self) -> ::capnp::any_pointer::Builder<'a> {
6417            ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0))
6418        }
6419        #[inline]
6420        pub fn init_content(self) -> ::capnp::any_pointer::Builder<'a> {
6421            let mut result = ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0));
6422            result.clear();
6423            result
6424        }
6425        #[inline]
6426        pub fn has_content(&self) -> bool {
6427            !self.builder.is_pointer_field_null(0)
6428        }
6429        #[inline]
6430        pub fn get_cap_table(
6431            self,
6432        ) -> ::capnp::Result<
6433            ::capnp::struct_list::Builder<'a, crate::rpc_capnp::cap_descriptor::Owned>,
6434        > {
6435            ::capnp::traits::FromPointerBuilder::get_from_pointer(
6436                self.builder.get_pointer_field(1),
6437                ::core::option::Option::None,
6438            )
6439        }
6440        #[inline]
6441        pub fn set_cap_table(
6442            &mut self,
6443            value: ::capnp::struct_list::Reader<'_, crate::rpc_capnp::cap_descriptor::Owned>,
6444        ) -> ::capnp::Result<()> {
6445            ::capnp::traits::SetterInput::set_pointer_builder(
6446                self.builder.reborrow().get_pointer_field(1),
6447                value,
6448                false,
6449            )
6450        }
6451        #[inline]
6452        pub fn init_cap_table(
6453            self,
6454            size: u32,
6455        ) -> ::capnp::struct_list::Builder<'a, crate::rpc_capnp::cap_descriptor::Owned> {
6456            ::capnp::traits::FromPointerBuilder::init_pointer(
6457                self.builder.get_pointer_field(1),
6458                size,
6459            )
6460        }
6461        #[inline]
6462        pub fn has_cap_table(&self) -> bool {
6463            !self.builder.is_pointer_field_null(1)
6464        }
6465    }
6466
6467    pub struct Pipeline {
6468        _typeless: ::capnp::any_pointer::Pipeline,
6469    }
6470    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
6471        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
6472            Self {
6473                _typeless: typeless,
6474            }
6475        }
6476    }
6477    impl Pipeline {
6478        pub fn get_content(&self) -> ::capnp::any_pointer::Pipeline {
6479            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
6480        }
6481    }
6482    mod _private {
6483        pub(crate) static ENCODED_NODE: [::capnp::Word; 52] = [
6484            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
6485            ::capnp::word(59, 116, 150, 61, 34, 97, 14, 154),
6486            ::capnp::word(10, 0, 0, 0, 1, 0, 0, 0),
6487            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
6488            ::capnp::word(2, 0, 7, 0, 0, 0, 0, 0),
6489            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6490            ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
6491            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
6492            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6493            ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
6494            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6495            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6496            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
6497            ::capnp::word(112, 58, 80, 97, 121, 108, 111, 97),
6498            ::capnp::word(100, 0, 0, 0, 0, 0, 0, 0),
6499            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
6500            ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
6501            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6502            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
6503            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6504            ::capnp::word(41, 0, 0, 0, 66, 0, 0, 0),
6505            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6506            ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
6507            ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
6508            ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
6509            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
6510            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6511            ::capnp::word(45, 0, 0, 0, 74, 0, 0, 0),
6512            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6513            ::capnp::word(44, 0, 0, 0, 3, 0, 1, 0),
6514            ::capnp::word(72, 0, 0, 0, 2, 0, 1, 0),
6515            ::capnp::word(99, 111, 110, 116, 101, 110, 116, 0),
6516            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
6517            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6518            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6519            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6520            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
6521            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6522            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6523            ::capnp::word(99, 97, 112, 84, 97, 98, 108, 101),
6524            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6525            ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
6526            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6527            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6528            ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
6529            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
6530            ::capnp::word(176, 184, 134, 11, 196, 221, 35, 133),
6531            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6532            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6533            ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
6534            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6535            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6536        ];
6537        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
6538            match index {
6539                0 => <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(),
6540                1 => <::capnp::struct_list::Owned<crate::rpc_capnp::cap_descriptor::Owned> as ::capnp::introspect::Introspect>::introspect(),
6541                _ => ::capnp::introspect::panic_invalid_field_index(index),
6542            }
6543        }
6544        pub(crate) fn get_annotation_types(
6545            child_index: Option<u16>,
6546            index: u32,
6547        ) -> ::capnp::introspect::Type {
6548            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
6549        }
6550        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
6551            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
6552        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
6553            ::capnp::introspect::RawStructSchema::new(
6554                &ARENA,
6555                NONUNION_MEMBERS,
6556                MEMBERS_BY_DISCRIMINANT,
6557                MEMBERS_BY_NAME,
6558            );
6559        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
6560        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
6561        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
6562        pub(crate) const TYPE_ID: u64 = 0x9a0e_6122_3d96_743b;
6563    }
6564}
6565
6566pub mod cap_descriptor {
6567    pub use self::Which::{
6568        None, ReceiverAnswer, ReceiverHosted, SenderHosted, SenderPromise, ThirdPartyHosted,
6569    };
6570
6571    #[derive(Copy, Clone)]
6572    pub struct Owned(());
6573    impl ::capnp::introspect::Introspect for Owned {
6574        fn introspect() -> ::capnp::introspect::Type {
6575            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
6576                generic: &_private::RAW_SCHEMA,
6577                field_types: _private::get_field_types,
6578                annotation_types: _private::get_annotation_types,
6579            })
6580            .into()
6581        }
6582    }
6583    impl ::capnp::traits::Owned for Owned {
6584        type Reader<'a> = Reader<'a>;
6585        type Builder<'a> = Builder<'a>;
6586    }
6587    impl ::capnp::traits::OwnedStruct for Owned {
6588        type Reader<'a> = Reader<'a>;
6589        type Builder<'a> = Builder<'a>;
6590    }
6591    impl ::capnp::traits::Pipelined for Owned {
6592        type Pipeline = Pipeline;
6593    }
6594
6595    pub struct Reader<'a> {
6596        reader: ::capnp::private::layout::StructReader<'a>,
6597    }
6598    impl ::core::marker::Copy for Reader<'_> {}
6599    impl ::core::clone::Clone for Reader<'_> {
6600        fn clone(&self) -> Self {
6601            *self
6602        }
6603    }
6604
6605    impl ::capnp::traits::HasTypeId for Reader<'_> {
6606        const TYPE_ID: u64 = _private::TYPE_ID;
6607    }
6608    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
6609        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
6610            Self { reader }
6611        }
6612    }
6613
6614    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
6615        fn from(reader: Reader<'a>) -> Self {
6616            Self::Struct(::capnp::dynamic_struct::Reader::new(
6617                reader.reader,
6618                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
6619                    generic: &_private::RAW_SCHEMA,
6620                    field_types: _private::get_field_types,
6621                    annotation_types: _private::get_annotation_types,
6622                }),
6623            ))
6624        }
6625    }
6626
6627    impl ::core::fmt::Debug for Reader<'_> {
6628        fn fmt(
6629            &self,
6630            f: &mut ::core::fmt::Formatter<'_>,
6631        ) -> ::core::result::Result<(), ::core::fmt::Error> {
6632            core::fmt::Debug::fmt(
6633                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
6634                f,
6635            )
6636        }
6637    }
6638
6639    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
6640        fn get_from_pointer(
6641            reader: &::capnp::private::layout::PointerReader<'a>,
6642            default: ::core::option::Option<&'a [::capnp::Word]>,
6643        ) -> ::capnp::Result<Self> {
6644            ::core::result::Result::Ok(reader.get_struct(default)?.into())
6645        }
6646    }
6647
6648    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
6649        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
6650            self.reader
6651        }
6652    }
6653
6654    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
6655        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
6656            self.reader
6657                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
6658        }
6659    }
6660
6661    impl<'a> Reader<'a> {
6662        pub fn reborrow(&self) -> Reader<'_> {
6663            Self { ..*self }
6664        }
6665
6666        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
6667            self.reader.total_size()
6668        }
6669        #[inline]
6670        pub fn has_receiver_answer(&self) -> bool {
6671            if self.reader.get_data_field::<u16>(0) != 4 {
6672                return false;
6673            }
6674            !self.reader.get_pointer_field(0).is_null()
6675        }
6676        #[inline]
6677        pub fn has_third_party_hosted(&self) -> bool {
6678            if self.reader.get_data_field::<u16>(0) != 5 {
6679                return false;
6680            }
6681            !self.reader.get_pointer_field(0).is_null()
6682        }
6683        #[inline]
6684        pub fn get_attached_fd(self) -> u8 {
6685            self.reader.get_data_field_mask::<u8>(2, 255)
6686        }
6687        #[inline]
6688        pub fn which(self) -> ::core::result::Result<WhichReader<'a>, ::capnp::NotInSchema> {
6689            match self.reader.get_data_field::<u16>(0) {
6690                0 => ::core::result::Result::Ok(None(())),
6691                1 => ::core::result::Result::Ok(SenderHosted(self.reader.get_data_field::<u32>(1))),
6692                2 => {
6693                    ::core::result::Result::Ok(SenderPromise(self.reader.get_data_field::<u32>(1)))
6694                }
6695                3 => {
6696                    ::core::result::Result::Ok(ReceiverHosted(self.reader.get_data_field::<u32>(1)))
6697                }
6698                4 => ::core::result::Result::Ok(ReceiverAnswer(
6699                    ::capnp::traits::FromPointerReader::get_from_pointer(
6700                        &self.reader.get_pointer_field(0),
6701                        ::core::option::Option::None,
6702                    ),
6703                )),
6704                5 => ::core::result::Result::Ok(ThirdPartyHosted(
6705                    ::capnp::traits::FromPointerReader::get_from_pointer(
6706                        &self.reader.get_pointer_field(0),
6707                        ::core::option::Option::None,
6708                    ),
6709                )),
6710                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
6711            }
6712        }
6713    }
6714
6715    pub struct Builder<'a> {
6716        builder: ::capnp::private::layout::StructBuilder<'a>,
6717    }
6718    impl ::capnp::traits::HasStructSize for Builder<'_> {
6719        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
6720            ::capnp::private::layout::StructSize {
6721                data: 1,
6722                pointers: 1,
6723            };
6724    }
6725    impl ::capnp::traits::HasTypeId for Builder<'_> {
6726        const TYPE_ID: u64 = _private::TYPE_ID;
6727    }
6728    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
6729        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
6730            Self { builder }
6731        }
6732    }
6733
6734    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
6735        fn from(builder: Builder<'a>) -> Self {
6736            Self::Struct(::capnp::dynamic_struct::Builder::new(
6737                builder.builder,
6738                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
6739                    generic: &_private::RAW_SCHEMA,
6740                    field_types: _private::get_field_types,
6741                    annotation_types: _private::get_annotation_types,
6742                }),
6743            ))
6744        }
6745    }
6746
6747    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
6748        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
6749            self.builder
6750                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
6751        }
6752    }
6753
6754    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
6755        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
6756            builder
6757                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
6758                .into()
6759        }
6760        fn get_from_pointer(
6761            builder: ::capnp::private::layout::PointerBuilder<'a>,
6762            default: ::core::option::Option<&'a [::capnp::Word]>,
6763        ) -> ::capnp::Result<Self> {
6764            ::core::result::Result::Ok(
6765                builder
6766                    .get_struct(
6767                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
6768                        default,
6769                    )?
6770                    .into(),
6771            )
6772        }
6773    }
6774
6775    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
6776        fn set_pointer_builder(
6777            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
6778            value: Self,
6779            canonicalize: bool,
6780        ) -> ::capnp::Result<()> {
6781            pointer.set_struct(&value.reader, canonicalize)
6782        }
6783    }
6784
6785    impl<'a> Builder<'a> {
6786        pub fn into_reader(self) -> Reader<'a> {
6787            self.builder.into_reader().into()
6788        }
6789        pub fn reborrow(&mut self) -> Builder<'_> {
6790            Builder {
6791                builder: self.builder.reborrow(),
6792            }
6793        }
6794        pub fn reborrow_as_reader(&self) -> Reader<'_> {
6795            self.builder.as_reader().into()
6796        }
6797
6798        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
6799            self.builder.as_reader().total_size()
6800        }
6801        #[inline]
6802        pub fn set_none(&mut self, _value: ()) {
6803            self.builder.set_data_field::<u16>(0, 0);
6804        }
6805        #[inline]
6806        pub fn set_sender_hosted(&mut self, value: u32) {
6807            self.builder.set_data_field::<u16>(0, 1);
6808            self.builder.set_data_field::<u32>(1, value);
6809        }
6810        #[inline]
6811        pub fn set_sender_promise(&mut self, value: u32) {
6812            self.builder.set_data_field::<u16>(0, 2);
6813            self.builder.set_data_field::<u32>(1, value);
6814        }
6815        #[inline]
6816        pub fn set_receiver_hosted(&mut self, value: u32) {
6817            self.builder.set_data_field::<u16>(0, 3);
6818            self.builder.set_data_field::<u32>(1, value);
6819        }
6820        #[inline]
6821        pub fn set_receiver_answer(
6822            &mut self,
6823            value: crate::rpc_capnp::promised_answer::Reader<'_>,
6824        ) -> ::capnp::Result<()> {
6825            self.builder.set_data_field::<u16>(0, 4);
6826            ::capnp::traits::SetterInput::set_pointer_builder(
6827                self.builder.reborrow().get_pointer_field(0),
6828                value,
6829                false,
6830            )
6831        }
6832        #[inline]
6833        pub fn init_receiver_answer(self) -> crate::rpc_capnp::promised_answer::Builder<'a> {
6834            self.builder.set_data_field::<u16>(0, 4);
6835            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
6836        }
6837        #[inline]
6838        pub fn has_receiver_answer(&self) -> bool {
6839            if self.builder.get_data_field::<u16>(0) != 4 {
6840                return false;
6841            }
6842            !self.builder.is_pointer_field_null(0)
6843        }
6844        #[inline]
6845        pub fn set_third_party_hosted(
6846            &mut self,
6847            value: crate::rpc_capnp::third_party_cap_descriptor::Reader<'_>,
6848        ) -> ::capnp::Result<()> {
6849            self.builder.set_data_field::<u16>(0, 5);
6850            ::capnp::traits::SetterInput::set_pointer_builder(
6851                self.builder.reborrow().get_pointer_field(0),
6852                value,
6853                false,
6854            )
6855        }
6856        #[inline]
6857        pub fn init_third_party_hosted(
6858            self,
6859        ) -> crate::rpc_capnp::third_party_cap_descriptor::Builder<'a> {
6860            self.builder.set_data_field::<u16>(0, 5);
6861            ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
6862        }
6863        #[inline]
6864        pub fn has_third_party_hosted(&self) -> bool {
6865            if self.builder.get_data_field::<u16>(0) != 5 {
6866                return false;
6867            }
6868            !self.builder.is_pointer_field_null(0)
6869        }
6870        #[inline]
6871        pub fn get_attached_fd(self) -> u8 {
6872            self.builder.get_data_field_mask::<u8>(2, 255)
6873        }
6874        #[inline]
6875        pub fn set_attached_fd(&mut self, value: u8) {
6876            self.builder.set_data_field_mask::<u8>(2, value, 255);
6877        }
6878        #[inline]
6879        pub fn which(self) -> ::core::result::Result<WhichBuilder<'a>, ::capnp::NotInSchema> {
6880            match self.builder.get_data_field::<u16>(0) {
6881                0 => ::core::result::Result::Ok(None(())),
6882                1 => {
6883                    ::core::result::Result::Ok(SenderHosted(self.builder.get_data_field::<u32>(1)))
6884                }
6885                2 => {
6886                    ::core::result::Result::Ok(SenderPromise(self.builder.get_data_field::<u32>(1)))
6887                }
6888                3 => ::core::result::Result::Ok(ReceiverHosted(
6889                    self.builder.get_data_field::<u32>(1),
6890                )),
6891                4 => ::core::result::Result::Ok(ReceiverAnswer(
6892                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
6893                        self.builder.get_pointer_field(0),
6894                        ::core::option::Option::None,
6895                    ),
6896                )),
6897                5 => ::core::result::Result::Ok(ThirdPartyHosted(
6898                    ::capnp::traits::FromPointerBuilder::get_from_pointer(
6899                        self.builder.get_pointer_field(0),
6900                        ::core::option::Option::None,
6901                    ),
6902                )),
6903                x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
6904            }
6905        }
6906    }
6907
6908    pub struct Pipeline {
6909        _typeless: ::capnp::any_pointer::Pipeline,
6910    }
6911    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
6912        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
6913            Self {
6914                _typeless: typeless,
6915            }
6916        }
6917    }
6918    impl Pipeline {}
6919    mod _private {
6920        pub(crate) static ENCODED_NODE: [::capnp::Word; 129] = [
6921            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
6922            ::capnp::word(176, 184, 134, 11, 196, 221, 35, 133),
6923            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
6924            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
6925            ::capnp::word(1, 0, 7, 0, 0, 0, 6, 0),
6926            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6927            ::capnp::word(21, 0, 0, 0, 194, 0, 0, 0),
6928            ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
6929            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6930            ::capnp::word(25, 0, 0, 0, 143, 1, 0, 0),
6931            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6932            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6933            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
6934            ::capnp::word(112, 58, 67, 97, 112, 68, 101, 115),
6935            ::capnp::word(99, 114, 105, 112, 116, 111, 114, 0),
6936            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
6937            ::capnp::word(28, 0, 0, 0, 3, 0, 4, 0),
6938            ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
6939            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
6940            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6941            ::capnp::word(181, 0, 0, 0, 42, 0, 0, 0),
6942            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6943            ::capnp::word(176, 0, 0, 0, 3, 0, 1, 0),
6944            ::capnp::word(188, 0, 0, 0, 2, 0, 1, 0),
6945            ::capnp::word(1, 0, 254, 255, 1, 0, 0, 0),
6946            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
6947            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6948            ::capnp::word(185, 0, 0, 0, 106, 0, 0, 0),
6949            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6950            ::capnp::word(184, 0, 0, 0, 3, 0, 1, 0),
6951            ::capnp::word(196, 0, 0, 0, 2, 0, 1, 0),
6952            ::capnp::word(2, 0, 253, 255, 1, 0, 0, 0),
6953            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
6954            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6955            ::capnp::word(193, 0, 0, 0, 114, 0, 0, 0),
6956            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6957            ::capnp::word(192, 0, 0, 0, 3, 0, 1, 0),
6958            ::capnp::word(204, 0, 0, 0, 2, 0, 1, 0),
6959            ::capnp::word(3, 0, 252, 255, 1, 0, 0, 0),
6960            ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
6961            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6962            ::capnp::word(201, 0, 0, 0, 122, 0, 0, 0),
6963            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6964            ::capnp::word(200, 0, 0, 0, 3, 0, 1, 0),
6965            ::capnp::word(212, 0, 0, 0, 2, 0, 1, 0),
6966            ::capnp::word(4, 0, 251, 255, 0, 0, 0, 0),
6967            ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
6968            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6969            ::capnp::word(209, 0, 0, 0, 122, 0, 0, 0),
6970            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6971            ::capnp::word(208, 0, 0, 0, 3, 0, 1, 0),
6972            ::capnp::word(220, 0, 0, 0, 2, 0, 1, 0),
6973            ::capnp::word(5, 0, 250, 255, 0, 0, 0, 0),
6974            ::capnp::word(0, 0, 1, 0, 5, 0, 0, 0),
6975            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6976            ::capnp::word(217, 0, 0, 0, 138, 0, 0, 0),
6977            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6978            ::capnp::word(220, 0, 0, 0, 3, 0, 1, 0),
6979            ::capnp::word(232, 0, 0, 0, 2, 0, 1, 0),
6980            ::capnp::word(6, 0, 0, 0, 2, 0, 0, 0),
6981            ::capnp::word(0, 0, 1, 0, 6, 0, 0, 0),
6982            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
6983            ::capnp::word(229, 0, 0, 0, 90, 0, 0, 0),
6984            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6985            ::capnp::word(228, 0, 0, 0, 3, 0, 1, 0),
6986            ::capnp::word(240, 0, 0, 0, 2, 0, 1, 0),
6987            ::capnp::word(110, 111, 110, 101, 0, 0, 0, 0),
6988            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6989            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6990            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6991            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6992            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6993            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6994            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6995            ::capnp::word(115, 101, 110, 100, 101, 114, 72, 111),
6996            ::capnp::word(115, 116, 101, 100, 0, 0, 0, 0),
6997            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
6998            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
6999            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7000            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7001            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
7002            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7003            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7004            ::capnp::word(115, 101, 110, 100, 101, 114, 80, 114),
7005            ::capnp::word(111, 109, 105, 115, 101, 0, 0, 0),
7006            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
7007            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7008            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7009            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7010            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
7011            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7012            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7013            ::capnp::word(114, 101, 99, 101, 105, 118, 101, 114),
7014            ::capnp::word(72, 111, 115, 116, 101, 100, 0, 0),
7015            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
7016            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7017            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7018            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7019            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
7020            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7021            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7022            ::capnp::word(114, 101, 99, 101, 105, 118, 101, 114),
7023            ::capnp::word(65, 110, 115, 119, 101, 114, 0, 0),
7024            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
7025            ::capnp::word(160, 28, 111, 205, 214, 177, 0, 216),
7026            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7027            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7028            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
7029            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7030            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7031            ::capnp::word(116, 104, 105, 114, 100, 80, 97, 114),
7032            ::capnp::word(116, 121, 72, 111, 115, 116, 101, 100),
7033            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7034            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
7035            ::capnp::word(125, 2, 240, 225, 253, 7, 112, 211),
7036            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7037            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7038            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
7039            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7040            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7041            ::capnp::word(97, 116, 116, 97, 99, 104, 101, 100),
7042            ::capnp::word(70, 100, 0, 0, 0, 0, 0, 0),
7043            ::capnp::word(6, 0, 0, 0, 0, 0, 0, 0),
7044            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7045            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7046            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7047            ::capnp::word(6, 0, 255, 0, 0, 0, 0, 0),
7048            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7049            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7050        ];
7051        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
7052            match index {
7053                0 => <() as ::capnp::introspect::Introspect>::introspect(),
7054                1 => <u32 as ::capnp::introspect::Introspect>::introspect(),
7055                2 => <u32 as ::capnp::introspect::Introspect>::introspect(),
7056                3 => <u32 as ::capnp::introspect::Introspect>::introspect(),
7057                4 => <crate::rpc_capnp::promised_answer::Owned as ::capnp::introspect::Introspect>::introspect(),
7058                5 => <crate::rpc_capnp::third_party_cap_descriptor::Owned as ::capnp::introspect::Introspect>::introspect(),
7059                6 => <u8 as ::capnp::introspect::Introspect>::introspect(),
7060                _ => ::capnp::introspect::panic_invalid_field_index(index),
7061            }
7062        }
7063        pub(crate) fn get_annotation_types(
7064            child_index: Option<u16>,
7065            index: u32,
7066        ) -> ::capnp::introspect::Type {
7067            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
7068        }
7069        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
7070            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
7071        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
7072            ::capnp::introspect::RawStructSchema::new(
7073                &ARENA,
7074                NONUNION_MEMBERS,
7075                MEMBERS_BY_DISCRIMINANT,
7076                MEMBERS_BY_NAME,
7077            );
7078        pub(crate) static NONUNION_MEMBERS: &[u16] = &[6];
7079        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[0, 1, 2, 3, 4, 5];
7080        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[6, 0, 4, 3, 1, 2, 5];
7081        pub(crate) const TYPE_ID: u64 = 0x8523_ddc4_0b86_b8b0;
7082    }
7083    pub enum Which<A0, A1> {
7084        None(()),
7085        SenderHosted(u32),
7086        SenderPromise(u32),
7087        ReceiverHosted(u32),
7088        ReceiverAnswer(A0),
7089        ThirdPartyHosted(A1),
7090    }
7091    pub type WhichReader<'a> = Which<
7092        ::capnp::Result<crate::rpc_capnp::promised_answer::Reader<'a>>,
7093        ::capnp::Result<crate::rpc_capnp::third_party_cap_descriptor::Reader<'a>>,
7094    >;
7095    pub type WhichBuilder<'a> = Which<
7096        ::capnp::Result<crate::rpc_capnp::promised_answer::Builder<'a>>,
7097        ::capnp::Result<crate::rpc_capnp::third_party_cap_descriptor::Builder<'a>>,
7098    >;
7099}
7100
7101pub mod promised_answer {
7102    #[derive(Copy, Clone)]
7103    pub struct Owned(());
7104    impl ::capnp::introspect::Introspect for Owned {
7105        fn introspect() -> ::capnp::introspect::Type {
7106            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
7107                generic: &_private::RAW_SCHEMA,
7108                field_types: _private::get_field_types,
7109                annotation_types: _private::get_annotation_types,
7110            })
7111            .into()
7112        }
7113    }
7114    impl ::capnp::traits::Owned for Owned {
7115        type Reader<'a> = Reader<'a>;
7116        type Builder<'a> = Builder<'a>;
7117    }
7118    impl ::capnp::traits::OwnedStruct for Owned {
7119        type Reader<'a> = Reader<'a>;
7120        type Builder<'a> = Builder<'a>;
7121    }
7122    impl ::capnp::traits::Pipelined for Owned {
7123        type Pipeline = Pipeline;
7124    }
7125
7126    pub struct Reader<'a> {
7127        reader: ::capnp::private::layout::StructReader<'a>,
7128    }
7129    impl ::core::marker::Copy for Reader<'_> {}
7130    impl ::core::clone::Clone for Reader<'_> {
7131        fn clone(&self) -> Self {
7132            *self
7133        }
7134    }
7135
7136    impl ::capnp::traits::HasTypeId for Reader<'_> {
7137        const TYPE_ID: u64 = _private::TYPE_ID;
7138    }
7139    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
7140        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
7141            Self { reader }
7142        }
7143    }
7144
7145    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
7146        fn from(reader: Reader<'a>) -> Self {
7147            Self::Struct(::capnp::dynamic_struct::Reader::new(
7148                reader.reader,
7149                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
7150                    generic: &_private::RAW_SCHEMA,
7151                    field_types: _private::get_field_types,
7152                    annotation_types: _private::get_annotation_types,
7153                }),
7154            ))
7155        }
7156    }
7157
7158    impl ::core::fmt::Debug for Reader<'_> {
7159        fn fmt(
7160            &self,
7161            f: &mut ::core::fmt::Formatter<'_>,
7162        ) -> ::core::result::Result<(), ::core::fmt::Error> {
7163            core::fmt::Debug::fmt(
7164                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
7165                f,
7166            )
7167        }
7168    }
7169
7170    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
7171        fn get_from_pointer(
7172            reader: &::capnp::private::layout::PointerReader<'a>,
7173            default: ::core::option::Option<&'a [::capnp::Word]>,
7174        ) -> ::capnp::Result<Self> {
7175            ::core::result::Result::Ok(reader.get_struct(default)?.into())
7176        }
7177    }
7178
7179    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
7180        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
7181            self.reader
7182        }
7183    }
7184
7185    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
7186        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
7187            self.reader
7188                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
7189        }
7190    }
7191
7192    impl<'a> Reader<'a> {
7193        pub fn reborrow(&self) -> Reader<'_> {
7194            Self { ..*self }
7195        }
7196
7197        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
7198            self.reader.total_size()
7199        }
7200        #[inline]
7201        pub fn get_question_id(self) -> u32 {
7202            self.reader.get_data_field::<u32>(0)
7203        }
7204        #[inline]
7205        pub fn get_transform(
7206            self,
7207        ) -> ::capnp::Result<
7208            ::capnp::struct_list::Reader<'a, crate::rpc_capnp::promised_answer::op::Owned>,
7209        > {
7210            ::capnp::traits::FromPointerReader::get_from_pointer(
7211                &self.reader.get_pointer_field(0),
7212                ::core::option::Option::None,
7213            )
7214        }
7215        #[inline]
7216        pub fn has_transform(&self) -> bool {
7217            !self.reader.get_pointer_field(0).is_null()
7218        }
7219    }
7220
7221    pub struct Builder<'a> {
7222        builder: ::capnp::private::layout::StructBuilder<'a>,
7223    }
7224    impl ::capnp::traits::HasStructSize for Builder<'_> {
7225        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
7226            ::capnp::private::layout::StructSize {
7227                data: 1,
7228                pointers: 1,
7229            };
7230    }
7231    impl ::capnp::traits::HasTypeId for Builder<'_> {
7232        const TYPE_ID: u64 = _private::TYPE_ID;
7233    }
7234    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
7235        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
7236            Self { builder }
7237        }
7238    }
7239
7240    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
7241        fn from(builder: Builder<'a>) -> Self {
7242            Self::Struct(::capnp::dynamic_struct::Builder::new(
7243                builder.builder,
7244                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
7245                    generic: &_private::RAW_SCHEMA,
7246                    field_types: _private::get_field_types,
7247                    annotation_types: _private::get_annotation_types,
7248                }),
7249            ))
7250        }
7251    }
7252
7253    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
7254        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
7255            self.builder
7256                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
7257        }
7258    }
7259
7260    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
7261        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
7262            builder
7263                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
7264                .into()
7265        }
7266        fn get_from_pointer(
7267            builder: ::capnp::private::layout::PointerBuilder<'a>,
7268            default: ::core::option::Option<&'a [::capnp::Word]>,
7269        ) -> ::capnp::Result<Self> {
7270            ::core::result::Result::Ok(
7271                builder
7272                    .get_struct(
7273                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
7274                        default,
7275                    )?
7276                    .into(),
7277            )
7278        }
7279    }
7280
7281    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
7282        fn set_pointer_builder(
7283            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
7284            value: Self,
7285            canonicalize: bool,
7286        ) -> ::capnp::Result<()> {
7287            pointer.set_struct(&value.reader, canonicalize)
7288        }
7289    }
7290
7291    impl<'a> Builder<'a> {
7292        pub fn into_reader(self) -> Reader<'a> {
7293            self.builder.into_reader().into()
7294        }
7295        pub fn reborrow(&mut self) -> Builder<'_> {
7296            Builder {
7297                builder: self.builder.reborrow(),
7298            }
7299        }
7300        pub fn reborrow_as_reader(&self) -> Reader<'_> {
7301            self.builder.as_reader().into()
7302        }
7303
7304        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
7305            self.builder.as_reader().total_size()
7306        }
7307        #[inline]
7308        pub fn get_question_id(self) -> u32 {
7309            self.builder.get_data_field::<u32>(0)
7310        }
7311        #[inline]
7312        pub fn set_question_id(&mut self, value: u32) {
7313            self.builder.set_data_field::<u32>(0, value);
7314        }
7315        #[inline]
7316        pub fn get_transform(
7317            self,
7318        ) -> ::capnp::Result<
7319            ::capnp::struct_list::Builder<'a, crate::rpc_capnp::promised_answer::op::Owned>,
7320        > {
7321            ::capnp::traits::FromPointerBuilder::get_from_pointer(
7322                self.builder.get_pointer_field(0),
7323                ::core::option::Option::None,
7324            )
7325        }
7326        #[inline]
7327        pub fn set_transform(
7328            &mut self,
7329            value: ::capnp::struct_list::Reader<'_, crate::rpc_capnp::promised_answer::op::Owned>,
7330        ) -> ::capnp::Result<()> {
7331            ::capnp::traits::SetterInput::set_pointer_builder(
7332                self.builder.reborrow().get_pointer_field(0),
7333                value,
7334                false,
7335            )
7336        }
7337        #[inline]
7338        pub fn init_transform(
7339            self,
7340            size: u32,
7341        ) -> ::capnp::struct_list::Builder<'a, crate::rpc_capnp::promised_answer::op::Owned>
7342        {
7343            ::capnp::traits::FromPointerBuilder::init_pointer(
7344                self.builder.get_pointer_field(0),
7345                size,
7346            )
7347        }
7348        #[inline]
7349        pub fn has_transform(&self) -> bool {
7350            !self.builder.is_pointer_field_null(0)
7351        }
7352    }
7353
7354    pub struct Pipeline {
7355        _typeless: ::capnp::any_pointer::Pipeline,
7356    }
7357    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
7358        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
7359            Self {
7360                _typeless: typeless,
7361            }
7362        }
7363    }
7364    impl Pipeline {}
7365    mod _private {
7366        pub(crate) static ENCODED_NODE: [::capnp::Word; 57] = [
7367            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
7368            ::capnp::word(160, 28, 111, 205, 214, 177, 0, 216),
7369            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
7370            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
7371            ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
7372            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7373            ::capnp::word(21, 0, 0, 0, 202, 0, 0, 0),
7374            ::capnp::word(33, 0, 0, 0, 23, 0, 0, 0),
7375            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7376            ::capnp::word(41, 0, 0, 0, 119, 0, 0, 0),
7377            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7378            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7379            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
7380            ::capnp::word(112, 58, 80, 114, 111, 109, 105, 115),
7381            ::capnp::word(101, 100, 65, 110, 115, 119, 101, 114),
7382            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7383            ::capnp::word(4, 0, 0, 0, 1, 0, 1, 0),
7384            ::capnp::word(129, 144, 86, 21, 68, 148, 22, 243),
7385            ::capnp::word(1, 0, 0, 0, 26, 0, 0, 0),
7386            ::capnp::word(79, 112, 0, 0, 0, 0, 0, 0),
7387            ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
7388            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7389            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
7390            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7391            ::capnp::word(41, 0, 0, 0, 90, 0, 0, 0),
7392            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7393            ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
7394            ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
7395            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
7396            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
7397            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7398            ::capnp::word(49, 0, 0, 0, 82, 0, 0, 0),
7399            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7400            ::capnp::word(48, 0, 0, 0, 3, 0, 1, 0),
7401            ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
7402            ::capnp::word(113, 117, 101, 115, 116, 105, 111, 110),
7403            ::capnp::word(73, 100, 0, 0, 0, 0, 0, 0),
7404            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
7405            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7406            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7407            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7408            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
7409            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7410            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7411            ::capnp::word(116, 114, 97, 110, 115, 102, 111, 114),
7412            ::capnp::word(109, 0, 0, 0, 0, 0, 0, 0),
7413            ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
7414            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7415            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7416            ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
7417            ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
7418            ::capnp::word(129, 144, 86, 21, 68, 148, 22, 243),
7419            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7420            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7421            ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
7422            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7423            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7424        ];
7425        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
7426            match index {
7427                0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
7428                1 => <::capnp::struct_list::Owned<crate::rpc_capnp::promised_answer::op::Owned> as ::capnp::introspect::Introspect>::introspect(),
7429                _ => ::capnp::introspect::panic_invalid_field_index(index),
7430            }
7431        }
7432        pub(crate) fn get_annotation_types(
7433            child_index: Option<u16>,
7434            index: u32,
7435        ) -> ::capnp::introspect::Type {
7436            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
7437        }
7438        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
7439            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
7440        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
7441            ::capnp::introspect::RawStructSchema::new(
7442                &ARENA,
7443                NONUNION_MEMBERS,
7444                MEMBERS_BY_DISCRIMINANT,
7445                MEMBERS_BY_NAME,
7446            );
7447        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
7448        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
7449        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 1];
7450        pub(crate) const TYPE_ID: u64 = 0xd800_b1d6_cd6f_1ca0;
7451    }
7452
7453    pub mod op {
7454        pub use self::Which::{GetPointerField, Noop};
7455
7456        #[derive(Copy, Clone)]
7457        pub struct Owned(());
7458        impl ::capnp::introspect::Introspect for Owned {
7459            fn introspect() -> ::capnp::introspect::Type {
7460                ::capnp::introspect::TypeVariant::Struct(
7461                    ::capnp::introspect::RawBrandedStructSchema {
7462                        generic: &_private::RAW_SCHEMA,
7463                        field_types: _private::get_field_types,
7464                        annotation_types: _private::get_annotation_types,
7465                    },
7466                )
7467                .into()
7468            }
7469        }
7470        impl ::capnp::traits::Owned for Owned {
7471            type Reader<'a> = Reader<'a>;
7472            type Builder<'a> = Builder<'a>;
7473        }
7474        impl ::capnp::traits::OwnedStruct for Owned {
7475            type Reader<'a> = Reader<'a>;
7476            type Builder<'a> = Builder<'a>;
7477        }
7478        impl ::capnp::traits::Pipelined for Owned {
7479            type Pipeline = Pipeline;
7480        }
7481
7482        pub struct Reader<'a> {
7483            reader: ::capnp::private::layout::StructReader<'a>,
7484        }
7485        impl ::core::marker::Copy for Reader<'_> {}
7486        impl ::core::clone::Clone for Reader<'_> {
7487            fn clone(&self) -> Self {
7488                *self
7489            }
7490        }
7491
7492        impl ::capnp::traits::HasTypeId for Reader<'_> {
7493            const TYPE_ID: u64 = _private::TYPE_ID;
7494        }
7495        impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
7496            fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
7497                Self { reader }
7498            }
7499        }
7500
7501        impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
7502            fn from(reader: Reader<'a>) -> Self {
7503                Self::Struct(::capnp::dynamic_struct::Reader::new(
7504                    reader.reader,
7505                    ::capnp::schema::StructSchema::new(
7506                        ::capnp::introspect::RawBrandedStructSchema {
7507                            generic: &_private::RAW_SCHEMA,
7508                            field_types: _private::get_field_types,
7509                            annotation_types: _private::get_annotation_types,
7510                        },
7511                    ),
7512                ))
7513            }
7514        }
7515
7516        impl ::core::fmt::Debug for Reader<'_> {
7517            fn fmt(
7518                &self,
7519                f: &mut ::core::fmt::Formatter<'_>,
7520            ) -> ::core::result::Result<(), ::core::fmt::Error> {
7521                core::fmt::Debug::fmt(
7522                    &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
7523                    f,
7524                )
7525            }
7526        }
7527
7528        impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
7529            fn get_from_pointer(
7530                reader: &::capnp::private::layout::PointerReader<'a>,
7531                default: ::core::option::Option<&'a [::capnp::Word]>,
7532            ) -> ::capnp::Result<Self> {
7533                ::core::result::Result::Ok(reader.get_struct(default)?.into())
7534            }
7535        }
7536
7537        impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
7538            fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
7539                self.reader
7540            }
7541        }
7542
7543        impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
7544            fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
7545                self.reader
7546                    .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
7547            }
7548        }
7549
7550        impl Reader<'_> {
7551            pub fn reborrow(&self) -> Reader<'_> {
7552                Self { ..*self }
7553            }
7554
7555            pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
7556                self.reader.total_size()
7557            }
7558            #[inline]
7559            pub fn which(self) -> ::core::result::Result<WhichReader, ::capnp::NotInSchema> {
7560                match self.reader.get_data_field::<u16>(0) {
7561                    0 => ::core::result::Result::Ok(Noop(())),
7562                    1 => ::core::result::Result::Ok(GetPointerField(
7563                        self.reader.get_data_field::<u16>(1),
7564                    )),
7565                    x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
7566                }
7567            }
7568        }
7569
7570        pub struct Builder<'a> {
7571            builder: ::capnp::private::layout::StructBuilder<'a>,
7572        }
7573        impl ::capnp::traits::HasStructSize for Builder<'_> {
7574            const STRUCT_SIZE: ::capnp::private::layout::StructSize =
7575                ::capnp::private::layout::StructSize {
7576                    data: 1,
7577                    pointers: 0,
7578                };
7579        }
7580        impl ::capnp::traits::HasTypeId for Builder<'_> {
7581            const TYPE_ID: u64 = _private::TYPE_ID;
7582        }
7583        impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
7584            fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
7585                Self { builder }
7586            }
7587        }
7588
7589        impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
7590            fn from(builder: Builder<'a>) -> Self {
7591                Self::Struct(::capnp::dynamic_struct::Builder::new(
7592                    builder.builder,
7593                    ::capnp::schema::StructSchema::new(
7594                        ::capnp::introspect::RawBrandedStructSchema {
7595                            generic: &_private::RAW_SCHEMA,
7596                            field_types: _private::get_field_types,
7597                            annotation_types: _private::get_annotation_types,
7598                        },
7599                    ),
7600                ))
7601            }
7602        }
7603
7604        impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
7605            fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
7606                self.builder
7607                    .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
7608            }
7609        }
7610
7611        impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
7612            fn init_pointer(
7613                builder: ::capnp::private::layout::PointerBuilder<'a>,
7614                _size: u32,
7615            ) -> Self {
7616                builder
7617                    .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
7618                    .into()
7619            }
7620            fn get_from_pointer(
7621                builder: ::capnp::private::layout::PointerBuilder<'a>,
7622                default: ::core::option::Option<&'a [::capnp::Word]>,
7623            ) -> ::capnp::Result<Self> {
7624                ::core::result::Result::Ok(
7625                    builder
7626                        .get_struct(
7627                            <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
7628                            default,
7629                        )?
7630                        .into(),
7631                )
7632            }
7633        }
7634
7635        impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
7636            fn set_pointer_builder(
7637                mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
7638                value: Self,
7639                canonicalize: bool,
7640            ) -> ::capnp::Result<()> {
7641                pointer.set_struct(&value.reader, canonicalize)
7642            }
7643        }
7644
7645        impl<'a> Builder<'a> {
7646            pub fn into_reader(self) -> Reader<'a> {
7647                self.builder.into_reader().into()
7648            }
7649            pub fn reborrow(&mut self) -> Builder<'_> {
7650                Builder {
7651                    builder: self.builder.reborrow(),
7652                }
7653            }
7654            pub fn reborrow_as_reader(&self) -> Reader<'_> {
7655                self.builder.as_reader().into()
7656            }
7657
7658            pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
7659                self.builder.as_reader().total_size()
7660            }
7661            #[inline]
7662            pub fn set_noop(&mut self, _value: ()) {
7663                self.builder.set_data_field::<u16>(0, 0);
7664            }
7665            #[inline]
7666            pub fn set_get_pointer_field(&mut self, value: u16) {
7667                self.builder.set_data_field::<u16>(0, 1);
7668                self.builder.set_data_field::<u16>(1, value);
7669            }
7670            #[inline]
7671            pub fn which(self) -> ::core::result::Result<WhichBuilder, ::capnp::NotInSchema> {
7672                match self.builder.get_data_field::<u16>(0) {
7673                    0 => ::core::result::Result::Ok(Noop(())),
7674                    1 => ::core::result::Result::Ok(GetPointerField(
7675                        self.builder.get_data_field::<u16>(1),
7676                    )),
7677                    x => ::core::result::Result::Err(::capnp::NotInSchema(x)),
7678                }
7679            }
7680        }
7681
7682        pub struct Pipeline {
7683            _typeless: ::capnp::any_pointer::Pipeline,
7684        }
7685        impl ::capnp::capability::FromTypelessPipeline for Pipeline {
7686            fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
7687                Self {
7688                    _typeless: typeless,
7689                }
7690            }
7691        }
7692        impl Pipeline {}
7693        mod _private {
7694            pub(crate) static ENCODED_NODE: [::capnp::Word; 49] = [
7695                ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
7696                ::capnp::word(129, 144, 86, 21, 68, 148, 22, 243),
7697                ::capnp::word(25, 0, 0, 0, 1, 0, 1, 0),
7698                ::capnp::word(160, 28, 111, 205, 214, 177, 0, 216),
7699                ::capnp::word(0, 0, 7, 0, 0, 0, 2, 0),
7700                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7701                ::capnp::word(21, 0, 0, 0, 226, 0, 0, 0),
7702                ::capnp::word(33, 0, 0, 0, 7, 0, 0, 0),
7703                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7704                ::capnp::word(29, 0, 0, 0, 119, 0, 0, 0),
7705                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7706                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7707                ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
7708                ::capnp::word(112, 58, 80, 114, 111, 109, 105, 115),
7709                ::capnp::word(101, 100, 65, 110, 115, 119, 101, 114),
7710                ::capnp::word(46, 79, 112, 0, 0, 0, 0, 0),
7711                ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
7712                ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
7713                ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
7714                ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
7715                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7716                ::capnp::word(41, 0, 0, 0, 42, 0, 0, 0),
7717                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7718                ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
7719                ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
7720                ::capnp::word(1, 0, 254, 255, 1, 0, 0, 0),
7721                ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
7722                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7723                ::capnp::word(45, 0, 0, 0, 130, 0, 0, 0),
7724                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7725                ::capnp::word(44, 0, 0, 0, 3, 0, 1, 0),
7726                ::capnp::word(56, 0, 0, 0, 2, 0, 1, 0),
7727                ::capnp::word(110, 111, 111, 112, 0, 0, 0, 0),
7728                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7729                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7730                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7731                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7732                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7733                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7734                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7735                ::capnp::word(103, 101, 116, 80, 111, 105, 110, 116),
7736                ::capnp::word(101, 114, 70, 105, 101, 108, 100, 0),
7737                ::capnp::word(7, 0, 0, 0, 0, 0, 0, 0),
7738                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7739                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7740                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7741                ::capnp::word(7, 0, 0, 0, 0, 0, 0, 0),
7742                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7743                ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
7744            ];
7745            pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
7746                match index {
7747                    0 => <() as ::capnp::introspect::Introspect>::introspect(),
7748                    1 => <u16 as ::capnp::introspect::Introspect>::introspect(),
7749                    _ => ::capnp::introspect::panic_invalid_field_index(index),
7750                }
7751            }
7752            pub(crate) fn get_annotation_types(
7753                child_index: Option<u16>,
7754                index: u32,
7755            ) -> ::capnp::introspect::Type {
7756                ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
7757            }
7758            pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
7759                ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
7760            pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
7761                ::capnp::introspect::RawStructSchema::new(
7762                    &ARENA,
7763                    NONUNION_MEMBERS,
7764                    MEMBERS_BY_DISCRIMINANT,
7765                    MEMBERS_BY_NAME,
7766                );
7767            pub(crate) static NONUNION_MEMBERS: &[u16] = &[];
7768            pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[0, 1];
7769            pub(crate) static MEMBERS_BY_NAME: &[u16] = &[1, 0];
7770            pub(crate) const TYPE_ID: u64 = 0xf316_9444_1556_9081;
7771        }
7772        pub enum Which {
7773            Noop(()),
7774            GetPointerField(u16),
7775        }
7776        pub type WhichReader = Which;
7777        pub type WhichBuilder = Which;
7778    }
7779}
7780
7781pub mod third_party_cap_descriptor {
7782    #[derive(Copy, Clone)]
7783    pub struct Owned(());
7784    impl ::capnp::introspect::Introspect for Owned {
7785        fn introspect() -> ::capnp::introspect::Type {
7786            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
7787                generic: &_private::RAW_SCHEMA,
7788                field_types: _private::get_field_types,
7789                annotation_types: _private::get_annotation_types,
7790            })
7791            .into()
7792        }
7793    }
7794    impl ::capnp::traits::Owned for Owned {
7795        type Reader<'a> = Reader<'a>;
7796        type Builder<'a> = Builder<'a>;
7797    }
7798    impl ::capnp::traits::OwnedStruct for Owned {
7799        type Reader<'a> = Reader<'a>;
7800        type Builder<'a> = Builder<'a>;
7801    }
7802    impl ::capnp::traits::Pipelined for Owned {
7803        type Pipeline = Pipeline;
7804    }
7805
7806    pub struct Reader<'a> {
7807        reader: ::capnp::private::layout::StructReader<'a>,
7808    }
7809    impl ::core::marker::Copy for Reader<'_> {}
7810    impl ::core::clone::Clone for Reader<'_> {
7811        fn clone(&self) -> Self {
7812            *self
7813        }
7814    }
7815
7816    impl ::capnp::traits::HasTypeId for Reader<'_> {
7817        const TYPE_ID: u64 = _private::TYPE_ID;
7818    }
7819    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
7820        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
7821            Self { reader }
7822        }
7823    }
7824
7825    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
7826        fn from(reader: Reader<'a>) -> Self {
7827            Self::Struct(::capnp::dynamic_struct::Reader::new(
7828                reader.reader,
7829                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
7830                    generic: &_private::RAW_SCHEMA,
7831                    field_types: _private::get_field_types,
7832                    annotation_types: _private::get_annotation_types,
7833                }),
7834            ))
7835        }
7836    }
7837
7838    impl ::core::fmt::Debug for Reader<'_> {
7839        fn fmt(
7840            &self,
7841            f: &mut ::core::fmt::Formatter<'_>,
7842        ) -> ::core::result::Result<(), ::core::fmt::Error> {
7843            core::fmt::Debug::fmt(
7844                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
7845                f,
7846            )
7847        }
7848    }
7849
7850    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
7851        fn get_from_pointer(
7852            reader: &::capnp::private::layout::PointerReader<'a>,
7853            default: ::core::option::Option<&'a [::capnp::Word]>,
7854        ) -> ::capnp::Result<Self> {
7855            ::core::result::Result::Ok(reader.get_struct(default)?.into())
7856        }
7857    }
7858
7859    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
7860        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
7861            self.reader
7862        }
7863    }
7864
7865    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
7866        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
7867            self.reader
7868                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
7869        }
7870    }
7871
7872    impl<'a> Reader<'a> {
7873        pub fn reborrow(&self) -> Reader<'_> {
7874            Self { ..*self }
7875        }
7876
7877        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
7878            self.reader.total_size()
7879        }
7880        #[inline]
7881        pub fn get_id(self) -> ::capnp::any_pointer::Reader<'a> {
7882            ::capnp::any_pointer::Reader::new(self.reader.get_pointer_field(0))
7883        }
7884        #[inline]
7885        pub fn has_id(&self) -> bool {
7886            !self.reader.get_pointer_field(0).is_null()
7887        }
7888        #[inline]
7889        pub fn get_vine_id(self) -> u32 {
7890            self.reader.get_data_field::<u32>(0)
7891        }
7892    }
7893
7894    pub struct Builder<'a> {
7895        builder: ::capnp::private::layout::StructBuilder<'a>,
7896    }
7897    impl ::capnp::traits::HasStructSize for Builder<'_> {
7898        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
7899            ::capnp::private::layout::StructSize {
7900                data: 1,
7901                pointers: 1,
7902            };
7903    }
7904    impl ::capnp::traits::HasTypeId for Builder<'_> {
7905        const TYPE_ID: u64 = _private::TYPE_ID;
7906    }
7907    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
7908        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
7909            Self { builder }
7910        }
7911    }
7912
7913    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
7914        fn from(builder: Builder<'a>) -> Self {
7915            Self::Struct(::capnp::dynamic_struct::Builder::new(
7916                builder.builder,
7917                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
7918                    generic: &_private::RAW_SCHEMA,
7919                    field_types: _private::get_field_types,
7920                    annotation_types: _private::get_annotation_types,
7921                }),
7922            ))
7923        }
7924    }
7925
7926    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
7927        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
7928            self.builder
7929                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
7930        }
7931    }
7932
7933    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
7934        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
7935            builder
7936                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
7937                .into()
7938        }
7939        fn get_from_pointer(
7940            builder: ::capnp::private::layout::PointerBuilder<'a>,
7941            default: ::core::option::Option<&'a [::capnp::Word]>,
7942        ) -> ::capnp::Result<Self> {
7943            ::core::result::Result::Ok(
7944                builder
7945                    .get_struct(
7946                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
7947                        default,
7948                    )?
7949                    .into(),
7950            )
7951        }
7952    }
7953
7954    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
7955        fn set_pointer_builder(
7956            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
7957            value: Self,
7958            canonicalize: bool,
7959        ) -> ::capnp::Result<()> {
7960            pointer.set_struct(&value.reader, canonicalize)
7961        }
7962    }
7963
7964    impl<'a> Builder<'a> {
7965        pub fn into_reader(self) -> Reader<'a> {
7966            self.builder.into_reader().into()
7967        }
7968        pub fn reborrow(&mut self) -> Builder<'_> {
7969            Builder {
7970                builder: self.builder.reborrow(),
7971            }
7972        }
7973        pub fn reborrow_as_reader(&self) -> Reader<'_> {
7974            self.builder.as_reader().into()
7975        }
7976
7977        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
7978            self.builder.as_reader().total_size()
7979        }
7980        #[inline]
7981        pub fn get_id(self) -> ::capnp::any_pointer::Builder<'a> {
7982            ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0))
7983        }
7984        #[inline]
7985        pub fn init_id(self) -> ::capnp::any_pointer::Builder<'a> {
7986            let mut result = ::capnp::any_pointer::Builder::new(self.builder.get_pointer_field(0));
7987            result.clear();
7988            result
7989        }
7990        #[inline]
7991        pub fn has_id(&self) -> bool {
7992            !self.builder.is_pointer_field_null(0)
7993        }
7994        #[inline]
7995        pub fn get_vine_id(self) -> u32 {
7996            self.builder.get_data_field::<u32>(0)
7997        }
7998        #[inline]
7999        pub fn set_vine_id(&mut self, value: u32) {
8000            self.builder.set_data_field::<u32>(0, value);
8001        }
8002    }
8003
8004    pub struct Pipeline {
8005        _typeless: ::capnp::any_pointer::Pipeline,
8006    }
8007    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
8008        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
8009            Self {
8010                _typeless: typeless,
8011            }
8012        }
8013    }
8014    impl Pipeline {
8015        pub fn get_id(&self) -> ::capnp::any_pointer::Pipeline {
8016            ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
8017        }
8018    }
8019    mod _private {
8020        pub(crate) static ENCODED_NODE: [::capnp::Word; 49] = [
8021            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
8022            ::capnp::word(125, 2, 240, 225, 253, 7, 112, 211),
8023            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
8024            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
8025            ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
8026            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8027            ::capnp::word(21, 0, 0, 0, 18, 1, 0, 0),
8028            ::capnp::word(37, 0, 0, 0, 7, 0, 0, 0),
8029            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8030            ::capnp::word(33, 0, 0, 0, 119, 0, 0, 0),
8031            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8032            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8033            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
8034            ::capnp::word(112, 58, 84, 104, 105, 114, 100, 80),
8035            ::capnp::word(97, 114, 116, 121, 67, 97, 112, 68),
8036            ::capnp::word(101, 115, 99, 114, 105, 112, 116, 111),
8037            ::capnp::word(114, 0, 0, 0, 0, 0, 0, 0),
8038            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
8039            ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
8040            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8041            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
8042            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8043            ::capnp::word(41, 0, 0, 0, 26, 0, 0, 0),
8044            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8045            ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
8046            ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
8047            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
8048            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
8049            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8050            ::capnp::word(45, 0, 0, 0, 58, 0, 0, 0),
8051            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8052            ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
8053            ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
8054            ::capnp::word(105, 100, 0, 0, 0, 0, 0, 0),
8055            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
8056            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8057            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8058            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8059            ::capnp::word(18, 0, 0, 0, 0, 0, 0, 0),
8060            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8061            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8062            ::capnp::word(118, 105, 110, 101, 73, 100, 0, 0),
8063            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
8064            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8065            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8066            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8067            ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
8068            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8069            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8070        ];
8071        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
8072            match index {
8073                0 => <::capnp::any_pointer::Owned as ::capnp::introspect::Introspect>::introspect(),
8074                1 => <u32 as ::capnp::introspect::Introspect>::introspect(),
8075                _ => ::capnp::introspect::panic_invalid_field_index(index),
8076            }
8077        }
8078        pub(crate) fn get_annotation_types(
8079            child_index: Option<u16>,
8080            index: u32,
8081        ) -> ::capnp::introspect::Type {
8082            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
8083        }
8084        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
8085            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
8086        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
8087            ::capnp::introspect::RawStructSchema::new(
8088                &ARENA,
8089                NONUNION_MEMBERS,
8090                MEMBERS_BY_DISCRIMINANT,
8091                MEMBERS_BY_NAME,
8092            );
8093        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1];
8094        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
8095        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[0, 1];
8096        pub(crate) const TYPE_ID: u64 = 0xd370_07fd_e1f0_027d;
8097    }
8098}
8099
8100pub mod exception {
8101    #[derive(Copy, Clone)]
8102    pub struct Owned(());
8103    impl ::capnp::introspect::Introspect for Owned {
8104        fn introspect() -> ::capnp::introspect::Type {
8105            ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
8106                generic: &_private::RAW_SCHEMA,
8107                field_types: _private::get_field_types,
8108                annotation_types: _private::get_annotation_types,
8109            })
8110            .into()
8111        }
8112    }
8113    impl ::capnp::traits::Owned for Owned {
8114        type Reader<'a> = Reader<'a>;
8115        type Builder<'a> = Builder<'a>;
8116    }
8117    impl ::capnp::traits::OwnedStruct for Owned {
8118        type Reader<'a> = Reader<'a>;
8119        type Builder<'a> = Builder<'a>;
8120    }
8121    impl ::capnp::traits::Pipelined for Owned {
8122        type Pipeline = Pipeline;
8123    }
8124
8125    pub struct Reader<'a> {
8126        reader: ::capnp::private::layout::StructReader<'a>,
8127    }
8128    impl ::core::marker::Copy for Reader<'_> {}
8129    impl ::core::clone::Clone for Reader<'_> {
8130        fn clone(&self) -> Self {
8131            *self
8132        }
8133    }
8134
8135    impl ::capnp::traits::HasTypeId for Reader<'_> {
8136        const TYPE_ID: u64 = _private::TYPE_ID;
8137    }
8138    impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
8139        fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
8140            Self { reader }
8141        }
8142    }
8143
8144    impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
8145        fn from(reader: Reader<'a>) -> Self {
8146            Self::Struct(::capnp::dynamic_struct::Reader::new(
8147                reader.reader,
8148                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
8149                    generic: &_private::RAW_SCHEMA,
8150                    field_types: _private::get_field_types,
8151                    annotation_types: _private::get_annotation_types,
8152                }),
8153            ))
8154        }
8155    }
8156
8157    impl ::core::fmt::Debug for Reader<'_> {
8158        fn fmt(
8159            &self,
8160            f: &mut ::core::fmt::Formatter<'_>,
8161        ) -> ::core::result::Result<(), ::core::fmt::Error> {
8162            core::fmt::Debug::fmt(
8163                &::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
8164                f,
8165            )
8166        }
8167    }
8168
8169    impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
8170        fn get_from_pointer(
8171            reader: &::capnp::private::layout::PointerReader<'a>,
8172            default: ::core::option::Option<&'a [::capnp::Word]>,
8173        ) -> ::capnp::Result<Self> {
8174            ::core::result::Result::Ok(reader.get_struct(default)?.into())
8175        }
8176    }
8177
8178    impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
8179        fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
8180            self.reader
8181        }
8182    }
8183
8184    impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
8185        fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
8186            self.reader
8187                .imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
8188        }
8189    }
8190
8191    impl<'a> Reader<'a> {
8192        pub fn reborrow(&self) -> Reader<'_> {
8193            Self { ..*self }
8194        }
8195
8196        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
8197            self.reader.total_size()
8198        }
8199        #[inline]
8200        pub fn get_reason(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
8201            ::capnp::traits::FromPointerReader::get_from_pointer(
8202                &self.reader.get_pointer_field(0),
8203                ::core::option::Option::None,
8204            )
8205        }
8206        #[inline]
8207        pub fn has_reason(&self) -> bool {
8208            !self.reader.get_pointer_field(0).is_null()
8209        }
8210        #[inline]
8211        pub fn get_obsolete_is_callers_fault(self) -> bool {
8212            self.reader.get_bool_field(0)
8213        }
8214        #[inline]
8215        pub fn get_obsolete_durability(self) -> u16 {
8216            self.reader.get_data_field::<u16>(1)
8217        }
8218        #[inline]
8219        pub fn get_type(
8220            self,
8221        ) -> ::core::result::Result<crate::rpc_capnp::exception::Type, ::capnp::NotInSchema>
8222        {
8223            ::core::convert::TryFrom::try_from(self.reader.get_data_field::<u16>(2))
8224        }
8225        #[inline]
8226        pub fn get_trace(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
8227            ::capnp::traits::FromPointerReader::get_from_pointer(
8228                &self.reader.get_pointer_field(1),
8229                ::core::option::Option::None,
8230            )
8231        }
8232        #[inline]
8233        pub fn has_trace(&self) -> bool {
8234            !self.reader.get_pointer_field(1).is_null()
8235        }
8236    }
8237
8238    pub struct Builder<'a> {
8239        builder: ::capnp::private::layout::StructBuilder<'a>,
8240    }
8241    impl ::capnp::traits::HasStructSize for Builder<'_> {
8242        const STRUCT_SIZE: ::capnp::private::layout::StructSize =
8243            ::capnp::private::layout::StructSize {
8244                data: 1,
8245                pointers: 2,
8246            };
8247    }
8248    impl ::capnp::traits::HasTypeId for Builder<'_> {
8249        const TYPE_ID: u64 = _private::TYPE_ID;
8250    }
8251    impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
8252        fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
8253            Self { builder }
8254        }
8255    }
8256
8257    impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
8258        fn from(builder: Builder<'a>) -> Self {
8259            Self::Struct(::capnp::dynamic_struct::Builder::new(
8260                builder.builder,
8261                ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema {
8262                    generic: &_private::RAW_SCHEMA,
8263                    field_types: _private::get_field_types,
8264                    annotation_types: _private::get_annotation_types,
8265                }),
8266            ))
8267        }
8268    }
8269
8270    impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
8271        fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
8272            self.builder
8273                .imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
8274        }
8275    }
8276
8277    impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
8278        fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
8279            builder
8280                .init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
8281                .into()
8282        }
8283        fn get_from_pointer(
8284            builder: ::capnp::private::layout::PointerBuilder<'a>,
8285            default: ::core::option::Option<&'a [::capnp::Word]>,
8286        ) -> ::capnp::Result<Self> {
8287            ::core::result::Result::Ok(
8288                builder
8289                    .get_struct(
8290                        <Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
8291                        default,
8292                    )?
8293                    .into(),
8294            )
8295        }
8296    }
8297
8298    impl ::capnp::traits::SetterInput<Owned> for Reader<'_> {
8299        fn set_pointer_builder(
8300            mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
8301            value: Self,
8302            canonicalize: bool,
8303        ) -> ::capnp::Result<()> {
8304            pointer.set_struct(&value.reader, canonicalize)
8305        }
8306    }
8307
8308    impl<'a> Builder<'a> {
8309        pub fn into_reader(self) -> Reader<'a> {
8310            self.builder.into_reader().into()
8311        }
8312        pub fn reborrow(&mut self) -> Builder<'_> {
8313            Builder {
8314                builder: self.builder.reborrow(),
8315            }
8316        }
8317        pub fn reborrow_as_reader(&self) -> Reader<'_> {
8318            self.builder.as_reader().into()
8319        }
8320
8321        pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
8322            self.builder.as_reader().total_size()
8323        }
8324        #[inline]
8325        pub fn get_reason(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
8326            ::capnp::traits::FromPointerBuilder::get_from_pointer(
8327                self.builder.get_pointer_field(0),
8328                ::core::option::Option::None,
8329            )
8330        }
8331        #[inline]
8332        pub fn set_reason(
8333            &mut self,
8334            value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>,
8335        ) {
8336            ::capnp::traits::SetterInput::set_pointer_builder(
8337                self.builder.reborrow().get_pointer_field(0),
8338                value,
8339                false,
8340            )
8341            .unwrap()
8342        }
8343        #[inline]
8344        pub fn init_reason(self, size: u32) -> ::capnp::text::Builder<'a> {
8345            self.builder.get_pointer_field(0).init_text(size)
8346        }
8347        #[inline]
8348        pub fn has_reason(&self) -> bool {
8349            !self.builder.is_pointer_field_null(0)
8350        }
8351        #[inline]
8352        pub fn get_obsolete_is_callers_fault(self) -> bool {
8353            self.builder.get_bool_field(0)
8354        }
8355        #[inline]
8356        pub fn set_obsolete_is_callers_fault(&mut self, value: bool) {
8357            self.builder.set_bool_field(0, value);
8358        }
8359        #[inline]
8360        pub fn get_obsolete_durability(self) -> u16 {
8361            self.builder.get_data_field::<u16>(1)
8362        }
8363        #[inline]
8364        pub fn set_obsolete_durability(&mut self, value: u16) {
8365            self.builder.set_data_field::<u16>(1, value);
8366        }
8367        #[inline]
8368        pub fn get_type(
8369            self,
8370        ) -> ::core::result::Result<crate::rpc_capnp::exception::Type, ::capnp::NotInSchema>
8371        {
8372            ::core::convert::TryFrom::try_from(self.builder.get_data_field::<u16>(2))
8373        }
8374        #[inline]
8375        pub fn set_type(&mut self, value: crate::rpc_capnp::exception::Type) {
8376            self.builder.set_data_field::<u16>(2, value as u16);
8377        }
8378        #[inline]
8379        pub fn get_trace(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
8380            ::capnp::traits::FromPointerBuilder::get_from_pointer(
8381                self.builder.get_pointer_field(1),
8382                ::core::option::Option::None,
8383            )
8384        }
8385        #[inline]
8386        pub fn set_trace(
8387            &mut self,
8388            value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>,
8389        ) {
8390            ::capnp::traits::SetterInput::set_pointer_builder(
8391                self.builder.reborrow().get_pointer_field(1),
8392                value,
8393                false,
8394            )
8395            .unwrap()
8396        }
8397        #[inline]
8398        pub fn init_trace(self, size: u32) -> ::capnp::text::Builder<'a> {
8399            self.builder.get_pointer_field(1).init_text(size)
8400        }
8401        #[inline]
8402        pub fn has_trace(&self) -> bool {
8403            !self.builder.is_pointer_field_null(1)
8404        }
8405    }
8406
8407    pub struct Pipeline {
8408        _typeless: ::capnp::any_pointer::Pipeline,
8409    }
8410    impl ::capnp::capability::FromTypelessPipeline for Pipeline {
8411        fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
8412            Self {
8413                _typeless: typeless,
8414            }
8415        }
8416    }
8417    impl Pipeline {}
8418    mod _private {
8419        pub(crate) static ENCODED_NODE: [::capnp::Word; 99] = [
8420            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
8421            ::capnp::word(26, 105, 207, 58, 6, 183, 37, 214),
8422            ::capnp::word(10, 0, 0, 0, 1, 0, 1, 0),
8423            ::capnp::word(80, 162, 82, 37, 27, 152, 18, 179),
8424            ::capnp::word(2, 0, 7, 0, 0, 0, 0, 0),
8425            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8426            ::capnp::word(21, 0, 0, 0, 162, 0, 0, 0),
8427            ::capnp::word(29, 0, 0, 0, 23, 0, 0, 0),
8428            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8429            ::capnp::word(37, 0, 0, 0, 31, 1, 0, 0),
8430            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8431            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8432            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
8433            ::capnp::word(112, 58, 69, 120, 99, 101, 112, 116),
8434            ::capnp::word(105, 111, 110, 0, 0, 0, 0, 0),
8435            ::capnp::word(4, 0, 0, 0, 1, 0, 1, 0),
8436            ::capnp::word(88, 189, 76, 63, 226, 150, 140, 178),
8437            ::capnp::word(1, 0, 0, 0, 42, 0, 0, 0),
8438            ::capnp::word(84, 121, 112, 101, 0, 0, 0, 0),
8439            ::capnp::word(20, 0, 0, 0, 3, 0, 4, 0),
8440            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8441            ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
8442            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8443            ::capnp::word(125, 0, 0, 0, 58, 0, 0, 0),
8444            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8445            ::capnp::word(120, 0, 0, 0, 3, 0, 1, 0),
8446            ::capnp::word(132, 0, 0, 0, 2, 0, 1, 0),
8447            ::capnp::word(2, 0, 0, 0, 0, 0, 0, 0),
8448            ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
8449            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8450            ::capnp::word(129, 0, 0, 0, 186, 0, 0, 0),
8451            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8452            ::capnp::word(132, 0, 0, 0, 3, 0, 1, 0),
8453            ::capnp::word(144, 0, 0, 0, 2, 0, 1, 0),
8454            ::capnp::word(3, 0, 0, 0, 1, 0, 0, 0),
8455            ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
8456            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8457            ::capnp::word(141, 0, 0, 0, 154, 0, 0, 0),
8458            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8459            ::capnp::word(144, 0, 0, 0, 3, 0, 1, 0),
8460            ::capnp::word(156, 0, 0, 0, 2, 0, 1, 0),
8461            ::capnp::word(1, 0, 0, 0, 2, 0, 0, 0),
8462            ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
8463            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8464            ::capnp::word(153, 0, 0, 0, 42, 0, 0, 0),
8465            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8466            ::capnp::word(148, 0, 0, 0, 3, 0, 1, 0),
8467            ::capnp::word(160, 0, 0, 0, 2, 0, 1, 0),
8468            ::capnp::word(4, 0, 0, 0, 1, 0, 0, 0),
8469            ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
8470            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8471            ::capnp::word(157, 0, 0, 0, 50, 0, 0, 0),
8472            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8473            ::capnp::word(152, 0, 0, 0, 3, 0, 1, 0),
8474            ::capnp::word(164, 0, 0, 0, 2, 0, 1, 0),
8475            ::capnp::word(114, 101, 97, 115, 111, 110, 0, 0),
8476            ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
8477            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8478            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8479            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8480            ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
8481            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8482            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8483            ::capnp::word(111, 98, 115, 111, 108, 101, 116, 101),
8484            ::capnp::word(73, 115, 67, 97, 108, 108, 101, 114),
8485            ::capnp::word(115, 70, 97, 117, 108, 116, 0, 0),
8486            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
8487            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8488            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8489            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8490            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
8491            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8492            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8493            ::capnp::word(111, 98, 115, 111, 108, 101, 116, 101),
8494            ::capnp::word(68, 117, 114, 97, 98, 105, 108, 105),
8495            ::capnp::word(116, 121, 0, 0, 0, 0, 0, 0),
8496            ::capnp::word(7, 0, 0, 0, 0, 0, 0, 0),
8497            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8498            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8499            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8500            ::capnp::word(7, 0, 0, 0, 0, 0, 0, 0),
8501            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8502            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8503            ::capnp::word(116, 121, 112, 101, 0, 0, 0, 0),
8504            ::capnp::word(15, 0, 0, 0, 0, 0, 0, 0),
8505            ::capnp::word(88, 189, 76, 63, 226, 150, 140, 178),
8506            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8507            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8508            ::capnp::word(15, 0, 0, 0, 0, 0, 0, 0),
8509            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8510            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8511            ::capnp::word(116, 114, 97, 99, 101, 0, 0, 0),
8512            ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
8513            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8514            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8515            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8516            ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
8517            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8518            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8519        ];
8520        pub(crate) fn get_field_types(index: u16) -> ::capnp::introspect::Type {
8521            match index {
8522                0 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
8523                1 => <bool as ::capnp::introspect::Introspect>::introspect(),
8524                2 => <u16 as ::capnp::introspect::Introspect>::introspect(),
8525                3 => <crate::rpc_capnp::exception::Type as ::capnp::introspect::Introspect>::introspect(),
8526                4 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
8527                _ => ::capnp::introspect::panic_invalid_field_index(index),
8528            }
8529        }
8530        pub(crate) fn get_annotation_types(
8531            child_index: Option<u16>,
8532            index: u32,
8533        ) -> ::capnp::introspect::Type {
8534            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
8535        }
8536        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
8537            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
8538        pub(crate) static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
8539            ::capnp::introspect::RawStructSchema::new(
8540                &ARENA,
8541                NONUNION_MEMBERS,
8542                MEMBERS_BY_DISCRIMINANT,
8543                MEMBERS_BY_NAME,
8544            );
8545        pub(crate) static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3, 4];
8546        pub(crate) static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
8547        pub(crate) static MEMBERS_BY_NAME: &[u16] = &[2, 1, 0, 4, 3];
8548        pub(crate) const TYPE_ID: u64 = 0xd625_b706_3acf_691a;
8549    }
8550
8551    #[repr(u16)]
8552    #[derive(Clone, Copy, Debug, PartialEq, Eq)]
8553    pub enum Type {
8554        Failed = 0,
8555        Overloaded = 1,
8556        Disconnected = 2,
8557        Unimplemented = 3,
8558    }
8559
8560    impl ::capnp::introspect::Introspect for Type {
8561        fn introspect() -> ::capnp::introspect::Type {
8562            ::capnp::introspect::TypeVariant::Enum(::capnp::introspect::RawEnumSchema::new(
8563                &type_::ARENA,
8564                type_::get_annotation_types,
8565            ))
8566            .into()
8567        }
8568    }
8569    impl ::core::convert::From<Type> for ::capnp::dynamic_value::Reader<'_> {
8570        fn from(e: Type) -> Self {
8571            ::capnp::dynamic_value::Enum::new(
8572                e.into(),
8573                ::capnp::introspect::RawEnumSchema::new(&type_::ARENA, type_::get_annotation_types)
8574                    .into(),
8575            )
8576            .into()
8577        }
8578    }
8579    impl ::core::convert::TryFrom<u16> for Type {
8580        type Error = ::capnp::NotInSchema;
8581        fn try_from(
8582            value: u16,
8583        ) -> ::core::result::Result<Self, <Type as ::core::convert::TryFrom<u16>>::Error> {
8584            match value {
8585                0 => ::core::result::Result::Ok(Self::Failed),
8586                1 => ::core::result::Result::Ok(Self::Overloaded),
8587                2 => ::core::result::Result::Ok(Self::Disconnected),
8588                3 => ::core::result::Result::Ok(Self::Unimplemented),
8589                n => ::core::result::Result::Err(::capnp::NotInSchema(n)),
8590            }
8591        }
8592    }
8593    impl From<Type> for u16 {
8594        #[inline]
8595        fn from(x: Type) -> u16 {
8596            x as u16
8597        }
8598    }
8599    impl ::capnp::traits::HasTypeId for Type {
8600        const TYPE_ID: u64 = 0xb28c_96e2_3f4c_bd58u64;
8601    }
8602    mod type_ {
8603        pub(crate) static ENCODED_NODE: [::capnp::Word; 37] = [
8604            ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
8605            ::capnp::word(88, 189, 76, 63, 226, 150, 140, 178),
8606            ::capnp::word(20, 0, 0, 0, 2, 0, 0, 0),
8607            ::capnp::word(26, 105, 207, 58, 6, 183, 37, 214),
8608            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8609            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8610            ::capnp::word(21, 0, 0, 0, 202, 0, 0, 0),
8611            ::capnp::word(33, 0, 0, 0, 7, 0, 0, 0),
8612            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8613            ::capnp::word(29, 0, 0, 0, 103, 0, 0, 0),
8614            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8615            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8616            ::capnp::word(114, 112, 99, 46, 99, 97, 112, 110),
8617            ::capnp::word(112, 58, 69, 120, 99, 101, 112, 116),
8618            ::capnp::word(105, 111, 110, 46, 84, 121, 112, 101),
8619            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8620            ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
8621            ::capnp::word(16, 0, 0, 0, 1, 0, 2, 0),
8622            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8623            ::capnp::word(41, 0, 0, 0, 58, 0, 0, 0),
8624            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8625            ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
8626            ::capnp::word(33, 0, 0, 0, 90, 0, 0, 0),
8627            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8628            ::capnp::word(2, 0, 0, 0, 0, 0, 0, 0),
8629            ::capnp::word(29, 0, 0, 0, 106, 0, 0, 0),
8630            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8631            ::capnp::word(3, 0, 0, 0, 0, 0, 0, 0),
8632            ::capnp::word(25, 0, 0, 0, 114, 0, 0, 0),
8633            ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
8634            ::capnp::word(102, 97, 105, 108, 101, 100, 0, 0),
8635            ::capnp::word(111, 118, 101, 114, 108, 111, 97, 100),
8636            ::capnp::word(101, 100, 0, 0, 0, 0, 0, 0),
8637            ::capnp::word(100, 105, 115, 99, 111, 110, 110, 101),
8638            ::capnp::word(99, 116, 101, 100, 0, 0, 0, 0),
8639            ::capnp::word(117, 110, 105, 109, 112, 108, 101, 109),
8640            ::capnp::word(101, 110, 116, 101, 100, 0, 0, 0),
8641        ];
8642        pub(crate) fn get_annotation_types(
8643            child_index: Option<u16>,
8644            index: u32,
8645        ) -> ::capnp::introspect::Type {
8646            ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
8647        }
8648        pub(crate) static ARENA: ::capnp::private::arena::GeneratedCodeArena =
8649            ::capnp::private::arena::GeneratedCodeArena::new(&ENCODED_NODE);
8650    }
8651}