1pub mod query_response {
7 #[derive(Copy, Clone)]
8 pub struct Owned(());
9 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
10 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
11 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
12 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
13
14 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
15 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
16 impl <'a,> ::core::clone::Clone for Reader<'a,> {
17 fn clone(&self) -> Self { *self }
18 }
19
20 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
21 const TYPE_ID: u64 = _private::TYPE_ID;
22 }
23 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
24 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
25 Self { reader, }
26 }
27 }
28
29 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
30 fn from(reader: Reader<'a,>) -> Self {
31 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
32 }
33 }
34
35 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
36 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
37 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
38 }
39 }
40
41 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
42 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
43 ::core::result::Result::Ok(reader.get_struct(default)?.into())
44 }
45 }
46
47 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
48 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
49 self.reader
50 }
51 }
52
53 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
54 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
55 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
56 }
57 }
58
59 impl <'a,> Reader<'a,> {
60 pub fn reborrow(&self) -> Reader<'_,> {
61 Self { .. *self }
62 }
63
64 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
65 self.reader.total_size()
66 }
67 #[inline]
68 pub fn get_columns(self) -> ::capnp::Result<::capnp::struct_list::Reader<'a,crate::api_capnp::column::Owned>> {
69 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
70 }
71 #[inline]
72 pub fn has_columns(&self) -> bool {
73 !self.reader.get_pointer_field(0).is_null()
74 }
75 }
76
77 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
78 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
79 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 1 };
80 }
81 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
82 const TYPE_ID: u64 = _private::TYPE_ID;
83 }
84 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
85 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
86 Self { builder, }
87 }
88 }
89
90 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
91 fn from(builder: Builder<'a,>) -> Self {
92 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
93 }
94 }
95
96 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
97 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
98 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
99 }
100 }
101
102 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
103 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
104 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
105 }
106 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
107 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
108 }
109 }
110
111 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
112 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
113 }
114
115 impl <'a,> Builder<'a,> {
116 pub fn into_reader(self) -> Reader<'a,> {
117 self.builder.into_reader().into()
118 }
119 pub fn reborrow(&mut self) -> Builder<'_,> {
120 Builder { builder: self.builder.reborrow() }
121 }
122 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
123 self.builder.as_reader().into()
124 }
125
126 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
127 self.builder.as_reader().total_size()
128 }
129 #[inline]
130 pub fn get_columns(self) -> ::capnp::Result<::capnp::struct_list::Builder<'a,crate::api_capnp::column::Owned>> {
131 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
132 }
133 #[inline]
134 pub fn set_columns(&mut self, value: ::capnp::struct_list::Reader<'_,crate::api_capnp::column::Owned>) -> ::capnp::Result<()> {
135 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
136 }
137 #[inline]
138 pub fn init_columns(self, size: u32) -> ::capnp::struct_list::Builder<'a,crate::api_capnp::column::Owned> {
139 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), size)
140 }
141 #[inline]
142 pub fn has_columns(&self) -> bool {
143 !self.builder.is_pointer_field_null(0)
144 }
145 }
146
147 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
148 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
149 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
150 Self { _typeless: typeless, }
151 }
152 }
153 impl Pipeline {
154 }
155 mod _private {
156 pub static ENCODED_NODE: [::capnp::Word; 36] = [
157 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
158 ::capnp::word(136, 185, 206, 84, 244, 234, 87, 149),
159 ::capnp::word(10, 0, 0, 0, 1, 0, 0, 0),
160 ::capnp::word(228, 9, 228, 72, 161, 147, 160, 136),
161 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
162 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
163 ::capnp::word(21, 0, 0, 0, 194, 0, 0, 0),
164 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
165 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
166 ::capnp::word(25, 0, 0, 0, 63, 0, 0, 0),
167 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
168 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
169 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
170 ::capnp::word(112, 58, 81, 117, 101, 114, 121, 82),
171 ::capnp::word(101, 115, 112, 111, 110, 115, 101, 0),
172 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
173 ::capnp::word(4, 0, 0, 0, 3, 0, 4, 0),
174 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
175 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
176 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
177 ::capnp::word(13, 0, 0, 0, 66, 0, 0, 0),
178 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
179 ::capnp::word(8, 0, 0, 0, 3, 0, 1, 0),
180 ::capnp::word(36, 0, 0, 0, 2, 0, 1, 0),
181 ::capnp::word(99, 111, 108, 117, 109, 110, 115, 0),
182 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
183 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
184 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
185 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
186 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
187 ::capnp::word(234, 82, 185, 133, 147, 106, 169, 144),
188 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
189 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
190 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
191 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
192 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
193 ];
194 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
195 match index {
196 0 => <::capnp::struct_list::Owned<crate::api_capnp::column::Owned> as ::capnp::introspect::Introspect>::introspect(),
197 _ => panic!("invalid field index {}", index),
198 }
199 }
200 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
201 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
202 }
203 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
204 encoded_node: &ENCODED_NODE,
205 nonunion_members: NONUNION_MEMBERS,
206 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
207 members_by_name: MEMBERS_BY_NAME,
208 };
209 pub static NONUNION_MEMBERS : &[u16] = &[0];
210 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
211 pub static MEMBERS_BY_NAME : &[u16] = &[0];
212 pub const TYPE_ID: u64 = 0x9557_eaf4_54ce_b988;
213 }
214}
215
216pub mod multi_query_response {
217 #[derive(Copy, Clone)]
218 pub struct Owned(());
219 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
220 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
221 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
222 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
223
224 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
225 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
226 impl <'a,> ::core::clone::Clone for Reader<'a,> {
227 fn clone(&self) -> Self { *self }
228 }
229
230 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
231 const TYPE_ID: u64 = _private::TYPE_ID;
232 }
233 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
234 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
235 Self { reader, }
236 }
237 }
238
239 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
240 fn from(reader: Reader<'a,>) -> Self {
241 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
242 }
243 }
244
245 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
246 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
247 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
248 }
249 }
250
251 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
252 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
253 ::core::result::Result::Ok(reader.get_struct(default)?.into())
254 }
255 }
256
257 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
258 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
259 self.reader
260 }
261 }
262
263 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
264 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
265 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
266 }
267 }
268
269 impl <'a,> Reader<'a,> {
270 pub fn reborrow(&self) -> Reader<'_,> {
271 Self { .. *self }
272 }
273
274 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
275 self.reader.total_size()
276 }
277 #[inline]
278 pub fn get_responses(self) -> ::capnp::Result<::capnp::struct_list::Reader<'a,crate::api_capnp::query_response::Owned>> {
279 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
280 }
281 #[inline]
282 pub fn has_responses(&self) -> bool {
283 !self.reader.get_pointer_field(0).is_null()
284 }
285 }
286
287 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
288 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
289 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 1 };
290 }
291 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
292 const TYPE_ID: u64 = _private::TYPE_ID;
293 }
294 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
295 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
296 Self { builder, }
297 }
298 }
299
300 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
301 fn from(builder: Builder<'a,>) -> Self {
302 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
303 }
304 }
305
306 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
307 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
308 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
309 }
310 }
311
312 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
313 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
314 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
315 }
316 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
317 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
318 }
319 }
320
321 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
322 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
323 }
324
325 impl <'a,> Builder<'a,> {
326 pub fn into_reader(self) -> Reader<'a,> {
327 self.builder.into_reader().into()
328 }
329 pub fn reborrow(&mut self) -> Builder<'_,> {
330 Builder { builder: self.builder.reborrow() }
331 }
332 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
333 self.builder.as_reader().into()
334 }
335
336 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
337 self.builder.as_reader().total_size()
338 }
339 #[inline]
340 pub fn get_responses(self) -> ::capnp::Result<::capnp::struct_list::Builder<'a,crate::api_capnp::query_response::Owned>> {
341 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
342 }
343 #[inline]
344 pub fn set_responses(&mut self, value: ::capnp::struct_list::Reader<'_,crate::api_capnp::query_response::Owned>) -> ::capnp::Result<()> {
345 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
346 }
347 #[inline]
348 pub fn init_responses(self, size: u32) -> ::capnp::struct_list::Builder<'a,crate::api_capnp::query_response::Owned> {
349 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), size)
350 }
351 #[inline]
352 pub fn has_responses(&self) -> bool {
353 !self.builder.is_pointer_field_null(0)
354 }
355 }
356
357 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
358 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
359 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
360 Self { _typeless: typeless, }
361 }
362 }
363 impl Pipeline {
364 }
365 mod _private {
366 pub static ENCODED_NODE: [::capnp::Word; 38] = [
367 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
368 ::capnp::word(186, 241, 81, 112, 167, 72, 150, 217),
369 ::capnp::word(10, 0, 0, 0, 1, 0, 0, 0),
370 ::capnp::word(228, 9, 228, 72, 161, 147, 160, 136),
371 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
372 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
373 ::capnp::word(21, 0, 0, 0, 234, 0, 0, 0),
374 ::capnp::word(33, 0, 0, 0, 7, 0, 0, 0),
375 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
376 ::capnp::word(29, 0, 0, 0, 63, 0, 0, 0),
377 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
378 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
379 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
380 ::capnp::word(112, 58, 77, 117, 108, 116, 105, 81),
381 ::capnp::word(117, 101, 114, 121, 82, 101, 115, 112),
382 ::capnp::word(111, 110, 115, 101, 0, 0, 0, 0),
383 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
384 ::capnp::word(4, 0, 0, 0, 3, 0, 4, 0),
385 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
386 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
387 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
388 ::capnp::word(13, 0, 0, 0, 82, 0, 0, 0),
389 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
390 ::capnp::word(12, 0, 0, 0, 3, 0, 1, 0),
391 ::capnp::word(40, 0, 0, 0, 2, 0, 1, 0),
392 ::capnp::word(114, 101, 115, 112, 111, 110, 115, 101),
393 ::capnp::word(115, 0, 0, 0, 0, 0, 0, 0),
394 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
395 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
396 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
397 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
398 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
399 ::capnp::word(136, 185, 206, 84, 244, 234, 87, 149),
400 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
401 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
402 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
403 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
404 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
405 ];
406 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
407 match index {
408 0 => <::capnp::struct_list::Owned<crate::api_capnp::query_response::Owned> as ::capnp::introspect::Introspect>::introspect(),
409 _ => panic!("invalid field index {}", index),
410 }
411 }
412 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
413 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
414 }
415 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
416 encoded_node: &ENCODED_NODE,
417 nonunion_members: NONUNION_MEMBERS,
418 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
419 members_by_name: MEMBERS_BY_NAME,
420 };
421 pub static NONUNION_MEMBERS : &[u16] = &[0];
422 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
423 pub static MEMBERS_BY_NAME : &[u16] = &[0];
424 pub const TYPE_ID: u64 = 0xd996_48a7_7051_f1ba;
425 }
426}
427
428pub mod column {
429 #[derive(Copy, Clone)]
430 pub struct Owned(());
431 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
432 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
433 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
434 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
435
436 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
437 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
438 impl <'a,> ::core::clone::Clone for Reader<'a,> {
439 fn clone(&self) -> Self { *self }
440 }
441
442 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
443 const TYPE_ID: u64 = _private::TYPE_ID;
444 }
445 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
446 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
447 Self { reader, }
448 }
449 }
450
451 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
452 fn from(reader: Reader<'a,>) -> Self {
453 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
454 }
455 }
456
457 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
458 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
459 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
460 }
461 }
462
463 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
464 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
465 ::core::result::Result::Ok(reader.get_struct(default)?.into())
466 }
467 }
468
469 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
470 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
471 self.reader
472 }
473 }
474
475 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
476 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
477 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
478 }
479 }
480
481 impl <'a,> Reader<'a,> {
482 pub fn reborrow(&self) -> Reader<'_,> {
483 Self { .. *self }
484 }
485
486 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
487 self.reader.total_size()
488 }
489 #[inline]
490 pub fn get_name(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
491 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
492 }
493 #[inline]
494 pub fn has_name(&self) -> bool {
495 !self.reader.get_pointer_field(0).is_null()
496 }
497 #[inline]
498 pub fn get_data(self) -> crate::api_capnp::column::data::Reader<'a> {
499 self.reader.into()
500 }
501 }
502
503 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
504 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
505 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 4, pointers: 2 };
506 }
507 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
508 const TYPE_ID: u64 = _private::TYPE_ID;
509 }
510 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
511 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
512 Self { builder, }
513 }
514 }
515
516 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
517 fn from(builder: Builder<'a,>) -> Self {
518 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
519 }
520 }
521
522 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
523 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
524 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
525 }
526 }
527
528 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
529 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
530 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
531 }
532 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
533 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
534 }
535 }
536
537 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
538 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
539 }
540
541 impl <'a,> Builder<'a,> {
542 pub fn into_reader(self) -> Reader<'a,> {
543 self.builder.into_reader().into()
544 }
545 pub fn reborrow(&mut self) -> Builder<'_,> {
546 Builder { builder: self.builder.reborrow() }
547 }
548 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
549 self.builder.as_reader().into()
550 }
551
552 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
553 self.builder.as_reader().total_size()
554 }
555 #[inline]
556 pub fn get_name(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
557 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
558 }
559 #[inline]
560 pub fn set_name(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>) {
561 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false).unwrap()
562 }
563 #[inline]
564 pub fn init_name(self, size: u32) -> ::capnp::text::Builder<'a> {
565 self.builder.get_pointer_field(0).init_text(size)
566 }
567 #[inline]
568 pub fn has_name(&self) -> bool {
569 !self.builder.is_pointer_field_null(0)
570 }
571 #[inline]
572 pub fn get_data(self) -> crate::api_capnp::column::data::Builder<'a> {
573 self.builder.into()
574 }
575 #[inline]
576 pub fn init_data(mut self, ) -> crate::api_capnp::column::data::Builder<'a> {
577 self.builder.set_data_field::<u16>(0, 0);
578 self.builder.reborrow().get_pointer_field(1).clear();
579 self.builder.set_data_field::<u64>(1, 0u64);
580 self.builder.set_data_field::<i64>(1, 0i64);
581 self.builder.reborrow().get_pointer_field(1).clear();
582 self.builder.set_data_field::<i64>(1, 0i64);
583 self.builder.reborrow().get_pointer_field(1).clear();
584 self.builder.set_data_field::<i64>(1, 0i64);
585 self.builder.reborrow().get_pointer_field(1).clear();
586 self.builder.set_data_field::<i64>(1, 0i64);
587 self.builder.set_data_field::<i64>(2, 0i64);
588 self.builder.reborrow().get_pointer_field(1).clear();
589 self.builder.set_data_field::<i64>(1, 0i64);
590 self.builder.set_data_field::<i64>(2, 0i64);
591 self.builder.reborrow().get_pointer_field(1).clear();
592 self.builder.set_data_field::<i64>(1, 0i64);
593 self.builder.set_data_field::<i64>(2, 0i64);
594 self.builder.reborrow().get_pointer_field(1).clear();
595 self.builder.set_data_field::<i64>(1, 0i64);
596 self.builder.set_data_field::<u64>(2, 0u64);
597 self.builder.set_data_field::<i64>(3, 0i64);
598 self.builder.into()
599 }
600 }
601
602 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
603 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
604 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
605 Self { _typeless: typeless, }
606 }
607 }
608 impl Pipeline {
609 pub fn get_data(&self) -> crate::api_capnp::column::data::Pipeline {
610 ::capnp::capability::FromTypelessPipeline::new(self._typeless.noop())
611 }
612 }
613 mod _private {
614 pub static ENCODED_NODE: [::capnp::Word; 40] = [
615 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
616 ::capnp::word(234, 82, 185, 133, 147, 106, 169, 144),
617 ::capnp::word(10, 0, 0, 0, 1, 0, 4, 0),
618 ::capnp::word(228, 9, 228, 72, 161, 147, 160, 136),
619 ::capnp::word(2, 0, 7, 0, 0, 0, 0, 0),
620 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
621 ::capnp::word(21, 0, 0, 0, 138, 0, 0, 0),
622 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
623 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
624 ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
625 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
626 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
627 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
628 ::capnp::word(112, 58, 67, 111, 108, 117, 109, 110),
629 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
630 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
631 ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
632 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
633 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
634 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
635 ::capnp::word(41, 0, 0, 0, 42, 0, 0, 0),
636 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
637 ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
638 ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
639 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
640 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
641 ::capnp::word(27, 183, 85, 136, 215, 47, 36, 172),
642 ::capnp::word(45, 0, 0, 0, 42, 0, 0, 0),
643 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
644 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
645 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
646 ::capnp::word(110, 97, 109, 101, 0, 0, 0, 0),
647 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
648 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
649 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
650 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
651 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
652 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
653 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
654 ::capnp::word(100, 97, 116, 97, 0, 0, 0, 0),
655 ];
656 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
657 match index {
658 0 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
659 1 => <crate::api_capnp::column::data::Owned as ::capnp::introspect::Introspect>::introspect(),
660 _ => panic!("invalid field index {}", index),
661 }
662 }
663 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
664 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
665 }
666 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
667 encoded_node: &ENCODED_NODE,
668 nonunion_members: NONUNION_MEMBERS,
669 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
670 members_by_name: MEMBERS_BY_NAME,
671 };
672 pub static NONUNION_MEMBERS : &[u16] = &[0,1];
673 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
674 pub static MEMBERS_BY_NAME : &[u16] = &[1,0];
675 pub const TYPE_ID: u64 = 0x90a9_6a93_85b9_52ea;
676 }
677
678 pub mod data {
679 pub use self::Which::{F64,I64,String,Mixed,Null,XorF64,DeltaEncodedI8,DeltaEncodedI16,DeltaEncodedI32,DoubleDeltaEncodedI8,DoubleDeltaEncodedI16,DoubleDeltaEncodedI32,Range};
680
681 #[derive(Copy, Clone)]
682 pub struct Owned(());
683 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
684 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
685 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
686 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
687
688 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
689 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
690 impl <'a,> ::core::clone::Clone for Reader<'a,> {
691 fn clone(&self) -> Self { *self }
692 }
693
694 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
695 const TYPE_ID: u64 = _private::TYPE_ID;
696 }
697 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
698 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
699 Self { reader, }
700 }
701 }
702
703 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
704 fn from(reader: Reader<'a,>) -> Self {
705 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
706 }
707 }
708
709 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
710 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
711 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
712 }
713 }
714
715 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
716 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
717 ::core::result::Result::Ok(reader.get_struct(default)?.into())
718 }
719 }
720
721 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
722 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
723 self.reader
724 }
725 }
726
727 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
728 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
729 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
730 }
731 }
732
733 impl <'a,> Reader<'a,> {
734 pub fn reborrow(&self) -> Reader<'_,> {
735 Self { .. *self }
736 }
737
738 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
739 self.reader.total_size()
740 }
741 #[inline]
742 pub fn has_f64(&self) -> bool {
743 if self.reader.get_data_field::<u16>(0) != 0 { return false; }
744 !self.reader.get_pointer_field(1).is_null()
745 }
746 #[inline]
747 pub fn has_i64(&self) -> bool {
748 if self.reader.get_data_field::<u16>(0) != 1 { return false; }
749 !self.reader.get_pointer_field(1).is_null()
750 }
751 #[inline]
752 pub fn has_string(&self) -> bool {
753 if self.reader.get_data_field::<u16>(0) != 2 { return false; }
754 !self.reader.get_pointer_field(1).is_null()
755 }
756 #[inline]
757 pub fn has_mixed(&self) -> bool {
758 if self.reader.get_data_field::<u16>(0) != 3 { return false; }
759 !self.reader.get_pointer_field(1).is_null()
760 }
761 #[inline]
762 pub fn has_xor_f64(&self) -> bool {
763 if self.reader.get_data_field::<u16>(0) != 5 { return false; }
764 !self.reader.get_pointer_field(1).is_null()
765 }
766 #[inline]
767 pub fn which(self) -> ::core::result::Result<WhichReader<'a,>, ::capnp::NotInSchema> {
768 match self.reader.get_data_field::<u16>(0) {
769 0 => {
770 ::core::result::Result::Ok(F64(
771 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
772 ))
773 }
774 1 => {
775 ::core::result::Result::Ok(I64(
776 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
777 ))
778 }
779 2 => {
780 ::core::result::Result::Ok(String(
781 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
782 ))
783 }
784 3 => {
785 ::core::result::Result::Ok(Mixed(
786 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
787 ))
788 }
789 4 => {
790 ::core::result::Result::Ok(Null(
791 self.reader.get_data_field::<u64>(1)
792 ))
793 }
794 5 => {
795 ::core::result::Result::Ok(XorF64(
796 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
797 ))
798 }
799 6 => {
800 ::core::result::Result::Ok(DeltaEncodedI8(
801 self.reader.into()
802 ))
803 }
804 7 => {
805 ::core::result::Result::Ok(DeltaEncodedI16(
806 self.reader.into()
807 ))
808 }
809 8 => {
810 ::core::result::Result::Ok(DeltaEncodedI32(
811 self.reader.into()
812 ))
813 }
814 9 => {
815 ::core::result::Result::Ok(DoubleDeltaEncodedI8(
816 self.reader.into()
817 ))
818 }
819 10 => {
820 ::core::result::Result::Ok(DoubleDeltaEncodedI16(
821 self.reader.into()
822 ))
823 }
824 11 => {
825 ::core::result::Result::Ok(DoubleDeltaEncodedI32(
826 self.reader.into()
827 ))
828 }
829 12 => {
830 ::core::result::Result::Ok(Range(
831 self.reader.into()
832 ))
833 }
834 x => ::core::result::Result::Err(::capnp::NotInSchema(x))
835 }
836 }
837 }
838
839 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
840 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
841 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 4, pointers: 2 };
842 }
843 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
844 const TYPE_ID: u64 = _private::TYPE_ID;
845 }
846 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
847 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
848 Self { builder, }
849 }
850 }
851
852 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
853 fn from(builder: Builder<'a,>) -> Self {
854 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
855 }
856 }
857
858 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
859 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
860 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
861 }
862 }
863
864 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
865 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
866 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
867 }
868 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
869 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
870 }
871 }
872
873 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
874 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
875 }
876
877 impl <'a,> Builder<'a,> {
878 pub fn into_reader(self) -> Reader<'a,> {
879 self.builder.into_reader().into()
880 }
881 pub fn reborrow(&mut self) -> Builder<'_,> {
882 Builder { builder: self.builder.reborrow() }
883 }
884 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
885 self.builder.as_reader().into()
886 }
887
888 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
889 self.builder.as_reader().total_size()
890 }
891 #[inline]
892 pub fn set_f64(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::primitive_list::Owned<f64>>) -> ::capnp::Result<()> {
893 self.builder.set_data_field::<u16>(0, 0);
894 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
895 }
896 #[inline]
897 pub fn init_f64(self, size: u32) -> ::capnp::primitive_list::Builder<'a,f64> {
898 self.builder.set_data_field::<u16>(0, 0);
899 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
900 }
901 #[inline]
902 pub fn has_f64(&self) -> bool {
903 if self.builder.get_data_field::<u16>(0) != 0 { return false; }
904 !self.builder.is_pointer_field_null(1)
905 }
906 #[inline]
907 pub fn set_i64(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::primitive_list::Owned<i64>>) -> ::capnp::Result<()> {
908 self.builder.set_data_field::<u16>(0, 1);
909 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
910 }
911 #[inline]
912 pub fn init_i64(self, size: u32) -> ::capnp::primitive_list::Builder<'a,i64> {
913 self.builder.set_data_field::<u16>(0, 1);
914 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
915 }
916 #[inline]
917 pub fn has_i64(&self) -> bool {
918 if self.builder.get_data_field::<u16>(0) != 1 { return false; }
919 !self.builder.is_pointer_field_null(1)
920 }
921 #[inline]
922 pub fn set_string(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text_list::Owned>) -> ::capnp::Result<()> {
923 self.builder.set_data_field::<u16>(0, 2);
924 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
925 }
926 #[inline]
927 pub fn init_string(self, size: u32) -> ::capnp::text_list::Builder<'a> {
928 self.builder.set_data_field::<u16>(0, 2);
929 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
930 }
931 #[inline]
932 pub fn has_string(&self) -> bool {
933 if self.builder.get_data_field::<u16>(0) != 2 { return false; }
934 !self.builder.is_pointer_field_null(1)
935 }
936 #[inline]
937 pub fn set_mixed(&mut self, value: ::capnp::struct_list::Reader<'_,crate::api_capnp::any_val::Owned>) -> ::capnp::Result<()> {
938 self.builder.set_data_field::<u16>(0, 3);
939 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
940 }
941 #[inline]
942 pub fn init_mixed(self, size: u32) -> ::capnp::struct_list::Builder<'a,crate::api_capnp::any_val::Owned> {
943 self.builder.set_data_field::<u16>(0, 3);
944 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
945 }
946 #[inline]
947 pub fn has_mixed(&self) -> bool {
948 if self.builder.get_data_field::<u16>(0) != 3 { return false; }
949 !self.builder.is_pointer_field_null(1)
950 }
951 #[inline]
952 pub fn set_null(&mut self, value: u64) {
953 self.builder.set_data_field::<u16>(0, 4);
954 self.builder.set_data_field::<u64>(1, value);
955 }
956 #[inline]
957 pub fn set_xor_f64(&mut self, value: ::capnp::data::Reader<'_>) {
958 self.builder.set_data_field::<u16>(0, 5);
959 self.builder.reborrow().get_pointer_field(1).set_data(value);
960 }
961 #[inline]
962 pub fn init_xor_f64(self, size: u32) -> ::capnp::data::Builder<'a> {
963 self.builder.set_data_field::<u16>(0, 5);
964 self.builder.get_pointer_field(1).init_data(size)
965 }
966 #[inline]
967 pub fn has_xor_f64(&self) -> bool {
968 if self.builder.get_data_field::<u16>(0) != 5 { return false; }
969 !self.builder.is_pointer_field_null(1)
970 }
971 #[inline]
972 pub fn init_delta_encoded_i8(mut self, ) -> crate::api_capnp::column::data::delta_encoded_i8::Builder<'a> {
973 self.builder.set_data_field::<u16>(0, 6);
974 self.builder.set_data_field::<i64>(1, 0i64);
975 self.builder.reborrow().get_pointer_field(1).clear();
976 self.builder.into()
977 }
978 #[inline]
979 pub fn init_delta_encoded_i16(mut self, ) -> crate::api_capnp::column::data::delta_encoded_i16::Builder<'a> {
980 self.builder.set_data_field::<u16>(0, 7);
981 self.builder.set_data_field::<i64>(1, 0i64);
982 self.builder.reborrow().get_pointer_field(1).clear();
983 self.builder.into()
984 }
985 #[inline]
986 pub fn init_delta_encoded_i32(mut self, ) -> crate::api_capnp::column::data::delta_encoded_i32::Builder<'a> {
987 self.builder.set_data_field::<u16>(0, 8);
988 self.builder.set_data_field::<i64>(1, 0i64);
989 self.builder.reborrow().get_pointer_field(1).clear();
990 self.builder.into()
991 }
992 #[inline]
993 pub fn init_double_delta_encoded_i8(mut self, ) -> crate::api_capnp::column::data::double_delta_encoded_i8::Builder<'a> {
994 self.builder.set_data_field::<u16>(0, 9);
995 self.builder.set_data_field::<i64>(1, 0i64);
996 self.builder.set_data_field::<i64>(2, 0i64);
997 self.builder.reborrow().get_pointer_field(1).clear();
998 self.builder.into()
999 }
1000 #[inline]
1001 pub fn init_double_delta_encoded_i16(mut self, ) -> crate::api_capnp::column::data::double_delta_encoded_i16::Builder<'a> {
1002 self.builder.set_data_field::<u16>(0, 10);
1003 self.builder.set_data_field::<i64>(1, 0i64);
1004 self.builder.set_data_field::<i64>(2, 0i64);
1005 self.builder.reborrow().get_pointer_field(1).clear();
1006 self.builder.into()
1007 }
1008 #[inline]
1009 pub fn init_double_delta_encoded_i32(mut self, ) -> crate::api_capnp::column::data::double_delta_encoded_i32::Builder<'a> {
1010 self.builder.set_data_field::<u16>(0, 11);
1011 self.builder.set_data_field::<i64>(1, 0i64);
1012 self.builder.set_data_field::<i64>(2, 0i64);
1013 self.builder.reborrow().get_pointer_field(1).clear();
1014 self.builder.into()
1015 }
1016 #[inline]
1017 pub fn init_range(self, ) -> crate::api_capnp::column::data::range::Builder<'a> {
1018 self.builder.set_data_field::<u16>(0, 12);
1019 self.builder.set_data_field::<i64>(1, 0i64);
1020 self.builder.set_data_field::<u64>(2, 0u64);
1021 self.builder.set_data_field::<i64>(3, 0i64);
1022 self.builder.into()
1023 }
1024 #[inline]
1025 pub fn which(self) -> ::core::result::Result<WhichBuilder<'a,>, ::capnp::NotInSchema> {
1026 match self.builder.get_data_field::<u16>(0) {
1027 0 => {
1028 ::core::result::Result::Ok(F64(
1029 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1030 ))
1031 }
1032 1 => {
1033 ::core::result::Result::Ok(I64(
1034 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1035 ))
1036 }
1037 2 => {
1038 ::core::result::Result::Ok(String(
1039 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1040 ))
1041 }
1042 3 => {
1043 ::core::result::Result::Ok(Mixed(
1044 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1045 ))
1046 }
1047 4 => {
1048 ::core::result::Result::Ok(Null(
1049 self.builder.get_data_field::<u64>(1)
1050 ))
1051 }
1052 5 => {
1053 ::core::result::Result::Ok(XorF64(
1054 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1055 ))
1056 }
1057 6 => {
1058 ::core::result::Result::Ok(DeltaEncodedI8(
1059 self.builder.into()
1060 ))
1061 }
1062 7 => {
1063 ::core::result::Result::Ok(DeltaEncodedI16(
1064 self.builder.into()
1065 ))
1066 }
1067 8 => {
1068 ::core::result::Result::Ok(DeltaEncodedI32(
1069 self.builder.into()
1070 ))
1071 }
1072 9 => {
1073 ::core::result::Result::Ok(DoubleDeltaEncodedI8(
1074 self.builder.into()
1075 ))
1076 }
1077 10 => {
1078 ::core::result::Result::Ok(DoubleDeltaEncodedI16(
1079 self.builder.into()
1080 ))
1081 }
1082 11 => {
1083 ::core::result::Result::Ok(DoubleDeltaEncodedI32(
1084 self.builder.into()
1085 ))
1086 }
1087 12 => {
1088 ::core::result::Result::Ok(Range(
1089 self.builder.into()
1090 ))
1091 }
1092 x => ::core::result::Result::Err(::capnp::NotInSchema(x))
1093 }
1094 }
1095 }
1096
1097 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1098 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1099 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1100 Self { _typeless: typeless, }
1101 }
1102 }
1103 impl Pipeline {
1104 }
1105 mod _private {
1106 pub static ENCODED_NODE: [::capnp::Word; 187] = [
1107 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
1108 ::capnp::word(27, 183, 85, 136, 215, 47, 36, 172),
1109 ::capnp::word(17, 0, 0, 0, 1, 0, 4, 0),
1110 ::capnp::word(234, 82, 185, 133, 147, 106, 169, 144),
1111 ::capnp::word(2, 0, 7, 0, 1, 0, 13, 0),
1112 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1113 ::capnp::word(21, 0, 0, 0, 178, 0, 0, 0),
1114 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1115 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1116 ::capnp::word(21, 0, 0, 0, 223, 2, 0, 0),
1117 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1118 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1119 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
1120 ::capnp::word(112, 58, 67, 111, 108, 117, 109, 110),
1121 ::capnp::word(46, 100, 97, 116, 97, 0, 0, 0),
1122 ::capnp::word(52, 0, 0, 0, 3, 0, 4, 0),
1123 ::capnp::word(0, 0, 255, 255, 1, 0, 0, 0),
1124 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1125 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1126 ::capnp::word(93, 1, 0, 0, 34, 0, 0, 0),
1127 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1128 ::capnp::word(88, 1, 0, 0, 3, 0, 1, 0),
1129 ::capnp::word(116, 1, 0, 0, 2, 0, 1, 0),
1130 ::capnp::word(1, 0, 254, 255, 1, 0, 0, 0),
1131 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
1132 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1133 ::capnp::word(113, 1, 0, 0, 34, 0, 0, 0),
1134 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1135 ::capnp::word(108, 1, 0, 0, 3, 0, 1, 0),
1136 ::capnp::word(136, 1, 0, 0, 2, 0, 1, 0),
1137 ::capnp::word(2, 0, 253, 255, 1, 0, 0, 0),
1138 ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
1139 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1140 ::capnp::word(133, 1, 0, 0, 58, 0, 0, 0),
1141 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1142 ::capnp::word(128, 1, 0, 0, 3, 0, 1, 0),
1143 ::capnp::word(156, 1, 0, 0, 2, 0, 1, 0),
1144 ::capnp::word(3, 0, 252, 255, 1, 0, 0, 0),
1145 ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
1146 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1147 ::capnp::word(153, 1, 0, 0, 50, 0, 0, 0),
1148 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1149 ::capnp::word(148, 1, 0, 0, 3, 0, 1, 0),
1150 ::capnp::word(176, 1, 0, 0, 2, 0, 1, 0),
1151 ::capnp::word(4, 0, 251, 255, 1, 0, 0, 0),
1152 ::capnp::word(0, 0, 1, 0, 5, 0, 0, 0),
1153 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1154 ::capnp::word(173, 1, 0, 0, 42, 0, 0, 0),
1155 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1156 ::capnp::word(168, 1, 0, 0, 3, 0, 1, 0),
1157 ::capnp::word(180, 1, 0, 0, 2, 0, 1, 0),
1158 ::capnp::word(5, 0, 250, 255, 1, 0, 0, 0),
1159 ::capnp::word(0, 0, 1, 0, 6, 0, 0, 0),
1160 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1161 ::capnp::word(177, 1, 0, 0, 58, 0, 0, 0),
1162 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1163 ::capnp::word(172, 1, 0, 0, 3, 0, 1, 0),
1164 ::capnp::word(184, 1, 0, 0, 2, 0, 1, 0),
1165 ::capnp::word(6, 0, 249, 255, 0, 0, 0, 0),
1166 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1167 ::capnp::word(27, 98, 105, 122, 236, 92, 89, 221),
1168 ::capnp::word(181, 1, 0, 0, 122, 0, 0, 0),
1169 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1170 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1171 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1172 ::capnp::word(7, 0, 248, 255, 0, 0, 0, 0),
1173 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1174 ::capnp::word(40, 135, 162, 113, 108, 224, 80, 226),
1175 ::capnp::word(161, 1, 0, 0, 130, 0, 0, 0),
1176 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1177 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1178 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1179 ::capnp::word(8, 0, 247, 255, 0, 0, 0, 0),
1180 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1181 ::capnp::word(145, 147, 27, 229, 239, 90, 108, 204),
1182 ::capnp::word(141, 1, 0, 0, 130, 0, 0, 0),
1183 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1184 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1185 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1186 ::capnp::word(9, 0, 246, 255, 0, 0, 0, 0),
1187 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1188 ::capnp::word(248, 103, 158, 204, 150, 131, 6, 210),
1189 ::capnp::word(121, 1, 0, 0, 170, 0, 0, 0),
1190 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1191 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1192 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1193 ::capnp::word(10, 0, 245, 255, 0, 0, 0, 0),
1194 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1195 ::capnp::word(24, 11, 235, 142, 203, 64, 244, 133),
1196 ::capnp::word(105, 1, 0, 0, 178, 0, 0, 0),
1197 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1198 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1199 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1200 ::capnp::word(11, 0, 244, 255, 0, 0, 0, 0),
1201 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1202 ::capnp::word(244, 212, 121, 141, 30, 30, 7, 244),
1203 ::capnp::word(89, 1, 0, 0, 178, 0, 0, 0),
1204 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1205 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1206 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1207 ::capnp::word(12, 0, 243, 255, 0, 0, 0, 0),
1208 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1209 ::capnp::word(112, 84, 132, 60, 241, 190, 85, 185),
1210 ::capnp::word(73, 1, 0, 0, 50, 0, 0, 0),
1211 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1212 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1213 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1214 ::capnp::word(102, 54, 52, 0, 0, 0, 0, 0),
1215 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1216 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1217 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1218 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
1219 ::capnp::word(11, 0, 0, 0, 0, 0, 0, 0),
1220 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1221 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1222 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1223 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1224 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1225 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1226 ::capnp::word(105, 54, 52, 0, 0, 0, 0, 0),
1227 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1228 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1229 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1230 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
1231 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
1232 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1233 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1234 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1235 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1236 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1237 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1238 ::capnp::word(115, 116, 114, 105, 110, 103, 0, 0),
1239 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1240 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1241 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1242 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
1243 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
1244 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1245 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1246 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1247 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1248 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1249 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1250 ::capnp::word(109, 105, 120, 101, 100, 0, 0, 0),
1251 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1252 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1253 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1254 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
1255 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
1256 ::capnp::word(25, 3, 78, 140, 109, 89, 144, 252),
1257 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1258 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1259 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1260 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1261 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1262 ::capnp::word(110, 117, 108, 108, 0, 0, 0, 0),
1263 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
1264 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1265 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1266 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1267 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
1268 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1269 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1270 ::capnp::word(120, 111, 114, 70, 54, 52, 0, 0),
1271 ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1272 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1273 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1274 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1275 ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
1276 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1277 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1278 ::capnp::word(100, 101, 108, 116, 97, 69, 110, 99),
1279 ::capnp::word(111, 100, 101, 100, 73, 56, 0, 0),
1280 ::capnp::word(100, 101, 108, 116, 97, 69, 110, 99),
1281 ::capnp::word(111, 100, 101, 100, 73, 49, 54, 0),
1282 ::capnp::word(100, 101, 108, 116, 97, 69, 110, 99),
1283 ::capnp::word(111, 100, 101, 100, 73, 51, 50, 0),
1284 ::capnp::word(100, 111, 117, 98, 108, 101, 68, 101),
1285 ::capnp::word(108, 116, 97, 69, 110, 99, 111, 100),
1286 ::capnp::word(101, 100, 73, 56, 0, 0, 0, 0),
1287 ::capnp::word(100, 111, 117, 98, 108, 101, 68, 101),
1288 ::capnp::word(108, 116, 97, 69, 110, 99, 111, 100),
1289 ::capnp::word(101, 100, 73, 49, 54, 0, 0, 0),
1290 ::capnp::word(100, 111, 117, 98, 108, 101, 68, 101),
1291 ::capnp::word(108, 116, 97, 69, 110, 99, 111, 100),
1292 ::capnp::word(101, 100, 73, 51, 50, 0, 0, 0),
1293 ::capnp::word(114, 97, 110, 103, 101, 0, 0, 0),
1294 ];
1295 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1296 match index {
1297 0 => <::capnp::primitive_list::Owned<f64> as ::capnp::introspect::Introspect>::introspect(),
1298 1 => <::capnp::primitive_list::Owned<i64> as ::capnp::introspect::Introspect>::introspect(),
1299 2 => <::capnp::text_list::Owned as ::capnp::introspect::Introspect>::introspect(),
1300 3 => <::capnp::struct_list::Owned<crate::api_capnp::any_val::Owned> as ::capnp::introspect::Introspect>::introspect(),
1301 4 => <u64 as ::capnp::introspect::Introspect>::introspect(),
1302 5 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
1303 6 => <crate::api_capnp::column::data::delta_encoded_i8::Owned as ::capnp::introspect::Introspect>::introspect(),
1304 7 => <crate::api_capnp::column::data::delta_encoded_i16::Owned as ::capnp::introspect::Introspect>::introspect(),
1305 8 => <crate::api_capnp::column::data::delta_encoded_i32::Owned as ::capnp::introspect::Introspect>::introspect(),
1306 9 => <crate::api_capnp::column::data::double_delta_encoded_i8::Owned as ::capnp::introspect::Introspect>::introspect(),
1307 10 => <crate::api_capnp::column::data::double_delta_encoded_i16::Owned as ::capnp::introspect::Introspect>::introspect(),
1308 11 => <crate::api_capnp::column::data::double_delta_encoded_i32::Owned as ::capnp::introspect::Introspect>::introspect(),
1309 12 => <crate::api_capnp::column::data::range::Owned as ::capnp::introspect::Introspect>::introspect(),
1310 _ => panic!("invalid field index {}", index),
1311 }
1312 }
1313 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
1314 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
1315 }
1316 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
1317 encoded_node: &ENCODED_NODE,
1318 nonunion_members: NONUNION_MEMBERS,
1319 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
1320 members_by_name: MEMBERS_BY_NAME,
1321 };
1322 pub static NONUNION_MEMBERS : &[u16] = &[];
1323 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[0,1,2,3,4,5,6,7,8,9,10,11,12];
1324 pub static MEMBERS_BY_NAME : &[u16] = &[7,8,6,10,11,9,0,1,3,4,12,2,5];
1325 pub const TYPE_ID: u64 = 0xac24_2fd7_8855_b71b;
1326 }
1327 pub enum Which<A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11> {
1328 F64(A0),
1329 I64(A1),
1330 String(A2),
1331 Mixed(A3),
1332 Null(u64),
1333 XorF64(A4),
1334 DeltaEncodedI8(A5),
1335 DeltaEncodedI16(A6),
1336 DeltaEncodedI32(A7),
1337 DoubleDeltaEncodedI8(A8),
1338 DoubleDeltaEncodedI16(A9),
1339 DoubleDeltaEncodedI32(A10),
1340 Range(A11),
1341 }
1342 pub type WhichReader<'a,> = Which<::capnp::Result<::capnp::primitive_list::Reader<'a,f64>>,::capnp::Result<::capnp::primitive_list::Reader<'a,i64>>,::capnp::Result<::capnp::text_list::Reader<'a>>,::capnp::Result<::capnp::struct_list::Reader<'a,crate::api_capnp::any_val::Owned>>,::capnp::Result<::capnp::data::Reader<'a>>,crate::api_capnp::column::data::delta_encoded_i8::Reader<'a>,crate::api_capnp::column::data::delta_encoded_i16::Reader<'a>,crate::api_capnp::column::data::delta_encoded_i32::Reader<'a>,crate::api_capnp::column::data::double_delta_encoded_i8::Reader<'a>,crate::api_capnp::column::data::double_delta_encoded_i16::Reader<'a>,crate::api_capnp::column::data::double_delta_encoded_i32::Reader<'a>,crate::api_capnp::column::data::range::Reader<'a>>;
1343 pub type WhichBuilder<'a,> = Which<::capnp::Result<::capnp::primitive_list::Builder<'a,f64>>,::capnp::Result<::capnp::primitive_list::Builder<'a,i64>>,::capnp::Result<::capnp::text_list::Builder<'a>>,::capnp::Result<::capnp::struct_list::Builder<'a,crate::api_capnp::any_val::Owned>>,::capnp::Result<::capnp::data::Builder<'a>>,crate::api_capnp::column::data::delta_encoded_i8::Builder<'a>,crate::api_capnp::column::data::delta_encoded_i16::Builder<'a>,crate::api_capnp::column::data::delta_encoded_i32::Builder<'a>,crate::api_capnp::column::data::double_delta_encoded_i8::Builder<'a>,crate::api_capnp::column::data::double_delta_encoded_i16::Builder<'a>,crate::api_capnp::column::data::double_delta_encoded_i32::Builder<'a>,crate::api_capnp::column::data::range::Builder<'a>>;
1344
1345 pub mod delta_encoded_i8 {
1346 #[derive(Copy, Clone)]
1347 pub struct Owned(());
1348 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
1349 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1350 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1351 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1352
1353 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1354 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
1355 impl <'a,> ::core::clone::Clone for Reader<'a,> {
1356 fn clone(&self) -> Self { *self }
1357 }
1358
1359 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
1360 const TYPE_ID: u64 = _private::TYPE_ID;
1361 }
1362 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
1363 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1364 Self { reader, }
1365 }
1366 }
1367
1368 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
1369 fn from(reader: Reader<'a,>) -> Self {
1370 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1371 }
1372 }
1373
1374 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
1375 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1376 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1377 }
1378 }
1379
1380 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
1381 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1382 ::core::result::Result::Ok(reader.get_struct(default)?.into())
1383 }
1384 }
1385
1386 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
1387 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1388 self.reader
1389 }
1390 }
1391
1392 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
1393 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1394 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1395 }
1396 }
1397
1398 impl <'a,> Reader<'a,> {
1399 pub fn reborrow(&self) -> Reader<'_,> {
1400 Self { .. *self }
1401 }
1402
1403 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1404 self.reader.total_size()
1405 }
1406 #[inline]
1407 pub fn get_first(self) -> i64 {
1408 self.reader.get_data_field::<i64>(1)
1409 }
1410 #[inline]
1411 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Reader<'a,i8>> {
1412 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
1413 }
1414 #[inline]
1415 pub fn has_data(&self) -> bool {
1416 !self.reader.get_pointer_field(1).is_null()
1417 }
1418 }
1419
1420 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1421 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
1422 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 4, pointers: 2 };
1423 }
1424 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
1425 const TYPE_ID: u64 = _private::TYPE_ID;
1426 }
1427 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
1428 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1429 Self { builder, }
1430 }
1431 }
1432
1433 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
1434 fn from(builder: Builder<'a,>) -> Self {
1435 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1436 }
1437 }
1438
1439 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
1440 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1441 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1442 }
1443 }
1444
1445 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
1446 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1447 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1448 }
1449 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1450 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1451 }
1452 }
1453
1454 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
1455 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1456 }
1457
1458 impl <'a,> Builder<'a,> {
1459 pub fn into_reader(self) -> Reader<'a,> {
1460 self.builder.into_reader().into()
1461 }
1462 pub fn reborrow(&mut self) -> Builder<'_,> {
1463 Builder { builder: self.builder.reborrow() }
1464 }
1465 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1466 self.builder.as_reader().into()
1467 }
1468
1469 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1470 self.builder.as_reader().total_size()
1471 }
1472 #[inline]
1473 pub fn get_first(self) -> i64 {
1474 self.builder.get_data_field::<i64>(1)
1475 }
1476 #[inline]
1477 pub fn set_first(&mut self, value: i64) {
1478 self.builder.set_data_field::<i64>(1, value);
1479 }
1480 #[inline]
1481 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Builder<'a,i8>> {
1482 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1483 }
1484 #[inline]
1485 pub fn set_data(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::primitive_list::Owned<i8>>) -> ::capnp::Result<()> {
1486 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
1487 }
1488 #[inline]
1489 pub fn init_data(self, size: u32) -> ::capnp::primitive_list::Builder<'a,i8> {
1490 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
1491 }
1492 #[inline]
1493 pub fn has_data(&self) -> bool {
1494 !self.builder.is_pointer_field_null(1)
1495 }
1496 }
1497
1498 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1499 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1500 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1501 Self { _typeless: typeless, }
1502 }
1503 }
1504 impl Pipeline {
1505 }
1506 mod _private {
1507 pub static ENCODED_NODE: [::capnp::Word; 52] = [
1508 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
1509 ::capnp::word(27, 98, 105, 122, 236, 92, 89, 221),
1510 ::capnp::word(22, 0, 0, 0, 1, 0, 4, 0),
1511 ::capnp::word(27, 183, 85, 136, 215, 47, 36, 172),
1512 ::capnp::word(2, 0, 7, 0, 1, 0, 0, 0),
1513 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1514 ::capnp::word(21, 0, 0, 0, 42, 1, 0, 0),
1515 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1516 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1517 ::capnp::word(29, 0, 0, 0, 119, 0, 0, 0),
1518 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1519 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1520 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
1521 ::capnp::word(112, 58, 67, 111, 108, 117, 109, 110),
1522 ::capnp::word(46, 100, 97, 116, 97, 46, 100, 101),
1523 ::capnp::word(108, 116, 97, 69, 110, 99, 111, 100),
1524 ::capnp::word(101, 100, 73, 56, 0, 0, 0, 0),
1525 ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
1526 ::capnp::word(0, 0, 0, 0, 1, 0, 0, 0),
1527 ::capnp::word(0, 0, 1, 0, 7, 0, 0, 0),
1528 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1529 ::capnp::word(41, 0, 0, 0, 50, 0, 0, 0),
1530 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1531 ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
1532 ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
1533 ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
1534 ::capnp::word(0, 0, 1, 0, 8, 0, 0, 0),
1535 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1536 ::capnp::word(45, 0, 0, 0, 42, 0, 0, 0),
1537 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1538 ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
1539 ::capnp::word(68, 0, 0, 0, 2, 0, 1, 0),
1540 ::capnp::word(102, 105, 114, 115, 116, 0, 0, 0),
1541 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
1542 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1543 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1544 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1545 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
1546 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1547 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1548 ::capnp::word(100, 97, 116, 97, 0, 0, 0, 0),
1549 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1550 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1551 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1552 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
1553 ::capnp::word(2, 0, 0, 0, 0, 0, 0, 0),
1554 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1555 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1556 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1557 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1558 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1559 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1560 ];
1561 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1562 match index {
1563 0 => <i64 as ::capnp::introspect::Introspect>::introspect(),
1564 1 => <::capnp::primitive_list::Owned<i8> as ::capnp::introspect::Introspect>::introspect(),
1565 _ => panic!("invalid field index {}", index),
1566 }
1567 }
1568 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
1569 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
1570 }
1571 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
1572 encoded_node: &ENCODED_NODE,
1573 nonunion_members: NONUNION_MEMBERS,
1574 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
1575 members_by_name: MEMBERS_BY_NAME,
1576 };
1577 pub static NONUNION_MEMBERS : &[u16] = &[0,1];
1578 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
1579 pub static MEMBERS_BY_NAME : &[u16] = &[1,0];
1580 pub const TYPE_ID: u64 = 0xdd59_5cec_7a69_621b;
1581 }
1582 }
1583
1584 pub mod delta_encoded_i16 {
1585 #[derive(Copy, Clone)]
1586 pub struct Owned(());
1587 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
1588 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1589 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1590 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1591
1592 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1593 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
1594 impl <'a,> ::core::clone::Clone for Reader<'a,> {
1595 fn clone(&self) -> Self { *self }
1596 }
1597
1598 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
1599 const TYPE_ID: u64 = _private::TYPE_ID;
1600 }
1601 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
1602 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1603 Self { reader, }
1604 }
1605 }
1606
1607 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
1608 fn from(reader: Reader<'a,>) -> Self {
1609 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1610 }
1611 }
1612
1613 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
1614 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1615 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1616 }
1617 }
1618
1619 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
1620 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1621 ::core::result::Result::Ok(reader.get_struct(default)?.into())
1622 }
1623 }
1624
1625 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
1626 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1627 self.reader
1628 }
1629 }
1630
1631 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
1632 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1633 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1634 }
1635 }
1636
1637 impl <'a,> Reader<'a,> {
1638 pub fn reborrow(&self) -> Reader<'_,> {
1639 Self { .. *self }
1640 }
1641
1642 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1643 self.reader.total_size()
1644 }
1645 #[inline]
1646 pub fn get_first(self) -> i64 {
1647 self.reader.get_data_field::<i64>(1)
1648 }
1649 #[inline]
1650 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Reader<'a,i16>> {
1651 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
1652 }
1653 #[inline]
1654 pub fn has_data(&self) -> bool {
1655 !self.reader.get_pointer_field(1).is_null()
1656 }
1657 }
1658
1659 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1660 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
1661 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 4, pointers: 2 };
1662 }
1663 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
1664 const TYPE_ID: u64 = _private::TYPE_ID;
1665 }
1666 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
1667 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1668 Self { builder, }
1669 }
1670 }
1671
1672 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
1673 fn from(builder: Builder<'a,>) -> Self {
1674 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1675 }
1676 }
1677
1678 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
1679 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1680 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1681 }
1682 }
1683
1684 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
1685 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1686 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1687 }
1688 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1689 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1690 }
1691 }
1692
1693 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
1694 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1695 }
1696
1697 impl <'a,> Builder<'a,> {
1698 pub fn into_reader(self) -> Reader<'a,> {
1699 self.builder.into_reader().into()
1700 }
1701 pub fn reborrow(&mut self) -> Builder<'_,> {
1702 Builder { builder: self.builder.reborrow() }
1703 }
1704 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1705 self.builder.as_reader().into()
1706 }
1707
1708 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1709 self.builder.as_reader().total_size()
1710 }
1711 #[inline]
1712 pub fn get_first(self) -> i64 {
1713 self.builder.get_data_field::<i64>(1)
1714 }
1715 #[inline]
1716 pub fn set_first(&mut self, value: i64) {
1717 self.builder.set_data_field::<i64>(1, value);
1718 }
1719 #[inline]
1720 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Builder<'a,i16>> {
1721 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1722 }
1723 #[inline]
1724 pub fn set_data(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::primitive_list::Owned<i16>>) -> ::capnp::Result<()> {
1725 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
1726 }
1727 #[inline]
1728 pub fn init_data(self, size: u32) -> ::capnp::primitive_list::Builder<'a,i16> {
1729 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
1730 }
1731 #[inline]
1732 pub fn has_data(&self) -> bool {
1733 !self.builder.is_pointer_field_null(1)
1734 }
1735 }
1736
1737 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1738 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1739 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1740 Self { _typeless: typeless, }
1741 }
1742 }
1743 impl Pipeline {
1744 }
1745 mod _private {
1746 pub static ENCODED_NODE: [::capnp::Word; 52] = [
1747 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
1748 ::capnp::word(40, 135, 162, 113, 108, 224, 80, 226),
1749 ::capnp::word(22, 0, 0, 0, 1, 0, 4, 0),
1750 ::capnp::word(27, 183, 85, 136, 215, 47, 36, 172),
1751 ::capnp::word(2, 0, 7, 0, 1, 0, 0, 0),
1752 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1753 ::capnp::word(21, 0, 0, 0, 50, 1, 0, 0),
1754 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1755 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1756 ::capnp::word(29, 0, 0, 0, 119, 0, 0, 0),
1757 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1758 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1759 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
1760 ::capnp::word(112, 58, 67, 111, 108, 117, 109, 110),
1761 ::capnp::word(46, 100, 97, 116, 97, 46, 100, 101),
1762 ::capnp::word(108, 116, 97, 69, 110, 99, 111, 100),
1763 ::capnp::word(101, 100, 73, 49, 54, 0, 0, 0),
1764 ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
1765 ::capnp::word(0, 0, 0, 0, 1, 0, 0, 0),
1766 ::capnp::word(0, 0, 1, 0, 9, 0, 0, 0),
1767 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1768 ::capnp::word(41, 0, 0, 0, 50, 0, 0, 0),
1769 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1770 ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
1771 ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
1772 ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
1773 ::capnp::word(0, 0, 1, 0, 10, 0, 0, 0),
1774 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1775 ::capnp::word(45, 0, 0, 0, 42, 0, 0, 0),
1776 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1777 ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
1778 ::capnp::word(68, 0, 0, 0, 2, 0, 1, 0),
1779 ::capnp::word(102, 105, 114, 115, 116, 0, 0, 0),
1780 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
1781 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1782 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1783 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1784 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
1785 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1786 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1787 ::capnp::word(100, 97, 116, 97, 0, 0, 0, 0),
1788 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1789 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1790 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1791 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
1792 ::capnp::word(3, 0, 0, 0, 0, 0, 0, 0),
1793 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1794 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1795 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1796 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
1797 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1798 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1799 ];
1800 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1801 match index {
1802 0 => <i64 as ::capnp::introspect::Introspect>::introspect(),
1803 1 => <::capnp::primitive_list::Owned<i16> as ::capnp::introspect::Introspect>::introspect(),
1804 _ => panic!("invalid field index {}", index),
1805 }
1806 }
1807 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
1808 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
1809 }
1810 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
1811 encoded_node: &ENCODED_NODE,
1812 nonunion_members: NONUNION_MEMBERS,
1813 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
1814 members_by_name: MEMBERS_BY_NAME,
1815 };
1816 pub static NONUNION_MEMBERS : &[u16] = &[0,1];
1817 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
1818 pub static MEMBERS_BY_NAME : &[u16] = &[1,0];
1819 pub const TYPE_ID: u64 = 0xe250_e06c_71a2_8728;
1820 }
1821 }
1822
1823 pub mod delta_encoded_i32 {
1824 #[derive(Copy, Clone)]
1825 pub struct Owned(());
1826 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
1827 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1828 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1829 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1830
1831 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1832 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
1833 impl <'a,> ::core::clone::Clone for Reader<'a,> {
1834 fn clone(&self) -> Self { *self }
1835 }
1836
1837 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
1838 const TYPE_ID: u64 = _private::TYPE_ID;
1839 }
1840 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
1841 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1842 Self { reader, }
1843 }
1844 }
1845
1846 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
1847 fn from(reader: Reader<'a,>) -> Self {
1848 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1849 }
1850 }
1851
1852 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
1853 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1854 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1855 }
1856 }
1857
1858 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
1859 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1860 ::core::result::Result::Ok(reader.get_struct(default)?.into())
1861 }
1862 }
1863
1864 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
1865 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1866 self.reader
1867 }
1868 }
1869
1870 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
1871 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1872 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1873 }
1874 }
1875
1876 impl <'a,> Reader<'a,> {
1877 pub fn reborrow(&self) -> Reader<'_,> {
1878 Self { .. *self }
1879 }
1880
1881 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1882 self.reader.total_size()
1883 }
1884 #[inline]
1885 pub fn get_first(self) -> i64 {
1886 self.reader.get_data_field::<i64>(1)
1887 }
1888 #[inline]
1889 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Reader<'a,i32>> {
1890 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
1891 }
1892 #[inline]
1893 pub fn has_data(&self) -> bool {
1894 !self.reader.get_pointer_field(1).is_null()
1895 }
1896 }
1897
1898 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1899 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
1900 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 4, pointers: 2 };
1901 }
1902 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
1903 const TYPE_ID: u64 = _private::TYPE_ID;
1904 }
1905 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
1906 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1907 Self { builder, }
1908 }
1909 }
1910
1911 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
1912 fn from(builder: Builder<'a,>) -> Self {
1913 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
1914 }
1915 }
1916
1917 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
1918 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1919 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1920 }
1921 }
1922
1923 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
1924 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1925 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1926 }
1927 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1928 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1929 }
1930 }
1931
1932 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
1933 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1934 }
1935
1936 impl <'a,> Builder<'a,> {
1937 pub fn into_reader(self) -> Reader<'a,> {
1938 self.builder.into_reader().into()
1939 }
1940 pub fn reborrow(&mut self) -> Builder<'_,> {
1941 Builder { builder: self.builder.reborrow() }
1942 }
1943 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1944 self.builder.as_reader().into()
1945 }
1946
1947 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1948 self.builder.as_reader().total_size()
1949 }
1950 #[inline]
1951 pub fn get_first(self) -> i64 {
1952 self.builder.get_data_field::<i64>(1)
1953 }
1954 #[inline]
1955 pub fn set_first(&mut self, value: i64) {
1956 self.builder.set_data_field::<i64>(1, value);
1957 }
1958 #[inline]
1959 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Builder<'a,i32>> {
1960 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
1961 }
1962 #[inline]
1963 pub fn set_data(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::primitive_list::Owned<i32>>) -> ::capnp::Result<()> {
1964 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
1965 }
1966 #[inline]
1967 pub fn init_data(self, size: u32) -> ::capnp::primitive_list::Builder<'a,i32> {
1968 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
1969 }
1970 #[inline]
1971 pub fn has_data(&self) -> bool {
1972 !self.builder.is_pointer_field_null(1)
1973 }
1974 }
1975
1976 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1977 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1978 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1979 Self { _typeless: typeless, }
1980 }
1981 }
1982 impl Pipeline {
1983 }
1984 mod _private {
1985 pub static ENCODED_NODE: [::capnp::Word; 52] = [
1986 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
1987 ::capnp::word(145, 147, 27, 229, 239, 90, 108, 204),
1988 ::capnp::word(22, 0, 0, 0, 1, 0, 4, 0),
1989 ::capnp::word(27, 183, 85, 136, 215, 47, 36, 172),
1990 ::capnp::word(2, 0, 7, 0, 1, 0, 0, 0),
1991 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1992 ::capnp::word(21, 0, 0, 0, 50, 1, 0, 0),
1993 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1994 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1995 ::capnp::word(29, 0, 0, 0, 119, 0, 0, 0),
1996 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1997 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1998 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
1999 ::capnp::word(112, 58, 67, 111, 108, 117, 109, 110),
2000 ::capnp::word(46, 100, 97, 116, 97, 46, 100, 101),
2001 ::capnp::word(108, 116, 97, 69, 110, 99, 111, 100),
2002 ::capnp::word(101, 100, 73, 51, 50, 0, 0, 0),
2003 ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
2004 ::capnp::word(0, 0, 0, 0, 1, 0, 0, 0),
2005 ::capnp::word(0, 0, 1, 0, 11, 0, 0, 0),
2006 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2007 ::capnp::word(41, 0, 0, 0, 50, 0, 0, 0),
2008 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2009 ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
2010 ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
2011 ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
2012 ::capnp::word(0, 0, 1, 0, 12, 0, 0, 0),
2013 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2014 ::capnp::word(45, 0, 0, 0, 42, 0, 0, 0),
2015 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2016 ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
2017 ::capnp::word(68, 0, 0, 0, 2, 0, 1, 0),
2018 ::capnp::word(102, 105, 114, 115, 116, 0, 0, 0),
2019 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2020 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2021 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2022 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2023 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2024 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2025 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2026 ::capnp::word(100, 97, 116, 97, 0, 0, 0, 0),
2027 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
2028 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2029 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2030 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
2031 ::capnp::word(4, 0, 0, 0, 0, 0, 0, 0),
2032 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2033 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2034 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2035 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
2036 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2037 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2038 ];
2039 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2040 match index {
2041 0 => <i64 as ::capnp::introspect::Introspect>::introspect(),
2042 1 => <::capnp::primitive_list::Owned<i32> as ::capnp::introspect::Introspect>::introspect(),
2043 _ => panic!("invalid field index {}", index),
2044 }
2045 }
2046 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2047 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
2048 }
2049 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
2050 encoded_node: &ENCODED_NODE,
2051 nonunion_members: NONUNION_MEMBERS,
2052 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
2053 members_by_name: MEMBERS_BY_NAME,
2054 };
2055 pub static NONUNION_MEMBERS : &[u16] = &[0,1];
2056 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2057 pub static MEMBERS_BY_NAME : &[u16] = &[1,0];
2058 pub const TYPE_ID: u64 = 0xcc6c_5aef_e51b_9391;
2059 }
2060 }
2061
2062 pub mod double_delta_encoded_i8 {
2063 #[derive(Copy, Clone)]
2064 pub struct Owned(());
2065 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
2066 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2067 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2068 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2069
2070 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2071 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
2072 impl <'a,> ::core::clone::Clone for Reader<'a,> {
2073 fn clone(&self) -> Self { *self }
2074 }
2075
2076 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
2077 const TYPE_ID: u64 = _private::TYPE_ID;
2078 }
2079 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
2080 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2081 Self { reader, }
2082 }
2083 }
2084
2085 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
2086 fn from(reader: Reader<'a,>) -> Self {
2087 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2088 }
2089 }
2090
2091 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
2092 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2093 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2094 }
2095 }
2096
2097 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
2098 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2099 ::core::result::Result::Ok(reader.get_struct(default)?.into())
2100 }
2101 }
2102
2103 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
2104 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2105 self.reader
2106 }
2107 }
2108
2109 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
2110 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2111 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2112 }
2113 }
2114
2115 impl <'a,> Reader<'a,> {
2116 pub fn reborrow(&self) -> Reader<'_,> {
2117 Self { .. *self }
2118 }
2119
2120 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2121 self.reader.total_size()
2122 }
2123 #[inline]
2124 pub fn get_first(self) -> i64 {
2125 self.reader.get_data_field::<i64>(1)
2126 }
2127 #[inline]
2128 pub fn get_second(self) -> i64 {
2129 self.reader.get_data_field::<i64>(2)
2130 }
2131 #[inline]
2132 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Reader<'a,i8>> {
2133 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
2134 }
2135 #[inline]
2136 pub fn has_data(&self) -> bool {
2137 !self.reader.get_pointer_field(1).is_null()
2138 }
2139 }
2140
2141 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2142 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
2143 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 4, pointers: 2 };
2144 }
2145 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
2146 const TYPE_ID: u64 = _private::TYPE_ID;
2147 }
2148 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
2149 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2150 Self { builder, }
2151 }
2152 }
2153
2154 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
2155 fn from(builder: Builder<'a,>) -> Self {
2156 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2157 }
2158 }
2159
2160 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
2161 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2162 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2163 }
2164 }
2165
2166 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
2167 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2168 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2169 }
2170 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2171 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2172 }
2173 }
2174
2175 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
2176 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2177 }
2178
2179 impl <'a,> Builder<'a,> {
2180 pub fn into_reader(self) -> Reader<'a,> {
2181 self.builder.into_reader().into()
2182 }
2183 pub fn reborrow(&mut self) -> Builder<'_,> {
2184 Builder { builder: self.builder.reborrow() }
2185 }
2186 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2187 self.builder.as_reader().into()
2188 }
2189
2190 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2191 self.builder.as_reader().total_size()
2192 }
2193 #[inline]
2194 pub fn get_first(self) -> i64 {
2195 self.builder.get_data_field::<i64>(1)
2196 }
2197 #[inline]
2198 pub fn set_first(&mut self, value: i64) {
2199 self.builder.set_data_field::<i64>(1, value);
2200 }
2201 #[inline]
2202 pub fn get_second(self) -> i64 {
2203 self.builder.get_data_field::<i64>(2)
2204 }
2205 #[inline]
2206 pub fn set_second(&mut self, value: i64) {
2207 self.builder.set_data_field::<i64>(2, value);
2208 }
2209 #[inline]
2210 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Builder<'a,i8>> {
2211 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
2212 }
2213 #[inline]
2214 pub fn set_data(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::primitive_list::Owned<i8>>) -> ::capnp::Result<()> {
2215 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
2216 }
2217 #[inline]
2218 pub fn init_data(self, size: u32) -> ::capnp::primitive_list::Builder<'a,i8> {
2219 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
2220 }
2221 #[inline]
2222 pub fn has_data(&self) -> bool {
2223 !self.builder.is_pointer_field_null(1)
2224 }
2225 }
2226
2227 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2228 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2229 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2230 Self { _typeless: typeless, }
2231 }
2232 }
2233 impl Pipeline {
2234 }
2235 mod _private {
2236 pub static ENCODED_NODE: [::capnp::Word; 68] = [
2237 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
2238 ::capnp::word(248, 103, 158, 204, 150, 131, 6, 210),
2239 ::capnp::word(22, 0, 0, 0, 1, 0, 4, 0),
2240 ::capnp::word(27, 183, 85, 136, 215, 47, 36, 172),
2241 ::capnp::word(2, 0, 7, 0, 1, 0, 0, 0),
2242 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2243 ::capnp::word(21, 0, 0, 0, 90, 1, 0, 0),
2244 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2245 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2246 ::capnp::word(33, 0, 0, 0, 175, 0, 0, 0),
2247 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2248 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2249 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
2250 ::capnp::word(112, 58, 67, 111, 108, 117, 109, 110),
2251 ::capnp::word(46, 100, 97, 116, 97, 46, 100, 111),
2252 ::capnp::word(117, 98, 108, 101, 68, 101, 108, 116),
2253 ::capnp::word(97, 69, 110, 99, 111, 100, 101, 100),
2254 ::capnp::word(73, 56, 0, 0, 0, 0, 0, 0),
2255 ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
2256 ::capnp::word(0, 0, 0, 0, 1, 0, 0, 0),
2257 ::capnp::word(0, 0, 1, 0, 13, 0, 0, 0),
2258 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2259 ::capnp::word(69, 0, 0, 0, 50, 0, 0, 0),
2260 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2261 ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
2262 ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
2263 ::capnp::word(1, 0, 0, 0, 2, 0, 0, 0),
2264 ::capnp::word(0, 0, 1, 0, 14, 0, 0, 0),
2265 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2266 ::capnp::word(73, 0, 0, 0, 58, 0, 0, 0),
2267 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2268 ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
2269 ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
2270 ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
2271 ::capnp::word(0, 0, 1, 0, 15, 0, 0, 0),
2272 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2273 ::capnp::word(77, 0, 0, 0, 42, 0, 0, 0),
2274 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2275 ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
2276 ::capnp::word(100, 0, 0, 0, 2, 0, 1, 0),
2277 ::capnp::word(102, 105, 114, 115, 116, 0, 0, 0),
2278 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2279 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2280 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2281 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2282 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2283 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2284 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2285 ::capnp::word(115, 101, 99, 111, 110, 100, 0, 0),
2286 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2287 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2288 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2289 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2290 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2291 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2292 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2293 ::capnp::word(100, 97, 116, 97, 0, 0, 0, 0),
2294 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
2295 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2296 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2297 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
2298 ::capnp::word(2, 0, 0, 0, 0, 0, 0, 0),
2299 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2300 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2301 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2302 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
2303 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2304 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2305 ];
2306 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2307 match index {
2308 0 => <i64 as ::capnp::introspect::Introspect>::introspect(),
2309 1 => <i64 as ::capnp::introspect::Introspect>::introspect(),
2310 2 => <::capnp::primitive_list::Owned<i8> as ::capnp::introspect::Introspect>::introspect(),
2311 _ => panic!("invalid field index {}", index),
2312 }
2313 }
2314 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2315 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
2316 }
2317 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
2318 encoded_node: &ENCODED_NODE,
2319 nonunion_members: NONUNION_MEMBERS,
2320 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
2321 members_by_name: MEMBERS_BY_NAME,
2322 };
2323 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2];
2324 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2325 pub static MEMBERS_BY_NAME : &[u16] = &[2,0,1];
2326 pub const TYPE_ID: u64 = 0xd206_8396_cc9e_67f8;
2327 }
2328 }
2329
2330 pub mod double_delta_encoded_i16 {
2331 #[derive(Copy, Clone)]
2332 pub struct Owned(());
2333 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
2334 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2335 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2336 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2337
2338 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2339 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
2340 impl <'a,> ::core::clone::Clone for Reader<'a,> {
2341 fn clone(&self) -> Self { *self }
2342 }
2343
2344 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
2345 const TYPE_ID: u64 = _private::TYPE_ID;
2346 }
2347 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
2348 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2349 Self { reader, }
2350 }
2351 }
2352
2353 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
2354 fn from(reader: Reader<'a,>) -> Self {
2355 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2356 }
2357 }
2358
2359 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
2360 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2361 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2362 }
2363 }
2364
2365 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
2366 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2367 ::core::result::Result::Ok(reader.get_struct(default)?.into())
2368 }
2369 }
2370
2371 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
2372 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2373 self.reader
2374 }
2375 }
2376
2377 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
2378 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2379 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2380 }
2381 }
2382
2383 impl <'a,> Reader<'a,> {
2384 pub fn reborrow(&self) -> Reader<'_,> {
2385 Self { .. *self }
2386 }
2387
2388 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2389 self.reader.total_size()
2390 }
2391 #[inline]
2392 pub fn get_first(self) -> i64 {
2393 self.reader.get_data_field::<i64>(1)
2394 }
2395 #[inline]
2396 pub fn get_second(self) -> i64 {
2397 self.reader.get_data_field::<i64>(2)
2398 }
2399 #[inline]
2400 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Reader<'a,i16>> {
2401 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
2402 }
2403 #[inline]
2404 pub fn has_data(&self) -> bool {
2405 !self.reader.get_pointer_field(1).is_null()
2406 }
2407 }
2408
2409 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2410 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
2411 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 4, pointers: 2 };
2412 }
2413 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
2414 const TYPE_ID: u64 = _private::TYPE_ID;
2415 }
2416 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
2417 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2418 Self { builder, }
2419 }
2420 }
2421
2422 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
2423 fn from(builder: Builder<'a,>) -> Self {
2424 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2425 }
2426 }
2427
2428 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
2429 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2430 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2431 }
2432 }
2433
2434 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
2435 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2436 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2437 }
2438 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2439 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2440 }
2441 }
2442
2443 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
2444 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2445 }
2446
2447 impl <'a,> Builder<'a,> {
2448 pub fn into_reader(self) -> Reader<'a,> {
2449 self.builder.into_reader().into()
2450 }
2451 pub fn reborrow(&mut self) -> Builder<'_,> {
2452 Builder { builder: self.builder.reborrow() }
2453 }
2454 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2455 self.builder.as_reader().into()
2456 }
2457
2458 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2459 self.builder.as_reader().total_size()
2460 }
2461 #[inline]
2462 pub fn get_first(self) -> i64 {
2463 self.builder.get_data_field::<i64>(1)
2464 }
2465 #[inline]
2466 pub fn set_first(&mut self, value: i64) {
2467 self.builder.set_data_field::<i64>(1, value);
2468 }
2469 #[inline]
2470 pub fn get_second(self) -> i64 {
2471 self.builder.get_data_field::<i64>(2)
2472 }
2473 #[inline]
2474 pub fn set_second(&mut self, value: i64) {
2475 self.builder.set_data_field::<i64>(2, value);
2476 }
2477 #[inline]
2478 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Builder<'a,i16>> {
2479 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
2480 }
2481 #[inline]
2482 pub fn set_data(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::primitive_list::Owned<i16>>) -> ::capnp::Result<()> {
2483 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
2484 }
2485 #[inline]
2486 pub fn init_data(self, size: u32) -> ::capnp::primitive_list::Builder<'a,i16> {
2487 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
2488 }
2489 #[inline]
2490 pub fn has_data(&self) -> bool {
2491 !self.builder.is_pointer_field_null(1)
2492 }
2493 }
2494
2495 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2496 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2497 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2498 Self { _typeless: typeless, }
2499 }
2500 }
2501 impl Pipeline {
2502 }
2503 mod _private {
2504 pub static ENCODED_NODE: [::capnp::Word; 68] = [
2505 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
2506 ::capnp::word(24, 11, 235, 142, 203, 64, 244, 133),
2507 ::capnp::word(22, 0, 0, 0, 1, 0, 4, 0),
2508 ::capnp::word(27, 183, 85, 136, 215, 47, 36, 172),
2509 ::capnp::word(2, 0, 7, 0, 1, 0, 0, 0),
2510 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2511 ::capnp::word(21, 0, 0, 0, 98, 1, 0, 0),
2512 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2513 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2514 ::capnp::word(33, 0, 0, 0, 175, 0, 0, 0),
2515 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2516 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2517 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
2518 ::capnp::word(112, 58, 67, 111, 108, 117, 109, 110),
2519 ::capnp::word(46, 100, 97, 116, 97, 46, 100, 111),
2520 ::capnp::word(117, 98, 108, 101, 68, 101, 108, 116),
2521 ::capnp::word(97, 69, 110, 99, 111, 100, 101, 100),
2522 ::capnp::word(73, 49, 54, 0, 0, 0, 0, 0),
2523 ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
2524 ::capnp::word(0, 0, 0, 0, 1, 0, 0, 0),
2525 ::capnp::word(0, 0, 1, 0, 16, 0, 0, 0),
2526 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2527 ::capnp::word(69, 0, 0, 0, 50, 0, 0, 0),
2528 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2529 ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
2530 ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
2531 ::capnp::word(1, 0, 0, 0, 2, 0, 0, 0),
2532 ::capnp::word(0, 0, 1, 0, 17, 0, 0, 0),
2533 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2534 ::capnp::word(73, 0, 0, 0, 58, 0, 0, 0),
2535 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2536 ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
2537 ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
2538 ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
2539 ::capnp::word(0, 0, 1, 0, 18, 0, 0, 0),
2540 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2541 ::capnp::word(77, 0, 0, 0, 42, 0, 0, 0),
2542 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2543 ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
2544 ::capnp::word(100, 0, 0, 0, 2, 0, 1, 0),
2545 ::capnp::word(102, 105, 114, 115, 116, 0, 0, 0),
2546 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2547 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2548 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2549 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2550 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2551 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2552 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2553 ::capnp::word(115, 101, 99, 111, 110, 100, 0, 0),
2554 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2555 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2556 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2557 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2558 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2559 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2560 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2561 ::capnp::word(100, 97, 116, 97, 0, 0, 0, 0),
2562 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
2563 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2564 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2565 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
2566 ::capnp::word(3, 0, 0, 0, 0, 0, 0, 0),
2567 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2568 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2569 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2570 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
2571 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2572 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2573 ];
2574 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2575 match index {
2576 0 => <i64 as ::capnp::introspect::Introspect>::introspect(),
2577 1 => <i64 as ::capnp::introspect::Introspect>::introspect(),
2578 2 => <::capnp::primitive_list::Owned<i16> as ::capnp::introspect::Introspect>::introspect(),
2579 _ => panic!("invalid field index {}", index),
2580 }
2581 }
2582 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2583 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
2584 }
2585 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
2586 encoded_node: &ENCODED_NODE,
2587 nonunion_members: NONUNION_MEMBERS,
2588 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
2589 members_by_name: MEMBERS_BY_NAME,
2590 };
2591 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2];
2592 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2593 pub static MEMBERS_BY_NAME : &[u16] = &[2,0,1];
2594 pub const TYPE_ID: u64 = 0x85f4_40cb_8eeb_0b18;
2595 }
2596 }
2597
2598 pub mod double_delta_encoded_i32 {
2599 #[derive(Copy, Clone)]
2600 pub struct Owned(());
2601 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
2602 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2603 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2604 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2605
2606 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2607 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
2608 impl <'a,> ::core::clone::Clone for Reader<'a,> {
2609 fn clone(&self) -> Self { *self }
2610 }
2611
2612 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
2613 const TYPE_ID: u64 = _private::TYPE_ID;
2614 }
2615 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
2616 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2617 Self { reader, }
2618 }
2619 }
2620
2621 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
2622 fn from(reader: Reader<'a,>) -> Self {
2623 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2624 }
2625 }
2626
2627 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
2628 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2629 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2630 }
2631 }
2632
2633 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
2634 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2635 ::core::result::Result::Ok(reader.get_struct(default)?.into())
2636 }
2637 }
2638
2639 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
2640 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2641 self.reader
2642 }
2643 }
2644
2645 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
2646 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2647 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2648 }
2649 }
2650
2651 impl <'a,> Reader<'a,> {
2652 pub fn reborrow(&self) -> Reader<'_,> {
2653 Self { .. *self }
2654 }
2655
2656 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2657 self.reader.total_size()
2658 }
2659 #[inline]
2660 pub fn get_first(self) -> i64 {
2661 self.reader.get_data_field::<i64>(1)
2662 }
2663 #[inline]
2664 pub fn get_second(self) -> i64 {
2665 self.reader.get_data_field::<i64>(2)
2666 }
2667 #[inline]
2668 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Reader<'a,i32>> {
2669 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
2670 }
2671 #[inline]
2672 pub fn has_data(&self) -> bool {
2673 !self.reader.get_pointer_field(1).is_null()
2674 }
2675 }
2676
2677 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2678 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
2679 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 4, pointers: 2 };
2680 }
2681 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
2682 const TYPE_ID: u64 = _private::TYPE_ID;
2683 }
2684 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
2685 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2686 Self { builder, }
2687 }
2688 }
2689
2690 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
2691 fn from(builder: Builder<'a,>) -> Self {
2692 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2693 }
2694 }
2695
2696 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
2697 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2698 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2699 }
2700 }
2701
2702 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
2703 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2704 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2705 }
2706 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2707 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2708 }
2709 }
2710
2711 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
2712 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2713 }
2714
2715 impl <'a,> Builder<'a,> {
2716 pub fn into_reader(self) -> Reader<'a,> {
2717 self.builder.into_reader().into()
2718 }
2719 pub fn reborrow(&mut self) -> Builder<'_,> {
2720 Builder { builder: self.builder.reborrow() }
2721 }
2722 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2723 self.builder.as_reader().into()
2724 }
2725
2726 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2727 self.builder.as_reader().total_size()
2728 }
2729 #[inline]
2730 pub fn get_first(self) -> i64 {
2731 self.builder.get_data_field::<i64>(1)
2732 }
2733 #[inline]
2734 pub fn set_first(&mut self, value: i64) {
2735 self.builder.set_data_field::<i64>(1, value);
2736 }
2737 #[inline]
2738 pub fn get_second(self) -> i64 {
2739 self.builder.get_data_field::<i64>(2)
2740 }
2741 #[inline]
2742 pub fn set_second(&mut self, value: i64) {
2743 self.builder.set_data_field::<i64>(2, value);
2744 }
2745 #[inline]
2746 pub fn get_data(self) -> ::capnp::Result<::capnp::primitive_list::Builder<'a,i32>> {
2747 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
2748 }
2749 #[inline]
2750 pub fn set_data(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::primitive_list::Owned<i32>>) -> ::capnp::Result<()> {
2751 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false)
2752 }
2753 #[inline]
2754 pub fn init_data(self, size: u32) -> ::capnp::primitive_list::Builder<'a,i32> {
2755 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(1), size)
2756 }
2757 #[inline]
2758 pub fn has_data(&self) -> bool {
2759 !self.builder.is_pointer_field_null(1)
2760 }
2761 }
2762
2763 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2764 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2765 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2766 Self { _typeless: typeless, }
2767 }
2768 }
2769 impl Pipeline {
2770 }
2771 mod _private {
2772 pub static ENCODED_NODE: [::capnp::Word; 68] = [
2773 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
2774 ::capnp::word(244, 212, 121, 141, 30, 30, 7, 244),
2775 ::capnp::word(22, 0, 0, 0, 1, 0, 4, 0),
2776 ::capnp::word(27, 183, 85, 136, 215, 47, 36, 172),
2777 ::capnp::word(2, 0, 7, 0, 1, 0, 0, 0),
2778 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2779 ::capnp::word(21, 0, 0, 0, 98, 1, 0, 0),
2780 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2781 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2782 ::capnp::word(33, 0, 0, 0, 175, 0, 0, 0),
2783 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2784 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2785 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
2786 ::capnp::word(112, 58, 67, 111, 108, 117, 109, 110),
2787 ::capnp::word(46, 100, 97, 116, 97, 46, 100, 111),
2788 ::capnp::word(117, 98, 108, 101, 68, 101, 108, 116),
2789 ::capnp::word(97, 69, 110, 99, 111, 100, 101, 100),
2790 ::capnp::word(73, 51, 50, 0, 0, 0, 0, 0),
2791 ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
2792 ::capnp::word(0, 0, 0, 0, 1, 0, 0, 0),
2793 ::capnp::word(0, 0, 1, 0, 19, 0, 0, 0),
2794 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2795 ::capnp::word(69, 0, 0, 0, 50, 0, 0, 0),
2796 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2797 ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
2798 ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
2799 ::capnp::word(1, 0, 0, 0, 2, 0, 0, 0),
2800 ::capnp::word(0, 0, 1, 0, 20, 0, 0, 0),
2801 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2802 ::capnp::word(73, 0, 0, 0, 58, 0, 0, 0),
2803 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2804 ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
2805 ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
2806 ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
2807 ::capnp::word(0, 0, 1, 0, 21, 0, 0, 0),
2808 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2809 ::capnp::word(77, 0, 0, 0, 42, 0, 0, 0),
2810 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2811 ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
2812 ::capnp::word(100, 0, 0, 0, 2, 0, 1, 0),
2813 ::capnp::word(102, 105, 114, 115, 116, 0, 0, 0),
2814 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2815 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2816 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2817 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2818 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2819 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2820 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2821 ::capnp::word(115, 101, 99, 111, 110, 100, 0, 0),
2822 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2823 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2824 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2825 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2826 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
2827 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2828 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2829 ::capnp::word(100, 97, 116, 97, 0, 0, 0, 0),
2830 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
2831 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2832 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2833 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
2834 ::capnp::word(4, 0, 0, 0, 0, 0, 0, 0),
2835 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2836 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2837 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2838 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
2839 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2840 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2841 ];
2842 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2843 match index {
2844 0 => <i64 as ::capnp::introspect::Introspect>::introspect(),
2845 1 => <i64 as ::capnp::introspect::Introspect>::introspect(),
2846 2 => <::capnp::primitive_list::Owned<i32> as ::capnp::introspect::Introspect>::introspect(),
2847 _ => panic!("invalid field index {}", index),
2848 }
2849 }
2850 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2851 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
2852 }
2853 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
2854 encoded_node: &ENCODED_NODE,
2855 nonunion_members: NONUNION_MEMBERS,
2856 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
2857 members_by_name: MEMBERS_BY_NAME,
2858 };
2859 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2];
2860 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2861 pub static MEMBERS_BY_NAME : &[u16] = &[2,0,1];
2862 pub const TYPE_ID: u64 = 0xf407_1e1e_8d79_d4f4;
2863 }
2864 }
2865
2866 pub mod range {
2867 #[derive(Copy, Clone)]
2868 pub struct Owned(());
2869 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
2870 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2871 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2872 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2873
2874 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2875 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
2876 impl <'a,> ::core::clone::Clone for Reader<'a,> {
2877 fn clone(&self) -> Self { *self }
2878 }
2879
2880 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
2881 const TYPE_ID: u64 = _private::TYPE_ID;
2882 }
2883 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
2884 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2885 Self { reader, }
2886 }
2887 }
2888
2889 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
2890 fn from(reader: Reader<'a,>) -> Self {
2891 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2892 }
2893 }
2894
2895 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
2896 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2897 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2898 }
2899 }
2900
2901 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
2902 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2903 ::core::result::Result::Ok(reader.get_struct(default)?.into())
2904 }
2905 }
2906
2907 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
2908 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2909 self.reader
2910 }
2911 }
2912
2913 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
2914 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2915 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2916 }
2917 }
2918
2919 impl <'a,> Reader<'a,> {
2920 pub fn reborrow(&self) -> Reader<'_,> {
2921 Self { .. *self }
2922 }
2923
2924 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2925 self.reader.total_size()
2926 }
2927 #[inline]
2928 pub fn get_start(self) -> i64 {
2929 self.reader.get_data_field::<i64>(1)
2930 }
2931 #[inline]
2932 pub fn get_len(self) -> u64 {
2933 self.reader.get_data_field::<u64>(2)
2934 }
2935 #[inline]
2936 pub fn get_step(self) -> i64 {
2937 self.reader.get_data_field::<i64>(3)
2938 }
2939 }
2940
2941 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2942 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
2943 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 4, pointers: 2 };
2944 }
2945 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
2946 const TYPE_ID: u64 = _private::TYPE_ID;
2947 }
2948 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
2949 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2950 Self { builder, }
2951 }
2952 }
2953
2954 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
2955 fn from(builder: Builder<'a,>) -> Self {
2956 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
2957 }
2958 }
2959
2960 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
2961 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2962 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2963 }
2964 }
2965
2966 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
2967 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2968 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2969 }
2970 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2971 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2972 }
2973 }
2974
2975 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
2976 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2977 }
2978
2979 impl <'a,> Builder<'a,> {
2980 pub fn into_reader(self) -> Reader<'a,> {
2981 self.builder.into_reader().into()
2982 }
2983 pub fn reborrow(&mut self) -> Builder<'_,> {
2984 Builder { builder: self.builder.reborrow() }
2985 }
2986 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2987 self.builder.as_reader().into()
2988 }
2989
2990 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2991 self.builder.as_reader().total_size()
2992 }
2993 #[inline]
2994 pub fn get_start(self) -> i64 {
2995 self.builder.get_data_field::<i64>(1)
2996 }
2997 #[inline]
2998 pub fn set_start(&mut self, value: i64) {
2999 self.builder.set_data_field::<i64>(1, value);
3000 }
3001 #[inline]
3002 pub fn get_len(self) -> u64 {
3003 self.builder.get_data_field::<u64>(2)
3004 }
3005 #[inline]
3006 pub fn set_len(&mut self, value: u64) {
3007 self.builder.set_data_field::<u64>(2, value);
3008 }
3009 #[inline]
3010 pub fn get_step(self) -> i64 {
3011 self.builder.get_data_field::<i64>(3)
3012 }
3013 #[inline]
3014 pub fn set_step(&mut self, value: i64) {
3015 self.builder.set_data_field::<i64>(3, value);
3016 }
3017 }
3018
3019 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
3020 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
3021 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
3022 Self { _typeless: typeless, }
3023 }
3024 }
3025 impl Pipeline {
3026 }
3027 mod _private {
3028 pub static ENCODED_NODE: [::capnp::Word; 62] = [
3029 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
3030 ::capnp::word(112, 84, 132, 60, 241, 190, 85, 185),
3031 ::capnp::word(22, 0, 0, 0, 1, 0, 4, 0),
3032 ::capnp::word(27, 183, 85, 136, 215, 47, 36, 172),
3033 ::capnp::word(2, 0, 7, 0, 1, 0, 0, 0),
3034 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3035 ::capnp::word(21, 0, 0, 0, 226, 0, 0, 0),
3036 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3037 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3038 ::capnp::word(25, 0, 0, 0, 175, 0, 0, 0),
3039 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3040 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3041 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
3042 ::capnp::word(112, 58, 67, 111, 108, 117, 109, 110),
3043 ::capnp::word(46, 100, 97, 116, 97, 46, 114, 97),
3044 ::capnp::word(110, 103, 101, 0, 0, 0, 0, 0),
3045 ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
3046 ::capnp::word(0, 0, 0, 0, 1, 0, 0, 0),
3047 ::capnp::word(0, 0, 1, 0, 22, 0, 0, 0),
3048 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3049 ::capnp::word(69, 0, 0, 0, 50, 0, 0, 0),
3050 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3051 ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
3052 ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
3053 ::capnp::word(1, 0, 0, 0, 2, 0, 0, 0),
3054 ::capnp::word(0, 0, 1, 0, 23, 0, 0, 0),
3055 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3056 ::capnp::word(73, 0, 0, 0, 34, 0, 0, 0),
3057 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3058 ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
3059 ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
3060 ::capnp::word(2, 0, 0, 0, 3, 0, 0, 0),
3061 ::capnp::word(0, 0, 1, 0, 24, 0, 0, 0),
3062 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3063 ::capnp::word(77, 0, 0, 0, 42, 0, 0, 0),
3064 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3065 ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
3066 ::capnp::word(84, 0, 0, 0, 2, 0, 1, 0),
3067 ::capnp::word(115, 116, 97, 114, 116, 0, 0, 0),
3068 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
3069 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3070 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3071 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3072 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
3073 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3074 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3075 ::capnp::word(108, 101, 110, 0, 0, 0, 0, 0),
3076 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
3077 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3078 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3079 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3080 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
3081 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3082 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3083 ::capnp::word(115, 116, 101, 112, 0, 0, 0, 0),
3084 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
3085 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3086 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3087 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3088 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
3089 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3090 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3091 ];
3092 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
3093 match index {
3094 0 => <i64 as ::capnp::introspect::Introspect>::introspect(),
3095 1 => <u64 as ::capnp::introspect::Introspect>::introspect(),
3096 2 => <i64 as ::capnp::introspect::Introspect>::introspect(),
3097 _ => panic!("invalid field index {}", index),
3098 }
3099 }
3100 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
3101 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
3102 }
3103 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
3104 encoded_node: &ENCODED_NODE,
3105 nonunion_members: NONUNION_MEMBERS,
3106 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
3107 members_by_name: MEMBERS_BY_NAME,
3108 };
3109 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2];
3110 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
3111 pub static MEMBERS_BY_NAME : &[u16] = &[1,0,2];
3112 pub const TYPE_ID: u64 = 0xb955_bef1_3c84_5470;
3113 }
3114 }
3115 }
3116}
3117
3118pub mod any_val {
3119 pub use self::Which::{F64,I64,String,Null};
3120
3121 #[derive(Copy, Clone)]
3122 pub struct Owned(());
3123 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
3124 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3125 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3126 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
3127
3128 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
3129 impl <'a,> ::core::marker::Copy for Reader<'a,> {}
3130 impl <'a,> ::core::clone::Clone for Reader<'a,> {
3131 fn clone(&self) -> Self { *self }
3132 }
3133
3134 impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
3135 const TYPE_ID: u64 = _private::TYPE_ID;
3136 }
3137 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
3138 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
3139 Self { reader, }
3140 }
3141 }
3142
3143 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
3144 fn from(reader: Reader<'a,>) -> Self {
3145 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
3146 }
3147 }
3148
3149 impl <'a,> ::core::fmt::Debug for Reader<'a,> {
3150 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
3151 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
3152 }
3153 }
3154
3155 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
3156 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3157 ::core::result::Result::Ok(reader.get_struct(default)?.into())
3158 }
3159 }
3160
3161 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
3162 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
3163 self.reader
3164 }
3165 }
3166
3167 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
3168 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
3169 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
3170 }
3171 }
3172
3173 impl <'a,> Reader<'a,> {
3174 pub fn reborrow(&self) -> Reader<'_,> {
3175 Self { .. *self }
3176 }
3177
3178 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3179 self.reader.total_size()
3180 }
3181 #[inline]
3182 pub fn has_string(&self) -> bool {
3183 if self.reader.get_data_field::<u16>(4) != 2 { return false; }
3184 !self.reader.get_pointer_field(0).is_null()
3185 }
3186 #[inline]
3187 pub fn which(self) -> ::core::result::Result<WhichReader<'a,>, ::capnp::NotInSchema> {
3188 match self.reader.get_data_field::<u16>(4) {
3189 0 => {
3190 ::core::result::Result::Ok(F64(
3191 self.reader.get_data_field::<f64>(0)
3192 ))
3193 }
3194 1 => {
3195 ::core::result::Result::Ok(I64(
3196 self.reader.get_data_field::<i64>(0)
3197 ))
3198 }
3199 2 => {
3200 ::core::result::Result::Ok(String(
3201 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
3202 ))
3203 }
3204 3 => {
3205 ::core::result::Result::Ok(Null(
3206 ()
3207 ))
3208 }
3209 x => ::core::result::Result::Err(::capnp::NotInSchema(x))
3210 }
3211 }
3212 }
3213
3214 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
3215 impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
3216 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 2, pointers: 1 };
3217 }
3218 impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
3219 const TYPE_ID: u64 = _private::TYPE_ID;
3220 }
3221 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
3222 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
3223 Self { builder, }
3224 }
3225 }
3226
3227 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
3228 fn from(builder: Builder<'a,>) -> Self {
3229 Self::Struct(::capnp::dynamic_struct::Builder::new(builder.builder, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
3230 }
3231 }
3232
3233 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
3234 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
3235 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
3236 }
3237 }
3238
3239 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
3240 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
3241 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
3242 }
3243 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3244 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
3245 }
3246 }
3247
3248 impl <'a,> ::capnp::traits::SetterInput<Owned<>> for Reader<'a,> {
3249 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
3250 }
3251
3252 impl <'a,> Builder<'a,> {
3253 pub fn into_reader(self) -> Reader<'a,> {
3254 self.builder.into_reader().into()
3255 }
3256 pub fn reborrow(&mut self) -> Builder<'_,> {
3257 Builder { builder: self.builder.reborrow() }
3258 }
3259 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
3260 self.builder.as_reader().into()
3261 }
3262
3263 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3264 self.builder.as_reader().total_size()
3265 }
3266 #[inline]
3267 pub fn set_f64(&mut self, value: f64) {
3268 self.builder.set_data_field::<u16>(4, 0);
3269 self.builder.set_data_field::<f64>(0, value);
3270 }
3271 #[inline]
3272 pub fn set_i64(&mut self, value: i64) {
3273 self.builder.set_data_field::<u16>(4, 1);
3274 self.builder.set_data_field::<i64>(0, value);
3275 }
3276 #[inline]
3277 pub fn set_string(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>) {
3278 self.builder.set_data_field::<u16>(4, 2);
3279 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false).unwrap()
3280 }
3281 #[inline]
3282 pub fn init_string(self, size: u32) -> ::capnp::text::Builder<'a> {
3283 self.builder.set_data_field::<u16>(4, 2);
3284 self.builder.get_pointer_field(0).init_text(size)
3285 }
3286 #[inline]
3287 pub fn has_string(&self) -> bool {
3288 if self.builder.get_data_field::<u16>(4) != 2 { return false; }
3289 !self.builder.is_pointer_field_null(0)
3290 }
3291 #[inline]
3292 pub fn set_null(&mut self, _value: ()) {
3293 self.builder.set_data_field::<u16>(4, 3);
3294 }
3295 #[inline]
3296 pub fn which(self) -> ::core::result::Result<WhichBuilder<'a,>, ::capnp::NotInSchema> {
3297 match self.builder.get_data_field::<u16>(4) {
3298 0 => {
3299 ::core::result::Result::Ok(F64(
3300 self.builder.get_data_field::<f64>(0)
3301 ))
3302 }
3303 1 => {
3304 ::core::result::Result::Ok(I64(
3305 self.builder.get_data_field::<i64>(0)
3306 ))
3307 }
3308 2 => {
3309 ::core::result::Result::Ok(String(
3310 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
3311 ))
3312 }
3313 3 => {
3314 ::core::result::Result::Ok(Null(
3315 ()
3316 ))
3317 }
3318 x => ::core::result::Result::Err(::capnp::NotInSchema(x))
3319 }
3320 }
3321 }
3322
3323 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
3324 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
3325 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
3326 Self { _typeless: typeless, }
3327 }
3328 }
3329 impl Pipeline {
3330 }
3331 mod _private {
3332 pub static ENCODED_NODE: [::capnp::Word; 77] = [
3333 ::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
3334 ::capnp::word(25, 3, 78, 140, 109, 89, 144, 252),
3335 ::capnp::word(10, 0, 0, 0, 1, 0, 2, 0),
3336 ::capnp::word(228, 9, 228, 72, 161, 147, 160, 136),
3337 ::capnp::word(1, 0, 7, 0, 0, 0, 4, 0),
3338 ::capnp::word(4, 0, 0, 0, 0, 0, 0, 0),
3339 ::capnp::word(21, 0, 0, 0, 138, 0, 0, 0),
3340 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
3341 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3342 ::capnp::word(25, 0, 0, 0, 231, 0, 0, 0),
3343 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3344 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3345 ::capnp::word(97, 112, 105, 46, 99, 97, 112, 110),
3346 ::capnp::word(112, 58, 65, 110, 121, 86, 97, 108),
3347 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3348 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
3349 ::capnp::word(16, 0, 0, 0, 3, 0, 4, 0),
3350 ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
3351 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
3352 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3353 ::capnp::word(97, 0, 0, 0, 34, 0, 0, 0),
3354 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3355 ::capnp::word(92, 0, 0, 0, 3, 0, 1, 0),
3356 ::capnp::word(104, 0, 0, 0, 2, 0, 1, 0),
3357 ::capnp::word(1, 0, 254, 255, 0, 0, 0, 0),
3358 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
3359 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3360 ::capnp::word(101, 0, 0, 0, 34, 0, 0, 0),
3361 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3362 ::capnp::word(96, 0, 0, 0, 3, 0, 1, 0),
3363 ::capnp::word(108, 0, 0, 0, 2, 0, 1, 0),
3364 ::capnp::word(2, 0, 253, 255, 0, 0, 0, 0),
3365 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
3366 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3367 ::capnp::word(105, 0, 0, 0, 58, 0, 0, 0),
3368 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3369 ::capnp::word(100, 0, 0, 0, 3, 0, 1, 0),
3370 ::capnp::word(112, 0, 0, 0, 2, 0, 1, 0),
3371 ::capnp::word(3, 0, 252, 255, 0, 0, 0, 0),
3372 ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
3373 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3374 ::capnp::word(109, 0, 0, 0, 42, 0, 0, 0),
3375 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3376 ::capnp::word(104, 0, 0, 0, 3, 0, 1, 0),
3377 ::capnp::word(116, 0, 0, 0, 2, 0, 1, 0),
3378 ::capnp::word(102, 54, 52, 0, 0, 0, 0, 0),
3379 ::capnp::word(11, 0, 0, 0, 0, 0, 0, 0),
3380 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3381 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3382 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3383 ::capnp::word(11, 0, 0, 0, 0, 0, 0, 0),
3384 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3385 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3386 ::capnp::word(105, 54, 52, 0, 0, 0, 0, 0),
3387 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
3388 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3389 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3390 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3391 ::capnp::word(5, 0, 0, 0, 0, 0, 0, 0),
3392 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3393 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3394 ::capnp::word(115, 116, 114, 105, 110, 103, 0, 0),
3395 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
3396 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3397 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3398 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3399 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
3400 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3401 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3402 ::capnp::word(110, 117, 108, 108, 0, 0, 0, 0),
3403 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3404 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3405 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3406 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3407 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3408 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3409 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3410 ];
3411 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
3412 match index {
3413 0 => <f64 as ::capnp::introspect::Introspect>::introspect(),
3414 1 => <i64 as ::capnp::introspect::Introspect>::introspect(),
3415 2 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
3416 3 => <() as ::capnp::introspect::Introspect>::introspect(),
3417 _ => panic!("invalid field index {}", index),
3418 }
3419 }
3420 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
3421 panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
3422 }
3423 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
3424 encoded_node: &ENCODED_NODE,
3425 nonunion_members: NONUNION_MEMBERS,
3426 members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
3427 members_by_name: MEMBERS_BY_NAME,
3428 };
3429 pub static NONUNION_MEMBERS : &[u16] = &[];
3430 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[0,1,2,3];
3431 pub static MEMBERS_BY_NAME : &[u16] = &[0,1,3,2];
3432 pub const TYPE_ID: u64 = 0xfc90_596d_8c4e_0319;
3433 }
3434 pub enum Which<A0> {
3435 F64(f64),
3436 I64(i64),
3437 String(A0),
3438 Null(()),
3439 }
3440 pub type WhichReader<'a,> = Which<::capnp::Result<::capnp::text::Reader<'a>>>;
3441 pub type WhichBuilder<'a,> = Which<::capnp::Result<::capnp::text::Builder<'a>>>;
3442}