1pub mod qid {
7 #[derive(Copy, Clone)]
8 pub struct Owned(());
9 impl ::capnp::introspect::Introspect for Owned { fn introspect() -> ::capnp::introspect::Type { ::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types, annotation_types: _private::get_annotation_types }).into() } }
10 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
11 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
12 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
13
14 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
15 impl <> ::core::marker::Copy for Reader<'_,> {}
16 impl <> ::core::clone::Clone for Reader<'_,> {
17 fn clone(&self) -> Self { *self }
18 }
19
20 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
21 const TYPE_ID: u64 = _private::TYPE_ID;
22 }
23 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
24 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
25 Self { reader, }
26 }
27 }
28
29 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
30 fn from(reader: Reader<'a,>) -> Self {
31 Self::Struct(::capnp::dynamic_struct::Reader::new(reader.reader, ::capnp::schema::StructSchema::new(::capnp::introspect::RawBrandedStructSchema { generic: &_private::RAW_SCHEMA, field_types: _private::get_field_types::<>, annotation_types: _private::get_annotation_types::<>})))
32 }
33 }
34
35 impl <> ::core::fmt::Debug for Reader<'_,> {
36 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
37 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
38 }
39 }
40
41 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
42 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
43 ::core::result::Result::Ok(reader.get_struct(default)?.into())
44 }
45 }
46
47 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
48 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
49 self.reader
50 }
51 }
52
53 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
54 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
55 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
56 }
57 }
58
59 impl <> Reader<'_,> {
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_qtype(self) -> u8 {
69 self.reader.get_data_field::<u8>(0)
70 }
71 #[inline]
72 pub fn get_version(self) -> u32 {
73 self.reader.get_data_field::<u32>(1)
74 }
75 #[inline]
76 pub fn get_path(self) -> u64 {
77 self.reader.get_data_field::<u64>(1)
78 }
79 }
80
81 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
82 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
83 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 2, pointers: 0 };
84 }
85 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
86 const TYPE_ID: u64 = _private::TYPE_ID;
87 }
88 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
89 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
90 Self { builder, }
91 }
92 }
93
94 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
95 fn from(builder: Builder<'a,>) -> Self {
96 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::<>})))
97 }
98 }
99
100 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
101 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
102 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
103 }
104 }
105
106 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
107 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
108 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
109 }
110 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
111 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
112 }
113 }
114
115 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
116 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
117 }
118
119 impl <'a,> Builder<'a,> {
120 pub fn into_reader(self) -> Reader<'a,> {
121 self.builder.into_reader().into()
122 }
123 pub fn reborrow(&mut self) -> Builder<'_,> {
124 Builder { builder: self.builder.reborrow() }
125 }
126 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
127 self.builder.as_reader().into()
128 }
129
130 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
131 self.builder.as_reader().total_size()
132 }
133 #[inline]
134 pub fn get_qtype(self) -> u8 {
135 self.builder.get_data_field::<u8>(0)
136 }
137 #[inline]
138 pub fn set_qtype(&mut self, value: u8) {
139 self.builder.set_data_field::<u8>(0, value);
140 }
141 #[inline]
142 pub fn get_version(self) -> u32 {
143 self.builder.get_data_field::<u32>(1)
144 }
145 #[inline]
146 pub fn set_version(&mut self, value: u32) {
147 self.builder.set_data_field::<u32>(1, value);
148 }
149 #[inline]
150 pub fn get_path(self) -> u64 {
151 self.builder.get_data_field::<u64>(1)
152 }
153 #[inline]
154 pub fn set_path(&mut self, value: u64) {
155 self.builder.set_data_field::<u64>(1, value);
156 }
157 }
158
159 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
160 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
161 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
162 Self { _typeless: typeless, }
163 }
164 }
165 impl Pipeline {
166 }
167 mod _private {
168 pub static ENCODED_NODE: [::capnp::Word; 62] = [
169 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
170 ::capnp::word(29, 251, 42, 94, 203, 14, 105, 211),
171 ::capnp::word(11, 0, 0, 0, 1, 0, 2, 0),
172 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
173 ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
174 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
175 ::capnp::word(131, 1, 0, 0, 59, 2, 0, 0),
176 ::capnp::word(21, 0, 0, 0, 122, 0, 0, 0),
177 ::capnp::word(25, 0, 0, 0, 7, 0, 0, 0),
178 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
179 ::capnp::word(21, 0, 0, 0, 175, 0, 0, 0),
180 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
181 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
182 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
183 ::capnp::word(110, 112, 58, 81, 105, 100, 0, 0),
184 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
185 ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
186 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
187 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
188 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
189 ::capnp::word(69, 0, 0, 0, 50, 0, 0, 0),
190 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
191 ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
192 ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
193 ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
194 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
195 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
196 ::capnp::word(73, 0, 0, 0, 66, 0, 0, 0),
197 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
198 ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
199 ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
200 ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
201 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
202 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
203 ::capnp::word(77, 0, 0, 0, 42, 0, 0, 0),
204 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
205 ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
206 ::capnp::word(84, 0, 0, 0, 2, 0, 1, 0),
207 ::capnp::word(113, 116, 121, 112, 101, 0, 0, 0),
208 ::capnp::word(6, 0, 0, 0, 0, 0, 0, 0),
209 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
210 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
211 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
212 ::capnp::word(6, 0, 0, 0, 0, 0, 0, 0),
213 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
214 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
215 ::capnp::word(118, 101, 114, 115, 105, 111, 110, 0),
216 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
217 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
218 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
219 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
220 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
221 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
222 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
223 ::capnp::word(112, 97, 116, 104, 0, 0, 0, 0),
224 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
225 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
226 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
227 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
228 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
229 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
230 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
231 ];
232 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
233 match index {
234 0 => <u8 as ::capnp::introspect::Introspect>::introspect(),
235 1 => <u32 as ::capnp::introspect::Introspect>::introspect(),
236 2 => <u64 as ::capnp::introspect::Introspect>::introspect(),
237 _ => ::capnp::introspect::panic_invalid_field_index(index),
238 }
239 }
240 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
241 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
242 }
243 #[allow(unsafe_code)]
244 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
245 &ENCODED_NODE,
246 NONUNION_MEMBERS,
247 MEMBERS_BY_DISCRIMINANT,
248 MEMBERS_BY_NAME
249 )};
250 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2];
251 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
252 pub static MEMBERS_BY_NAME : &[u16] = &[2,0,1];
253 pub const TYPE_ID: u64 = 0xd369_0ecb_5e2a_fb1d;
254 }
255}
256
257pub mod np_stat {
258 #[derive(Copy, Clone)]
259 pub struct Owned(());
260 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() } }
261 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
262 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
263 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
264
265 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
266 impl <> ::core::marker::Copy for Reader<'_,> {}
267 impl <> ::core::clone::Clone for Reader<'_,> {
268 fn clone(&self) -> Self { *self }
269 }
270
271 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
272 const TYPE_ID: u64 = _private::TYPE_ID;
273 }
274 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
275 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
276 Self { reader, }
277 }
278 }
279
280 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
281 fn from(reader: Reader<'a,>) -> Self {
282 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::<>})))
283 }
284 }
285
286 impl <> ::core::fmt::Debug for Reader<'_,> {
287 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
288 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
289 }
290 }
291
292 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
293 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
294 ::core::result::Result::Ok(reader.get_struct(default)?.into())
295 }
296 }
297
298 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
299 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
300 self.reader
301 }
302 }
303
304 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
305 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
306 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
307 }
308 }
309
310 impl <'a,> Reader<'a,> {
311 pub fn reborrow(&self) -> Reader<'_,> {
312 Self { .. *self }
313 }
314
315 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
316 self.reader.total_size()
317 }
318 #[inline]
319 pub fn get_qid(self) -> ::capnp::Result<crate::nine_capnp::qid::Reader<'a>> {
320 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
321 }
322 #[inline]
323 pub fn has_qid(&self) -> bool {
324 !self.reader.get_pointer_field(0).is_null()
325 }
326 #[inline]
327 pub fn get_mode(self) -> u32 {
328 self.reader.get_data_field::<u32>(0)
329 }
330 #[inline]
331 pub fn get_atime(self) -> u32 {
332 self.reader.get_data_field::<u32>(1)
333 }
334 #[inline]
335 pub fn get_mtime(self) -> u32 {
336 self.reader.get_data_field::<u32>(2)
337 }
338 #[inline]
339 pub fn get_length(self) -> u64 {
340 self.reader.get_data_field::<u64>(2)
341 }
342 #[inline]
343 pub fn get_name(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
344 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
345 }
346 #[inline]
347 pub fn has_name(&self) -> bool {
348 !self.reader.get_pointer_field(1).is_null()
349 }
350 #[inline]
351 pub fn get_uid(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
352 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(2), ::core::option::Option::None)
353 }
354 #[inline]
355 pub fn has_uid(&self) -> bool {
356 !self.reader.get_pointer_field(2).is_null()
357 }
358 #[inline]
359 pub fn get_gid(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
360 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(3), ::core::option::Option::None)
361 }
362 #[inline]
363 pub fn has_gid(&self) -> bool {
364 !self.reader.get_pointer_field(3).is_null()
365 }
366 #[inline]
367 pub fn get_muid(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
368 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(4), ::core::option::Option::None)
369 }
370 #[inline]
371 pub fn has_muid(&self) -> bool {
372 !self.reader.get_pointer_field(4).is_null()
373 }
374 }
375
376 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
377 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
378 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 3, pointers: 5 };
379 }
380 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
381 const TYPE_ID: u64 = _private::TYPE_ID;
382 }
383 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
384 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
385 Self { builder, }
386 }
387 }
388
389 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
390 fn from(builder: Builder<'a,>) -> Self {
391 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::<>})))
392 }
393 }
394
395 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
396 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
397 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
398 }
399 }
400
401 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
402 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
403 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
404 }
405 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
406 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
407 }
408 }
409
410 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
411 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
412 }
413
414 impl <'a,> Builder<'a,> {
415 pub fn into_reader(self) -> Reader<'a,> {
416 self.builder.into_reader().into()
417 }
418 pub fn reborrow(&mut self) -> Builder<'_,> {
419 Builder { builder: self.builder.reborrow() }
420 }
421 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
422 self.builder.as_reader().into()
423 }
424
425 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
426 self.builder.as_reader().total_size()
427 }
428 #[inline]
429 pub fn get_qid(self) -> ::capnp::Result<crate::nine_capnp::qid::Builder<'a>> {
430 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
431 }
432 #[inline]
433 pub fn set_qid(&mut self, value: crate::nine_capnp::qid::Reader<'_>) -> ::capnp::Result<()> {
434 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
435 }
436 #[inline]
437 pub fn init_qid(self, ) -> crate::nine_capnp::qid::Builder<'a> {
438 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
439 }
440 #[inline]
441 pub fn has_qid(&self) -> bool {
442 !self.builder.is_pointer_field_null(0)
443 }
444 #[inline]
445 pub fn get_mode(self) -> u32 {
446 self.builder.get_data_field::<u32>(0)
447 }
448 #[inline]
449 pub fn set_mode(&mut self, value: u32) {
450 self.builder.set_data_field::<u32>(0, value);
451 }
452 #[inline]
453 pub fn get_atime(self) -> u32 {
454 self.builder.get_data_field::<u32>(1)
455 }
456 #[inline]
457 pub fn set_atime(&mut self, value: u32) {
458 self.builder.set_data_field::<u32>(1, value);
459 }
460 #[inline]
461 pub fn get_mtime(self) -> u32 {
462 self.builder.get_data_field::<u32>(2)
463 }
464 #[inline]
465 pub fn set_mtime(&mut self, value: u32) {
466 self.builder.set_data_field::<u32>(2, value);
467 }
468 #[inline]
469 pub fn get_length(self) -> u64 {
470 self.builder.get_data_field::<u64>(2)
471 }
472 #[inline]
473 pub fn set_length(&mut self, value: u64) {
474 self.builder.set_data_field::<u64>(2, value);
475 }
476 #[inline]
477 pub fn get_name(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
478 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
479 }
480 #[inline]
481 pub fn set_name(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>) {
482 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(1), value, false).unwrap()
483 }
484 #[inline]
485 pub fn init_name(self, size: u32) -> ::capnp::text::Builder<'a> {
486 self.builder.get_pointer_field(1).init_text(size)
487 }
488 #[inline]
489 pub fn has_name(&self) -> bool {
490 !self.builder.is_pointer_field_null(1)
491 }
492 #[inline]
493 pub fn get_uid(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
494 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(2), ::core::option::Option::None)
495 }
496 #[inline]
497 pub fn set_uid(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>) {
498 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(2), value, false).unwrap()
499 }
500 #[inline]
501 pub fn init_uid(self, size: u32) -> ::capnp::text::Builder<'a> {
502 self.builder.get_pointer_field(2).init_text(size)
503 }
504 #[inline]
505 pub fn has_uid(&self) -> bool {
506 !self.builder.is_pointer_field_null(2)
507 }
508 #[inline]
509 pub fn get_gid(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
510 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(3), ::core::option::Option::None)
511 }
512 #[inline]
513 pub fn set_gid(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>) {
514 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(3), value, false).unwrap()
515 }
516 #[inline]
517 pub fn init_gid(self, size: u32) -> ::capnp::text::Builder<'a> {
518 self.builder.get_pointer_field(3).init_text(size)
519 }
520 #[inline]
521 pub fn has_gid(&self) -> bool {
522 !self.builder.is_pointer_field_null(3)
523 }
524 #[inline]
525 pub fn get_muid(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
526 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(4), ::core::option::Option::None)
527 }
528 #[inline]
529 pub fn set_muid(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>) {
530 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(4), value, false).unwrap()
531 }
532 #[inline]
533 pub fn init_muid(self, size: u32) -> ::capnp::text::Builder<'a> {
534 self.builder.get_pointer_field(4).init_text(size)
535 }
536 #[inline]
537 pub fn has_muid(&self) -> bool {
538 !self.builder.is_pointer_field_null(4)
539 }
540 }
541
542 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
543 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
544 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
545 Self { _typeless: typeless, }
546 }
547 }
548 impl Pipeline {
549 pub fn get_qid(&self) -> crate::nine_capnp::qid::Pipeline {
550 ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
551 }
552 }
553 mod _private {
554 pub static ENCODED_NODE: [::capnp::Word; 153] = [
555 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
556 ::capnp::word(186, 207, 228, 41, 117, 240, 34, 150),
557 ::capnp::word(11, 0, 0, 0, 1, 0, 3, 0),
558 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
559 ::capnp::word(5, 0, 7, 0, 0, 0, 0, 0),
560 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
561 ::capnp::word(98, 2, 0, 0, 20, 3, 0, 0),
562 ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
563 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
564 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
565 ::capnp::word(25, 0, 0, 0, 255, 1, 0, 0),
566 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
567 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
568 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
569 ::capnp::word(110, 112, 58, 78, 112, 83, 116, 97),
570 ::capnp::word(116, 0, 0, 0, 0, 0, 0, 0),
571 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
572 ::capnp::word(36, 0, 0, 0, 3, 0, 4, 0),
573 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
574 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
575 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
576 ::capnp::word(237, 0, 0, 0, 34, 0, 0, 0),
577 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
578 ::capnp::word(232, 0, 0, 0, 3, 0, 1, 0),
579 ::capnp::word(244, 0, 0, 0, 2, 0, 1, 0),
580 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
581 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
582 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
583 ::capnp::word(241, 0, 0, 0, 42, 0, 0, 0),
584 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
585 ::capnp::word(236, 0, 0, 0, 3, 0, 1, 0),
586 ::capnp::word(248, 0, 0, 0, 2, 0, 1, 0),
587 ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
588 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
589 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
590 ::capnp::word(245, 0, 0, 0, 50, 0, 0, 0),
591 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
592 ::capnp::word(240, 0, 0, 0, 3, 0, 1, 0),
593 ::capnp::word(252, 0, 0, 0, 2, 0, 1, 0),
594 ::capnp::word(3, 0, 0, 0, 2, 0, 0, 0),
595 ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
596 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
597 ::capnp::word(249, 0, 0, 0, 50, 0, 0, 0),
598 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
599 ::capnp::word(244, 0, 0, 0, 3, 0, 1, 0),
600 ::capnp::word(0, 1, 0, 0, 2, 0, 1, 0),
601 ::capnp::word(4, 0, 0, 0, 2, 0, 0, 0),
602 ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
603 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
604 ::capnp::word(253, 0, 0, 0, 58, 0, 0, 0),
605 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
606 ::capnp::word(248, 0, 0, 0, 3, 0, 1, 0),
607 ::capnp::word(4, 1, 0, 0, 2, 0, 1, 0),
608 ::capnp::word(5, 0, 0, 0, 1, 0, 0, 0),
609 ::capnp::word(0, 0, 1, 0, 5, 0, 0, 0),
610 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
611 ::capnp::word(1, 1, 0, 0, 42, 0, 0, 0),
612 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
613 ::capnp::word(252, 0, 0, 0, 3, 0, 1, 0),
614 ::capnp::word(8, 1, 0, 0, 2, 0, 1, 0),
615 ::capnp::word(6, 0, 0, 0, 2, 0, 0, 0),
616 ::capnp::word(0, 0, 1, 0, 6, 0, 0, 0),
617 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
618 ::capnp::word(5, 1, 0, 0, 34, 0, 0, 0),
619 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
620 ::capnp::word(0, 1, 0, 0, 3, 0, 1, 0),
621 ::capnp::word(12, 1, 0, 0, 2, 0, 1, 0),
622 ::capnp::word(7, 0, 0, 0, 3, 0, 0, 0),
623 ::capnp::word(0, 0, 1, 0, 7, 0, 0, 0),
624 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
625 ::capnp::word(9, 1, 0, 0, 34, 0, 0, 0),
626 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
627 ::capnp::word(4, 1, 0, 0, 3, 0, 1, 0),
628 ::capnp::word(16, 1, 0, 0, 2, 0, 1, 0),
629 ::capnp::word(8, 0, 0, 0, 4, 0, 0, 0),
630 ::capnp::word(0, 0, 1, 0, 8, 0, 0, 0),
631 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
632 ::capnp::word(13, 1, 0, 0, 42, 0, 0, 0),
633 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
634 ::capnp::word(8, 1, 0, 0, 3, 0, 1, 0),
635 ::capnp::word(20, 1, 0, 0, 2, 0, 1, 0),
636 ::capnp::word(113, 105, 100, 0, 0, 0, 0, 0),
637 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
638 ::capnp::word(29, 251, 42, 94, 203, 14, 105, 211),
639 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
640 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
641 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
642 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
643 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
644 ::capnp::word(109, 111, 100, 101, 0, 0, 0, 0),
645 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
646 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
647 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
648 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
649 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
650 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
651 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
652 ::capnp::word(97, 116, 105, 109, 101, 0, 0, 0),
653 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
654 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
655 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
656 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
657 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
658 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
659 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
660 ::capnp::word(109, 116, 105, 109, 101, 0, 0, 0),
661 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
662 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
663 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
664 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
665 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
666 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
667 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
668 ::capnp::word(108, 101, 110, 103, 116, 104, 0, 0),
669 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
670 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
671 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
672 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
673 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
674 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
675 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
676 ::capnp::word(110, 97, 109, 101, 0, 0, 0, 0),
677 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
678 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
679 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
680 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
681 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
682 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
683 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
684 ::capnp::word(117, 105, 100, 0, 0, 0, 0, 0),
685 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
686 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
687 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
688 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
689 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
690 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
691 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
692 ::capnp::word(103, 105, 100, 0, 0, 0, 0, 0),
693 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
694 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
695 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
696 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
697 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
698 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
699 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
700 ::capnp::word(109, 117, 105, 100, 0, 0, 0, 0),
701 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
702 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
703 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
704 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
705 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
706 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
707 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
708 ];
709 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
710 match index {
711 0 => <crate::nine_capnp::qid::Owned as ::capnp::introspect::Introspect>::introspect(),
712 1 => <u32 as ::capnp::introspect::Introspect>::introspect(),
713 2 => <u32 as ::capnp::introspect::Introspect>::introspect(),
714 3 => <u32 as ::capnp::introspect::Introspect>::introspect(),
715 4 => <u64 as ::capnp::introspect::Introspect>::introspect(),
716 5 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
717 6 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
718 7 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
719 8 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
720 _ => ::capnp::introspect::panic_invalid_field_index(index),
721 }
722 }
723 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
724 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
725 }
726 #[allow(unsafe_code)]
727 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
728 &ENCODED_NODE,
729 NONUNION_MEMBERS,
730 MEMBERS_BY_DISCRIMINANT,
731 MEMBERS_BY_NAME
732 )};
733 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2,3,4,5,6,7,8];
734 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
735 pub static MEMBERS_BY_NAME : &[u16] = &[2,7,4,1,3,8,5,0,6];
736 pub const TYPE_ID: u64 = 0x9622_f075_29e4_cfba;
737 }
738}
739
740pub mod np_walk {
741 #[derive(Copy, Clone)]
742 pub struct Owned(());
743 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() } }
744 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
745 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
746 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
747
748 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
749 impl <> ::core::marker::Copy for Reader<'_,> {}
750 impl <> ::core::clone::Clone for Reader<'_,> {
751 fn clone(&self) -> Self { *self }
752 }
753
754 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
755 const TYPE_ID: u64 = _private::TYPE_ID;
756 }
757 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
758 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
759 Self { reader, }
760 }
761 }
762
763 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
764 fn from(reader: Reader<'a,>) -> Self {
765 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::<>})))
766 }
767 }
768
769 impl <> ::core::fmt::Debug for Reader<'_,> {
770 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
771 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
772 }
773 }
774
775 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
776 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
777 ::core::result::Result::Ok(reader.get_struct(default)?.into())
778 }
779 }
780
781 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
782 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
783 self.reader
784 }
785 }
786
787 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
788 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
789 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
790 }
791 }
792
793 impl <'a,> Reader<'a,> {
794 pub fn reborrow(&self) -> Reader<'_,> {
795 Self { .. *self }
796 }
797
798 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
799 self.reader.total_size()
800 }
801 #[inline]
802 pub fn get_fid(self) -> u32 {
803 self.reader.get_data_field::<u32>(0)
804 }
805 #[inline]
806 pub fn get_newfid(self) -> u32 {
807 self.reader.get_data_field::<u32>(1)
808 }
809 #[inline]
810 pub fn get_wnames(self) -> ::capnp::Result<::capnp::text_list::Reader<'a>> {
811 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
812 }
813 #[inline]
814 pub fn has_wnames(&self) -> bool {
815 !self.reader.get_pointer_field(0).is_null()
816 }
817 }
818
819 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
820 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
821 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 1 };
822 }
823 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
824 const TYPE_ID: u64 = _private::TYPE_ID;
825 }
826 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
827 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
828 Self { builder, }
829 }
830 }
831
832 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
833 fn from(builder: Builder<'a,>) -> Self {
834 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::<>})))
835 }
836 }
837
838 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
839 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
840 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
841 }
842 }
843
844 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
845 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
846 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
847 }
848 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
849 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
850 }
851 }
852
853 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
854 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
855 }
856
857 impl <'a,> Builder<'a,> {
858 pub fn into_reader(self) -> Reader<'a,> {
859 self.builder.into_reader().into()
860 }
861 pub fn reborrow(&mut self) -> Builder<'_,> {
862 Builder { builder: self.builder.reborrow() }
863 }
864 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
865 self.builder.as_reader().into()
866 }
867
868 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
869 self.builder.as_reader().total_size()
870 }
871 #[inline]
872 pub fn get_fid(self) -> u32 {
873 self.builder.get_data_field::<u32>(0)
874 }
875 #[inline]
876 pub fn set_fid(&mut self, value: u32) {
877 self.builder.set_data_field::<u32>(0, value);
878 }
879 #[inline]
880 pub fn get_newfid(self) -> u32 {
881 self.builder.get_data_field::<u32>(1)
882 }
883 #[inline]
884 pub fn set_newfid(&mut self, value: u32) {
885 self.builder.set_data_field::<u32>(1, value);
886 }
887 #[inline]
888 pub fn get_wnames(self) -> ::capnp::Result<::capnp::text_list::Builder<'a>> {
889 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
890 }
891 #[inline]
892 pub fn set_wnames(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text_list::Owned>) -> ::capnp::Result<()> {
893 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
894 }
895 #[inline]
896 pub fn init_wnames(self, size: u32) -> ::capnp::text_list::Builder<'a> {
897 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), size)
898 }
899 #[inline]
900 pub fn has_wnames(&self) -> bool {
901 !self.builder.is_pointer_field_null(0)
902 }
903 }
904
905 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
906 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
907 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
908 Self { _typeless: typeless, }
909 }
910 }
911 impl Pipeline {
912 }
913 mod _private {
914 pub static ENCODED_NODE: [::capnp::Word; 67] = [
915 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
916 ::capnp::word(154, 190, 187, 184, 190, 67, 173, 182),
917 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
918 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
919 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
920 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
921 ::capnp::word(47, 3, 0, 0, 238, 3, 0, 0),
922 ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
923 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
924 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
925 ::capnp::word(25, 0, 0, 0, 175, 0, 0, 0),
926 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
927 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
928 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
929 ::capnp::word(110, 112, 58, 78, 112, 87, 97, 108),
930 ::capnp::word(107, 0, 0, 0, 0, 0, 0, 0),
931 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
932 ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
933 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
934 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
935 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
936 ::capnp::word(69, 0, 0, 0, 34, 0, 0, 0),
937 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
938 ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
939 ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
940 ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
941 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
942 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
943 ::capnp::word(73, 0, 0, 0, 58, 0, 0, 0),
944 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
945 ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
946 ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
947 ::capnp::word(2, 0, 0, 0, 0, 0, 0, 0),
948 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
949 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
950 ::capnp::word(77, 0, 0, 0, 58, 0, 0, 0),
951 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
952 ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
953 ::capnp::word(100, 0, 0, 0, 2, 0, 1, 0),
954 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
955 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
956 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
957 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
958 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
959 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
960 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
961 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
962 ::capnp::word(110, 101, 119, 102, 105, 100, 0, 0),
963 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
964 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
965 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
966 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
967 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
968 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
969 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
970 ::capnp::word(119, 110, 97, 109, 101, 115, 0, 0),
971 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
972 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
973 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
974 ::capnp::word(0, 0, 0, 0, 3, 0, 1, 0),
975 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
976 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
977 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
978 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
979 ::capnp::word(14, 0, 0, 0, 0, 0, 0, 0),
980 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
981 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
982 ];
983 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
984 match index {
985 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
986 1 => <u32 as ::capnp::introspect::Introspect>::introspect(),
987 2 => <::capnp::text_list::Owned as ::capnp::introspect::Introspect>::introspect(),
988 _ => ::capnp::introspect::panic_invalid_field_index(index),
989 }
990 }
991 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
992 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
993 }
994 #[allow(unsafe_code)]
995 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
996 &ENCODED_NODE,
997 NONUNION_MEMBERS,
998 MEMBERS_BY_DISCRIMINANT,
999 MEMBERS_BY_NAME
1000 )};
1001 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2];
1002 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
1003 pub static MEMBERS_BY_NAME : &[u16] = &[0,1,2];
1004 pub const TYPE_ID: u64 = 0xb6ad_43be_b8bb_be9a;
1005 }
1006}
1007
1008pub mod np_open {
1009 #[derive(Copy, Clone)]
1010 pub struct Owned(());
1011 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() } }
1012 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1013 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1014 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1015
1016 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1017 impl <> ::core::marker::Copy for Reader<'_,> {}
1018 impl <> ::core::clone::Clone for Reader<'_,> {
1019 fn clone(&self) -> Self { *self }
1020 }
1021
1022 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
1023 const TYPE_ID: u64 = _private::TYPE_ID;
1024 }
1025 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
1026 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1027 Self { reader, }
1028 }
1029 }
1030
1031 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
1032 fn from(reader: Reader<'a,>) -> Self {
1033 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::<>})))
1034 }
1035 }
1036
1037 impl <> ::core::fmt::Debug for Reader<'_,> {
1038 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1039 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1040 }
1041 }
1042
1043 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
1044 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1045 ::core::result::Result::Ok(reader.get_struct(default)?.into())
1046 }
1047 }
1048
1049 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
1050 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1051 self.reader
1052 }
1053 }
1054
1055 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
1056 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1057 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1058 }
1059 }
1060
1061 impl <> Reader<'_,> {
1062 pub fn reborrow(&self) -> Reader<'_,> {
1063 Self { .. *self }
1064 }
1065
1066 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1067 self.reader.total_size()
1068 }
1069 #[inline]
1070 pub fn get_fid(self) -> u32 {
1071 self.reader.get_data_field::<u32>(0)
1072 }
1073 #[inline]
1074 pub fn get_mode(self) -> u8 {
1075 self.reader.get_data_field::<u8>(4)
1076 }
1077 }
1078
1079 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1080 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
1081 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 0 };
1082 }
1083 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
1084 const TYPE_ID: u64 = _private::TYPE_ID;
1085 }
1086 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
1087 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1088 Self { builder, }
1089 }
1090 }
1091
1092 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
1093 fn from(builder: Builder<'a,>) -> Self {
1094 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::<>})))
1095 }
1096 }
1097
1098 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
1099 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1100 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1101 }
1102 }
1103
1104 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
1105 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1106 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1107 }
1108 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1109 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1110 }
1111 }
1112
1113 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
1114 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1115 }
1116
1117 impl <'a,> Builder<'a,> {
1118 pub fn into_reader(self) -> Reader<'a,> {
1119 self.builder.into_reader().into()
1120 }
1121 pub fn reborrow(&mut self) -> Builder<'_,> {
1122 Builder { builder: self.builder.reborrow() }
1123 }
1124 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1125 self.builder.as_reader().into()
1126 }
1127
1128 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1129 self.builder.as_reader().total_size()
1130 }
1131 #[inline]
1132 pub fn get_fid(self) -> u32 {
1133 self.builder.get_data_field::<u32>(0)
1134 }
1135 #[inline]
1136 pub fn set_fid(&mut self, value: u32) {
1137 self.builder.set_data_field::<u32>(0, value);
1138 }
1139 #[inline]
1140 pub fn get_mode(self) -> u8 {
1141 self.builder.get_data_field::<u8>(4)
1142 }
1143 #[inline]
1144 pub fn set_mode(&mut self, value: u8) {
1145 self.builder.set_data_field::<u8>(4, value);
1146 }
1147 }
1148
1149 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1150 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1151 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1152 Self { _typeless: typeless, }
1153 }
1154 }
1155 impl Pipeline {
1156 }
1157 mod _private {
1158 pub static ENCODED_NODE: [::capnp::Word; 48] = [
1159 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
1160 ::capnp::word(52, 36, 199, 190, 128, 222, 124, 187),
1161 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
1162 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
1163 ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
1164 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1165 ::capnp::word(240, 3, 0, 0, 99, 4, 0, 0),
1166 ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
1167 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
1168 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1169 ::capnp::word(25, 0, 0, 0, 119, 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(110, 105, 110, 101, 46, 99, 97, 112),
1173 ::capnp::word(110, 112, 58, 78, 112, 79, 112, 101),
1174 ::capnp::word(110, 0, 0, 0, 0, 0, 0, 0),
1175 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1176 ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
1177 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1178 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1179 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1180 ::capnp::word(41, 0, 0, 0, 34, 0, 0, 0),
1181 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1182 ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
1183 ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
1184 ::capnp::word(1, 0, 0, 0, 4, 0, 0, 0),
1185 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1186 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1187 ::capnp::word(45, 0, 0, 0, 42, 0, 0, 0),
1188 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1189 ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
1190 ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
1191 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
1192 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1193 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1194 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1195 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1196 ::capnp::word(8, 0, 0, 0, 0, 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(109, 111, 100, 101, 0, 0, 0, 0),
1200 ::capnp::word(6, 0, 0, 0, 0, 0, 0, 0),
1201 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1202 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1203 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1204 ::capnp::word(6, 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 ];
1208 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1209 match index {
1210 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
1211 1 => <u8 as ::capnp::introspect::Introspect>::introspect(),
1212 _ => ::capnp::introspect::panic_invalid_field_index(index),
1213 }
1214 }
1215 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
1216 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
1217 }
1218 #[allow(unsafe_code)]
1219 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
1220 &ENCODED_NODE,
1221 NONUNION_MEMBERS,
1222 MEMBERS_BY_DISCRIMINANT,
1223 MEMBERS_BY_NAME
1224 )};
1225 pub static NONUNION_MEMBERS : &[u16] = &[0,1];
1226 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
1227 pub static MEMBERS_BY_NAME : &[u16] = &[0,1];
1228 pub const TYPE_ID: u64 = 0xbb7c_de80_bec7_2434;
1229 }
1230}
1231
1232pub mod np_create {
1233 #[derive(Copy, Clone)]
1234 pub struct Owned(());
1235 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() } }
1236 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1237 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1238 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1239
1240 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1241 impl <> ::core::marker::Copy for Reader<'_,> {}
1242 impl <> ::core::clone::Clone for Reader<'_,> {
1243 fn clone(&self) -> Self { *self }
1244 }
1245
1246 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
1247 const TYPE_ID: u64 = _private::TYPE_ID;
1248 }
1249 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
1250 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1251 Self { reader, }
1252 }
1253 }
1254
1255 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
1256 fn from(reader: Reader<'a,>) -> Self {
1257 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::<>})))
1258 }
1259 }
1260
1261 impl <> ::core::fmt::Debug for Reader<'_,> {
1262 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1263 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1264 }
1265 }
1266
1267 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
1268 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1269 ::core::result::Result::Ok(reader.get_struct(default)?.into())
1270 }
1271 }
1272
1273 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
1274 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1275 self.reader
1276 }
1277 }
1278
1279 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
1280 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1281 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1282 }
1283 }
1284
1285 impl <'a,> Reader<'a,> {
1286 pub fn reborrow(&self) -> Reader<'_,> {
1287 Self { .. *self }
1288 }
1289
1290 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1291 self.reader.total_size()
1292 }
1293 #[inline]
1294 pub fn get_fid(self) -> u32 {
1295 self.reader.get_data_field::<u32>(0)
1296 }
1297 #[inline]
1298 pub fn get_name(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
1299 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
1300 }
1301 #[inline]
1302 pub fn has_name(&self) -> bool {
1303 !self.reader.get_pointer_field(0).is_null()
1304 }
1305 #[inline]
1306 pub fn get_perm(self) -> u32 {
1307 self.reader.get_data_field::<u32>(1)
1308 }
1309 #[inline]
1310 pub fn get_mode(self) -> u8 {
1311 self.reader.get_data_field::<u8>(8)
1312 }
1313 }
1314
1315 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1316 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
1317 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 2, pointers: 1 };
1318 }
1319 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
1320 const TYPE_ID: u64 = _private::TYPE_ID;
1321 }
1322 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
1323 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1324 Self { builder, }
1325 }
1326 }
1327
1328 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
1329 fn from(builder: Builder<'a,>) -> Self {
1330 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::<>})))
1331 }
1332 }
1333
1334 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
1335 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1336 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1337 }
1338 }
1339
1340 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
1341 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1342 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1343 }
1344 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1345 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1346 }
1347 }
1348
1349 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
1350 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1351 }
1352
1353 impl <'a,> Builder<'a,> {
1354 pub fn into_reader(self) -> Reader<'a,> {
1355 self.builder.into_reader().into()
1356 }
1357 pub fn reborrow(&mut self) -> Builder<'_,> {
1358 Builder { builder: self.builder.reborrow() }
1359 }
1360 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1361 self.builder.as_reader().into()
1362 }
1363
1364 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1365 self.builder.as_reader().total_size()
1366 }
1367 #[inline]
1368 pub fn get_fid(self) -> u32 {
1369 self.builder.get_data_field::<u32>(0)
1370 }
1371 #[inline]
1372 pub fn set_fid(&mut self, value: u32) {
1373 self.builder.set_data_field::<u32>(0, value);
1374 }
1375 #[inline]
1376 pub fn get_name(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
1377 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
1378 }
1379 #[inline]
1380 pub fn set_name(&mut self, value: impl ::capnp::traits::SetterInput<::capnp::text::Owned>) {
1381 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false).unwrap()
1382 }
1383 #[inline]
1384 pub fn init_name(self, size: u32) -> ::capnp::text::Builder<'a> {
1385 self.builder.get_pointer_field(0).init_text(size)
1386 }
1387 #[inline]
1388 pub fn has_name(&self) -> bool {
1389 !self.builder.is_pointer_field_null(0)
1390 }
1391 #[inline]
1392 pub fn get_perm(self) -> u32 {
1393 self.builder.get_data_field::<u32>(1)
1394 }
1395 #[inline]
1396 pub fn set_perm(&mut self, value: u32) {
1397 self.builder.set_data_field::<u32>(1, value);
1398 }
1399 #[inline]
1400 pub fn get_mode(self) -> u8 {
1401 self.builder.get_data_field::<u8>(8)
1402 }
1403 #[inline]
1404 pub fn set_mode(&mut self, value: u8) {
1405 self.builder.set_data_field::<u8>(8, value);
1406 }
1407 }
1408
1409 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1410 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1411 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1412 Self { _typeless: typeless, }
1413 }
1414 }
1415 impl Pipeline {
1416 }
1417 mod _private {
1418 pub static ENCODED_NODE: [::capnp::Word; 78] = [
1419 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
1420 ::capnp::word(60, 34, 103, 22, 176, 218, 26, 229),
1421 ::capnp::word(11, 0, 0, 0, 1, 0, 2, 0),
1422 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
1423 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
1424 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1425 ::capnp::word(101, 4, 0, 0, 91, 5, 0, 0),
1426 ::capnp::word(21, 0, 0, 0, 162, 0, 0, 0),
1427 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
1428 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1429 ::capnp::word(25, 0, 0, 0, 231, 0, 0, 0),
1430 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1431 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1432 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
1433 ::capnp::word(110, 112, 58, 78, 112, 67, 114, 101),
1434 ::capnp::word(97, 116, 101, 0, 0, 0, 0, 0),
1435 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1436 ::capnp::word(16, 0, 0, 0, 3, 0, 4, 0),
1437 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1438 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1439 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1440 ::capnp::word(97, 0, 0, 0, 34, 0, 0, 0),
1441 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1442 ::capnp::word(92, 0, 0, 0, 3, 0, 1, 0),
1443 ::capnp::word(104, 0, 0, 0, 2, 0, 1, 0),
1444 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
1445 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1446 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1447 ::capnp::word(101, 0, 0, 0, 42, 0, 0, 0),
1448 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1449 ::capnp::word(96, 0, 0, 0, 3, 0, 1, 0),
1450 ::capnp::word(108, 0, 0, 0, 2, 0, 1, 0),
1451 ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
1452 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
1453 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1454 ::capnp::word(105, 0, 0, 0, 42, 0, 0, 0),
1455 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1456 ::capnp::word(100, 0, 0, 0, 3, 0, 1, 0),
1457 ::capnp::word(112, 0, 0, 0, 2, 0, 1, 0),
1458 ::capnp::word(3, 0, 0, 0, 8, 0, 0, 0),
1459 ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
1460 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1461 ::capnp::word(109, 0, 0, 0, 42, 0, 0, 0),
1462 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1463 ::capnp::word(104, 0, 0, 0, 3, 0, 1, 0),
1464 ::capnp::word(116, 0, 0, 0, 2, 0, 1, 0),
1465 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
1466 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1467 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1468 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1469 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1470 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1471 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1472 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1473 ::capnp::word(110, 97, 109, 101, 0, 0, 0, 0),
1474 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
1475 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1476 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1477 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1478 ::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
1479 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1480 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1481 ::capnp::word(112, 101, 114, 109, 0, 0, 0, 0),
1482 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1483 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1484 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1485 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1486 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1487 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1488 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1489 ::capnp::word(109, 111, 100, 101, 0, 0, 0, 0),
1490 ::capnp::word(6, 0, 0, 0, 0, 0, 0, 0),
1491 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1492 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1493 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1494 ::capnp::word(6, 0, 0, 0, 0, 0, 0, 0),
1495 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1496 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1497 ];
1498 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1499 match index {
1500 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
1501 1 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
1502 2 => <u32 as ::capnp::introspect::Introspect>::introspect(),
1503 3 => <u8 as ::capnp::introspect::Introspect>::introspect(),
1504 _ => ::capnp::introspect::panic_invalid_field_index(index),
1505 }
1506 }
1507 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
1508 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
1509 }
1510 #[allow(unsafe_code)]
1511 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
1512 &ENCODED_NODE,
1513 NONUNION_MEMBERS,
1514 MEMBERS_BY_DISCRIMINANT,
1515 MEMBERS_BY_NAME
1516 )};
1517 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2,3];
1518 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
1519 pub static MEMBERS_BY_NAME : &[u16] = &[0,3,1,2];
1520 pub const TYPE_ID: u64 = 0xe51a_dab0_1667_223c;
1521 }
1522}
1523
1524pub mod np_read {
1525 #[derive(Copy, Clone)]
1526 pub struct Owned(());
1527 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() } }
1528 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1529 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1530 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1531
1532 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1533 impl <> ::core::marker::Copy for Reader<'_,> {}
1534 impl <> ::core::clone::Clone for Reader<'_,> {
1535 fn clone(&self) -> Self { *self }
1536 }
1537
1538 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
1539 const TYPE_ID: u64 = _private::TYPE_ID;
1540 }
1541 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
1542 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1543 Self { reader, }
1544 }
1545 }
1546
1547 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
1548 fn from(reader: Reader<'a,>) -> Self {
1549 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::<>})))
1550 }
1551 }
1552
1553 impl <> ::core::fmt::Debug for Reader<'_,> {
1554 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1555 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1556 }
1557 }
1558
1559 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
1560 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1561 ::core::result::Result::Ok(reader.get_struct(default)?.into())
1562 }
1563 }
1564
1565 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
1566 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1567 self.reader
1568 }
1569 }
1570
1571 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
1572 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1573 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1574 }
1575 }
1576
1577 impl <> Reader<'_,> {
1578 pub fn reborrow(&self) -> Reader<'_,> {
1579 Self { .. *self }
1580 }
1581
1582 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1583 self.reader.total_size()
1584 }
1585 #[inline]
1586 pub fn get_fid(self) -> u32 {
1587 self.reader.get_data_field::<u32>(0)
1588 }
1589 #[inline]
1590 pub fn get_offset(self) -> u64 {
1591 self.reader.get_data_field::<u64>(1)
1592 }
1593 #[inline]
1594 pub fn get_count(self) -> u32 {
1595 self.reader.get_data_field::<u32>(1)
1596 }
1597 }
1598
1599 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1600 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
1601 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 2, pointers: 0 };
1602 }
1603 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
1604 const TYPE_ID: u64 = _private::TYPE_ID;
1605 }
1606 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
1607 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1608 Self { builder, }
1609 }
1610 }
1611
1612 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
1613 fn from(builder: Builder<'a,>) -> Self {
1614 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::<>})))
1615 }
1616 }
1617
1618 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
1619 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1620 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1621 }
1622 }
1623
1624 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
1625 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1626 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1627 }
1628 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1629 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1630 }
1631 }
1632
1633 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
1634 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1635 }
1636
1637 impl <'a,> Builder<'a,> {
1638 pub fn into_reader(self) -> Reader<'a,> {
1639 self.builder.into_reader().into()
1640 }
1641 pub fn reborrow(&mut self) -> Builder<'_,> {
1642 Builder { builder: self.builder.reborrow() }
1643 }
1644 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1645 self.builder.as_reader().into()
1646 }
1647
1648 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1649 self.builder.as_reader().total_size()
1650 }
1651 #[inline]
1652 pub fn get_fid(self) -> u32 {
1653 self.builder.get_data_field::<u32>(0)
1654 }
1655 #[inline]
1656 pub fn set_fid(&mut self, value: u32) {
1657 self.builder.set_data_field::<u32>(0, value);
1658 }
1659 #[inline]
1660 pub fn get_offset(self) -> u64 {
1661 self.builder.get_data_field::<u64>(1)
1662 }
1663 #[inline]
1664 pub fn set_offset(&mut self, value: u64) {
1665 self.builder.set_data_field::<u64>(1, value);
1666 }
1667 #[inline]
1668 pub fn get_count(self) -> u32 {
1669 self.builder.get_data_field::<u32>(1)
1670 }
1671 #[inline]
1672 pub fn set_count(&mut self, value: u32) {
1673 self.builder.set_data_field::<u32>(1, value);
1674 }
1675 }
1676
1677 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1678 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1679 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1680 Self { _typeless: typeless, }
1681 }
1682 }
1683 impl Pipeline {
1684 }
1685 mod _private {
1686 pub static ENCODED_NODE: [::capnp::Word; 63] = [
1687 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
1688 ::capnp::word(117, 2, 50, 203, 233, 63, 46, 214),
1689 ::capnp::word(11, 0, 0, 0, 1, 0, 2, 0),
1690 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
1691 ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
1692 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1693 ::capnp::word(93, 5, 0, 0, 202, 5, 0, 0),
1694 ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
1695 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
1696 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1697 ::capnp::word(25, 0, 0, 0, 175, 0, 0, 0),
1698 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1699 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1700 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
1701 ::capnp::word(110, 112, 58, 78, 112, 82, 101, 97),
1702 ::capnp::word(100, 0, 0, 0, 0, 0, 0, 0),
1703 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1704 ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
1705 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1706 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1707 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1708 ::capnp::word(69, 0, 0, 0, 34, 0, 0, 0),
1709 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1710 ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
1711 ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
1712 ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
1713 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1714 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1715 ::capnp::word(73, 0, 0, 0, 58, 0, 0, 0),
1716 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1717 ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
1718 ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
1719 ::capnp::word(2, 0, 0, 0, 1, 0, 0, 0),
1720 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
1721 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1722 ::capnp::word(77, 0, 0, 0, 50, 0, 0, 0),
1723 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1724 ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
1725 ::capnp::word(84, 0, 0, 0, 2, 0, 1, 0),
1726 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
1727 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1728 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1729 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1730 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1731 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1732 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1733 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1734 ::capnp::word(111, 102, 102, 115, 101, 116, 0, 0),
1735 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
1736 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1737 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1738 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1739 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
1740 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1741 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1742 ::capnp::word(99, 111, 117, 110, 116, 0, 0, 0),
1743 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1744 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1745 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1746 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1747 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1748 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1749 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1750 ];
1751 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
1752 match index {
1753 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
1754 1 => <u64 as ::capnp::introspect::Introspect>::introspect(),
1755 2 => <u32 as ::capnp::introspect::Introspect>::introspect(),
1756 _ => ::capnp::introspect::panic_invalid_field_index(index),
1757 }
1758 }
1759 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
1760 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
1761 }
1762 #[allow(unsafe_code)]
1763 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
1764 &ENCODED_NODE,
1765 NONUNION_MEMBERS,
1766 MEMBERS_BY_DISCRIMINANT,
1767 MEMBERS_BY_NAME
1768 )};
1769 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2];
1770 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
1771 pub static MEMBERS_BY_NAME : &[u16] = &[2,0,1];
1772 pub const TYPE_ID: u64 = 0xd62e_3fe9_cb32_0275;
1773 }
1774}
1775
1776pub mod np_write {
1777 #[derive(Copy, Clone)]
1778 pub struct Owned(());
1779 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() } }
1780 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1781 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
1782 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
1783
1784 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
1785 impl <> ::core::marker::Copy for Reader<'_,> {}
1786 impl <> ::core::clone::Clone for Reader<'_,> {
1787 fn clone(&self) -> Self { *self }
1788 }
1789
1790 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
1791 const TYPE_ID: u64 = _private::TYPE_ID;
1792 }
1793 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
1794 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
1795 Self { reader, }
1796 }
1797 }
1798
1799 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
1800 fn from(reader: Reader<'a,>) -> Self {
1801 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::<>})))
1802 }
1803 }
1804
1805 impl <> ::core::fmt::Debug for Reader<'_,> {
1806 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
1807 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
1808 }
1809 }
1810
1811 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
1812 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1813 ::core::result::Result::Ok(reader.get_struct(default)?.into())
1814 }
1815 }
1816
1817 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
1818 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
1819 self.reader
1820 }
1821 }
1822
1823 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
1824 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
1825 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
1826 }
1827 }
1828
1829 impl <'a,> Reader<'a,> {
1830 pub fn reborrow(&self) -> Reader<'_,> {
1831 Self { .. *self }
1832 }
1833
1834 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1835 self.reader.total_size()
1836 }
1837 #[inline]
1838 pub fn get_fid(self) -> u32 {
1839 self.reader.get_data_field::<u32>(0)
1840 }
1841 #[inline]
1842 pub fn get_offset(self) -> u64 {
1843 self.reader.get_data_field::<u64>(1)
1844 }
1845 #[inline]
1846 pub fn get_data(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
1847 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
1848 }
1849 #[inline]
1850 pub fn has_data(&self) -> bool {
1851 !self.reader.get_pointer_field(0).is_null()
1852 }
1853 }
1854
1855 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
1856 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
1857 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 2, pointers: 1 };
1858 }
1859 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
1860 const TYPE_ID: u64 = _private::TYPE_ID;
1861 }
1862 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
1863 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
1864 Self { builder, }
1865 }
1866 }
1867
1868 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
1869 fn from(builder: Builder<'a,>) -> Self {
1870 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::<>})))
1871 }
1872 }
1873
1874 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
1875 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
1876 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
1877 }
1878 }
1879
1880 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
1881 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
1882 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
1883 }
1884 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
1885 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
1886 }
1887 }
1888
1889 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
1890 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
1891 }
1892
1893 impl <'a,> Builder<'a,> {
1894 pub fn into_reader(self) -> Reader<'a,> {
1895 self.builder.into_reader().into()
1896 }
1897 pub fn reborrow(&mut self) -> Builder<'_,> {
1898 Builder { builder: self.builder.reborrow() }
1899 }
1900 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
1901 self.builder.as_reader().into()
1902 }
1903
1904 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
1905 self.builder.as_reader().total_size()
1906 }
1907 #[inline]
1908 pub fn get_fid(self) -> u32 {
1909 self.builder.get_data_field::<u32>(0)
1910 }
1911 #[inline]
1912 pub fn set_fid(&mut self, value: u32) {
1913 self.builder.set_data_field::<u32>(0, value);
1914 }
1915 #[inline]
1916 pub fn get_offset(self) -> u64 {
1917 self.builder.get_data_field::<u64>(1)
1918 }
1919 #[inline]
1920 pub fn set_offset(&mut self, value: u64) {
1921 self.builder.set_data_field::<u64>(1, value);
1922 }
1923 #[inline]
1924 pub fn get_data(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
1925 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
1926 }
1927 #[inline]
1928 pub fn set_data(&mut self, value: ::capnp::data::Reader<'_>) {
1929 self.builder.reborrow().get_pointer_field(0).set_data(value);
1930 }
1931 #[inline]
1932 pub fn init_data(self, size: u32) -> ::capnp::data::Builder<'a> {
1933 self.builder.get_pointer_field(0).init_data(size)
1934 }
1935 #[inline]
1936 pub fn has_data(&self) -> bool {
1937 !self.builder.is_pointer_field_null(0)
1938 }
1939 }
1940
1941 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
1942 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
1943 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
1944 Self { _typeless: typeless, }
1945 }
1946 }
1947 impl Pipeline {
1948 }
1949 mod _private {
1950 pub static ENCODED_NODE: [::capnp::Word; 63] = [
1951 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
1952 ::capnp::word(80, 130, 207, 197, 243, 170, 216, 177),
1953 ::capnp::word(11, 0, 0, 0, 1, 0, 2, 0),
1954 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
1955 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
1956 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1957 ::capnp::word(204, 5, 0, 0, 61, 6, 0, 0),
1958 ::capnp::word(21, 0, 0, 0, 154, 0, 0, 0),
1959 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
1960 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1961 ::capnp::word(25, 0, 0, 0, 175, 0, 0, 0),
1962 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1963 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1964 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
1965 ::capnp::word(110, 112, 58, 78, 112, 87, 114, 105),
1966 ::capnp::word(116, 101, 0, 0, 0, 0, 0, 0),
1967 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
1968 ::capnp::word(12, 0, 0, 0, 3, 0, 4, 0),
1969 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1970 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
1971 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1972 ::capnp::word(69, 0, 0, 0, 34, 0, 0, 0),
1973 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1974 ::capnp::word(64, 0, 0, 0, 3, 0, 1, 0),
1975 ::capnp::word(76, 0, 0, 0, 2, 0, 1, 0),
1976 ::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
1977 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
1978 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1979 ::capnp::word(73, 0, 0, 0, 58, 0, 0, 0),
1980 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1981 ::capnp::word(68, 0, 0, 0, 3, 0, 1, 0),
1982 ::capnp::word(80, 0, 0, 0, 2, 0, 1, 0),
1983 ::capnp::word(2, 0, 0, 0, 0, 0, 0, 0),
1984 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
1985 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1986 ::capnp::word(77, 0, 0, 0, 42, 0, 0, 0),
1987 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
1988 ::capnp::word(72, 0, 0, 0, 3, 0, 1, 0),
1989 ::capnp::word(84, 0, 0, 0, 2, 0, 1, 0),
1990 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
1991 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
1992 ::capnp::word(0, 0, 0, 0, 0, 0, 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(8, 0, 0, 0, 0, 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(111, 102, 102, 115, 101, 116, 0, 0),
1999 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
2000 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2001 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2002 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2003 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
2004 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2005 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2006 ::capnp::word(100, 97, 116, 97, 0, 0, 0, 0),
2007 ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
2008 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2009 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2010 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2011 ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
2012 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2013 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2014 ];
2015 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2016 match index {
2017 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
2018 1 => <u64 as ::capnp::introspect::Introspect>::introspect(),
2019 2 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
2020 _ => ::capnp::introspect::panic_invalid_field_index(index),
2021 }
2022 }
2023 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2024 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2025 }
2026 #[allow(unsafe_code)]
2027 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
2028 &ENCODED_NODE,
2029 NONUNION_MEMBERS,
2030 MEMBERS_BY_DISCRIMINANT,
2031 MEMBERS_BY_NAME
2032 )};
2033 pub static NONUNION_MEMBERS : &[u16] = &[0,1,2];
2034 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2035 pub static MEMBERS_BY_NAME : &[u16] = &[2,0,1];
2036 pub const TYPE_ID: u64 = 0xb1d8_aaf3_c5cf_8250;
2037 }
2038}
2039
2040pub mod np_clunk {
2041 #[derive(Copy, Clone)]
2042 pub struct Owned(());
2043 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() } }
2044 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2045 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2046 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2047
2048 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2049 impl <> ::core::marker::Copy for Reader<'_,> {}
2050 impl <> ::core::clone::Clone for Reader<'_,> {
2051 fn clone(&self) -> Self { *self }
2052 }
2053
2054 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
2055 const TYPE_ID: u64 = _private::TYPE_ID;
2056 }
2057 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
2058 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2059 Self { reader, }
2060 }
2061 }
2062
2063 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
2064 fn from(reader: Reader<'a,>) -> Self {
2065 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::<>})))
2066 }
2067 }
2068
2069 impl <> ::core::fmt::Debug for Reader<'_,> {
2070 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2071 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2072 }
2073 }
2074
2075 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
2076 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2077 ::core::result::Result::Ok(reader.get_struct(default)?.into())
2078 }
2079 }
2080
2081 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
2082 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2083 self.reader
2084 }
2085 }
2086
2087 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
2088 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2089 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2090 }
2091 }
2092
2093 impl <> Reader<'_,> {
2094 pub fn reborrow(&self) -> Reader<'_,> {
2095 Self { .. *self }
2096 }
2097
2098 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2099 self.reader.total_size()
2100 }
2101 #[inline]
2102 pub fn get_fid(self) -> u32 {
2103 self.reader.get_data_field::<u32>(0)
2104 }
2105 }
2106
2107 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2108 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
2109 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 0 };
2110 }
2111 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
2112 const TYPE_ID: u64 = _private::TYPE_ID;
2113 }
2114 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
2115 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2116 Self { builder, }
2117 }
2118 }
2119
2120 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
2121 fn from(builder: Builder<'a,>) -> Self {
2122 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::<>})))
2123 }
2124 }
2125
2126 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
2127 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2128 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2129 }
2130 }
2131
2132 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
2133 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2134 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2135 }
2136 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2137 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2138 }
2139 }
2140
2141 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
2142 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2143 }
2144
2145 impl <'a,> Builder<'a,> {
2146 pub fn into_reader(self) -> Reader<'a,> {
2147 self.builder.into_reader().into()
2148 }
2149 pub fn reborrow(&mut self) -> Builder<'_,> {
2150 Builder { builder: self.builder.reborrow() }
2151 }
2152 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2153 self.builder.as_reader().into()
2154 }
2155
2156 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2157 self.builder.as_reader().total_size()
2158 }
2159 #[inline]
2160 pub fn get_fid(self) -> u32 {
2161 self.builder.get_data_field::<u32>(0)
2162 }
2163 #[inline]
2164 pub fn set_fid(&mut self, value: u32) {
2165 self.builder.set_data_field::<u32>(0, value);
2166 }
2167 }
2168
2169 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2170 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2171 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2172 Self { _typeless: typeless, }
2173 }
2174 }
2175 impl Pipeline {
2176 }
2177 mod _private {
2178 pub static ENCODED_NODE: [::capnp::Word; 33] = [
2179 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
2180 ::capnp::word(246, 25, 124, 238, 115, 124, 75, 248),
2181 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
2182 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
2183 ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
2184 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2185 ::capnp::word(63, 6, 0, 0, 99, 6, 0, 0),
2186 ::capnp::word(21, 0, 0, 0, 154, 0, 0, 0),
2187 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
2188 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2189 ::capnp::word(25, 0, 0, 0, 63, 0, 0, 0),
2190 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2191 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2192 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
2193 ::capnp::word(110, 112, 58, 78, 112, 67, 108, 117),
2194 ::capnp::word(110, 107, 0, 0, 0, 0, 0, 0),
2195 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
2196 ::capnp::word(4, 0, 0, 0, 3, 0, 4, 0),
2197 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2198 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
2199 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2200 ::capnp::word(13, 0, 0, 0, 34, 0, 0, 0),
2201 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2202 ::capnp::word(8, 0, 0, 0, 3, 0, 1, 0),
2203 ::capnp::word(20, 0, 0, 0, 2, 0, 1, 0),
2204 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
2205 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2206 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2207 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2208 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2209 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2210 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2211 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2212 ];
2213 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2214 match index {
2215 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
2216 _ => ::capnp::introspect::panic_invalid_field_index(index),
2217 }
2218 }
2219 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2220 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2221 }
2222 #[allow(unsafe_code)]
2223 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
2224 &ENCODED_NODE,
2225 NONUNION_MEMBERS,
2226 MEMBERS_BY_DISCRIMINANT,
2227 MEMBERS_BY_NAME
2228 )};
2229 pub static NONUNION_MEMBERS : &[u16] = &[0];
2230 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2231 pub static MEMBERS_BY_NAME : &[u16] = &[0];
2232 pub const TYPE_ID: u64 = 0xf84b_7c73_ee7c_19f6;
2233 }
2234}
2235
2236pub mod np_remove {
2237 #[derive(Copy, Clone)]
2238 pub struct Owned(());
2239 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() } }
2240 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2241 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2242 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2243
2244 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2245 impl <> ::core::marker::Copy for Reader<'_,> {}
2246 impl <> ::core::clone::Clone for Reader<'_,> {
2247 fn clone(&self) -> Self { *self }
2248 }
2249
2250 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
2251 const TYPE_ID: u64 = _private::TYPE_ID;
2252 }
2253 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
2254 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2255 Self { reader, }
2256 }
2257 }
2258
2259 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
2260 fn from(reader: Reader<'a,>) -> Self {
2261 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::<>})))
2262 }
2263 }
2264
2265 impl <> ::core::fmt::Debug for Reader<'_,> {
2266 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2267 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2268 }
2269 }
2270
2271 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
2272 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2273 ::core::result::Result::Ok(reader.get_struct(default)?.into())
2274 }
2275 }
2276
2277 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
2278 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2279 self.reader
2280 }
2281 }
2282
2283 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
2284 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2285 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2286 }
2287 }
2288
2289 impl <> Reader<'_,> {
2290 pub fn reborrow(&self) -> Reader<'_,> {
2291 Self { .. *self }
2292 }
2293
2294 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2295 self.reader.total_size()
2296 }
2297 #[inline]
2298 pub fn get_fid(self) -> u32 {
2299 self.reader.get_data_field::<u32>(0)
2300 }
2301 }
2302
2303 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2304 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
2305 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 0 };
2306 }
2307 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
2308 const TYPE_ID: u64 = _private::TYPE_ID;
2309 }
2310 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
2311 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2312 Self { builder, }
2313 }
2314 }
2315
2316 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
2317 fn from(builder: Builder<'a,>) -> Self {
2318 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::<>})))
2319 }
2320 }
2321
2322 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
2323 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2324 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2325 }
2326 }
2327
2328 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
2329 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2330 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2331 }
2332 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2333 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2334 }
2335 }
2336
2337 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
2338 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2339 }
2340
2341 impl <'a,> Builder<'a,> {
2342 pub fn into_reader(self) -> Reader<'a,> {
2343 self.builder.into_reader().into()
2344 }
2345 pub fn reborrow(&mut self) -> Builder<'_,> {
2346 Builder { builder: self.builder.reborrow() }
2347 }
2348 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2349 self.builder.as_reader().into()
2350 }
2351
2352 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2353 self.builder.as_reader().total_size()
2354 }
2355 #[inline]
2356 pub fn get_fid(self) -> u32 {
2357 self.builder.get_data_field::<u32>(0)
2358 }
2359 #[inline]
2360 pub fn set_fid(&mut self, value: u32) {
2361 self.builder.set_data_field::<u32>(0, value);
2362 }
2363 }
2364
2365 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2366 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2367 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2368 Self { _typeless: typeless, }
2369 }
2370 }
2371 impl Pipeline {
2372 }
2373 mod _private {
2374 pub static ENCODED_NODE: [::capnp::Word; 33] = [
2375 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
2376 ::capnp::word(251, 83, 234, 89, 208, 119, 249, 245),
2377 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
2378 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
2379 ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
2380 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2381 ::capnp::word(100, 6, 0, 0, 136, 6, 0, 0),
2382 ::capnp::word(21, 0, 0, 0, 162, 0, 0, 0),
2383 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
2384 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2385 ::capnp::word(25, 0, 0, 0, 63, 0, 0, 0),
2386 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2387 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2388 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
2389 ::capnp::word(110, 112, 58, 78, 112, 82, 101, 109),
2390 ::capnp::word(111, 118, 101, 0, 0, 0, 0, 0),
2391 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
2392 ::capnp::word(4, 0, 0, 0, 3, 0, 4, 0),
2393 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2394 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
2395 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2396 ::capnp::word(13, 0, 0, 0, 34, 0, 0, 0),
2397 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2398 ::capnp::word(8, 0, 0, 0, 3, 0, 1, 0),
2399 ::capnp::word(20, 0, 0, 0, 2, 0, 1, 0),
2400 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
2401 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2402 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2403 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2404 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2405 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2406 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2407 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2408 ];
2409 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2410 match index {
2411 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
2412 _ => ::capnp::introspect::panic_invalid_field_index(index),
2413 }
2414 }
2415 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2416 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2417 }
2418 #[allow(unsafe_code)]
2419 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
2420 &ENCODED_NODE,
2421 NONUNION_MEMBERS,
2422 MEMBERS_BY_DISCRIMINANT,
2423 MEMBERS_BY_NAME
2424 )};
2425 pub static NONUNION_MEMBERS : &[u16] = &[0];
2426 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2427 pub static MEMBERS_BY_NAME : &[u16] = &[0];
2428 pub const TYPE_ID: u64 = 0xf5f9_77d0_59ea_53fb;
2429 }
2430}
2431
2432pub mod np_stat_req {
2433 #[derive(Copy, Clone)]
2434 pub struct Owned(());
2435 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() } }
2436 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2437 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2438 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2439
2440 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2441 impl <> ::core::marker::Copy for Reader<'_,> {}
2442 impl <> ::core::clone::Clone for Reader<'_,> {
2443 fn clone(&self) -> Self { *self }
2444 }
2445
2446 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
2447 const TYPE_ID: u64 = _private::TYPE_ID;
2448 }
2449 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
2450 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2451 Self { reader, }
2452 }
2453 }
2454
2455 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
2456 fn from(reader: Reader<'a,>) -> Self {
2457 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::<>})))
2458 }
2459 }
2460
2461 impl <> ::core::fmt::Debug for Reader<'_,> {
2462 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2463 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2464 }
2465 }
2466
2467 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
2468 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2469 ::core::result::Result::Ok(reader.get_struct(default)?.into())
2470 }
2471 }
2472
2473 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
2474 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2475 self.reader
2476 }
2477 }
2478
2479 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
2480 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2481 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2482 }
2483 }
2484
2485 impl <> Reader<'_,> {
2486 pub fn reborrow(&self) -> Reader<'_,> {
2487 Self { .. *self }
2488 }
2489
2490 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2491 self.reader.total_size()
2492 }
2493 #[inline]
2494 pub fn get_fid(self) -> u32 {
2495 self.reader.get_data_field::<u32>(0)
2496 }
2497 }
2498
2499 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2500 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
2501 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 0 };
2502 }
2503 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
2504 const TYPE_ID: u64 = _private::TYPE_ID;
2505 }
2506 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
2507 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2508 Self { builder, }
2509 }
2510 }
2511
2512 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
2513 fn from(builder: Builder<'a,>) -> Self {
2514 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::<>})))
2515 }
2516 }
2517
2518 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
2519 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2520 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2521 }
2522 }
2523
2524 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
2525 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2526 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2527 }
2528 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2529 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2530 }
2531 }
2532
2533 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
2534 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2535 }
2536
2537 impl <'a,> Builder<'a,> {
2538 pub fn into_reader(self) -> Reader<'a,> {
2539 self.builder.into_reader().into()
2540 }
2541 pub fn reborrow(&mut self) -> Builder<'_,> {
2542 Builder { builder: self.builder.reborrow() }
2543 }
2544 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2545 self.builder.as_reader().into()
2546 }
2547
2548 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2549 self.builder.as_reader().total_size()
2550 }
2551 #[inline]
2552 pub fn get_fid(self) -> u32 {
2553 self.builder.get_data_field::<u32>(0)
2554 }
2555 #[inline]
2556 pub fn set_fid(&mut self, value: u32) {
2557 self.builder.set_data_field::<u32>(0, value);
2558 }
2559 }
2560
2561 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2562 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2563 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2564 Self { _typeless: typeless, }
2565 }
2566 }
2567 impl Pipeline {
2568 }
2569 mod _private {
2570 pub static ENCODED_NODE: [::capnp::Word; 33] = [
2571 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
2572 ::capnp::word(54, 44, 3, 117, 207, 207, 149, 175),
2573 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
2574 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
2575 ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
2576 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2577 ::capnp::word(137, 6, 0, 0, 173, 6, 0, 0),
2578 ::capnp::word(21, 0, 0, 0, 170, 0, 0, 0),
2579 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
2580 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2581 ::capnp::word(25, 0, 0, 0, 63, 0, 0, 0),
2582 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2583 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2584 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
2585 ::capnp::word(110, 112, 58, 78, 112, 83, 116, 97),
2586 ::capnp::word(116, 82, 101, 113, 0, 0, 0, 0),
2587 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
2588 ::capnp::word(4, 0, 0, 0, 3, 0, 4, 0),
2589 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2590 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
2591 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2592 ::capnp::word(13, 0, 0, 0, 34, 0, 0, 0),
2593 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2594 ::capnp::word(8, 0, 0, 0, 3, 0, 1, 0),
2595 ::capnp::word(20, 0, 0, 0, 2, 0, 1, 0),
2596 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
2597 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2598 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2599 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2600 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2601 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2602 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2603 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2604 ];
2605 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2606 match index {
2607 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
2608 _ => ::capnp::introspect::panic_invalid_field_index(index),
2609 }
2610 }
2611 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2612 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2613 }
2614 #[allow(unsafe_code)]
2615 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
2616 &ENCODED_NODE,
2617 NONUNION_MEMBERS,
2618 MEMBERS_BY_DISCRIMINANT,
2619 MEMBERS_BY_NAME
2620 )};
2621 pub static NONUNION_MEMBERS : &[u16] = &[0];
2622 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2623 pub static MEMBERS_BY_NAME : &[u16] = &[0];
2624 pub const TYPE_ID: u64 = 0xaf95_cfcf_7503_2c36;
2625 }
2626}
2627
2628pub mod np_wstat {
2629 #[derive(Copy, Clone)]
2630 pub struct Owned(());
2631 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() } }
2632 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2633 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2634 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2635
2636 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2637 impl <> ::core::marker::Copy for Reader<'_,> {}
2638 impl <> ::core::clone::Clone for Reader<'_,> {
2639 fn clone(&self) -> Self { *self }
2640 }
2641
2642 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
2643 const TYPE_ID: u64 = _private::TYPE_ID;
2644 }
2645 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
2646 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2647 Self { reader, }
2648 }
2649 }
2650
2651 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
2652 fn from(reader: Reader<'a,>) -> Self {
2653 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::<>})))
2654 }
2655 }
2656
2657 impl <> ::core::fmt::Debug for Reader<'_,> {
2658 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2659 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2660 }
2661 }
2662
2663 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
2664 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2665 ::core::result::Result::Ok(reader.get_struct(default)?.into())
2666 }
2667 }
2668
2669 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
2670 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2671 self.reader
2672 }
2673 }
2674
2675 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
2676 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2677 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2678 }
2679 }
2680
2681 impl <'a,> Reader<'a,> {
2682 pub fn reborrow(&self) -> Reader<'_,> {
2683 Self { .. *self }
2684 }
2685
2686 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2687 self.reader.total_size()
2688 }
2689 #[inline]
2690 pub fn get_fid(self) -> u32 {
2691 self.reader.get_data_field::<u32>(0)
2692 }
2693 #[inline]
2694 pub fn get_stat(self) -> ::capnp::Result<crate::nine_capnp::np_stat::Reader<'a>> {
2695 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
2696 }
2697 #[inline]
2698 pub fn has_stat(&self) -> bool {
2699 !self.reader.get_pointer_field(0).is_null()
2700 }
2701 }
2702
2703 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2704 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
2705 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 1 };
2706 }
2707 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
2708 const TYPE_ID: u64 = _private::TYPE_ID;
2709 }
2710 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
2711 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2712 Self { builder, }
2713 }
2714 }
2715
2716 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
2717 fn from(builder: Builder<'a,>) -> Self {
2718 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::<>})))
2719 }
2720 }
2721
2722 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
2723 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2724 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2725 }
2726 }
2727
2728 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
2729 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2730 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2731 }
2732 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2733 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2734 }
2735 }
2736
2737 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
2738 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2739 }
2740
2741 impl <'a,> Builder<'a,> {
2742 pub fn into_reader(self) -> Reader<'a,> {
2743 self.builder.into_reader().into()
2744 }
2745 pub fn reborrow(&mut self) -> Builder<'_,> {
2746 Builder { builder: self.builder.reborrow() }
2747 }
2748 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2749 self.builder.as_reader().into()
2750 }
2751
2752 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2753 self.builder.as_reader().total_size()
2754 }
2755 #[inline]
2756 pub fn get_fid(self) -> u32 {
2757 self.builder.get_data_field::<u32>(0)
2758 }
2759 #[inline]
2760 pub fn set_fid(&mut self, value: u32) {
2761 self.builder.set_data_field::<u32>(0, value);
2762 }
2763 #[inline]
2764 pub fn get_stat(self) -> ::capnp::Result<crate::nine_capnp::np_stat::Builder<'a>> {
2765 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
2766 }
2767 #[inline]
2768 pub fn set_stat(&mut self, value: crate::nine_capnp::np_stat::Reader<'_>) -> ::capnp::Result<()> {
2769 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
2770 }
2771 #[inline]
2772 pub fn init_stat(self, ) -> crate::nine_capnp::np_stat::Builder<'a> {
2773 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
2774 }
2775 #[inline]
2776 pub fn has_stat(&self) -> bool {
2777 !self.builder.is_pointer_field_null(0)
2778 }
2779 }
2780
2781 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2782 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2783 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2784 Self { _typeless: typeless, }
2785 }
2786 }
2787 impl Pipeline {
2788 pub fn get_stat(&self) -> crate::nine_capnp::np_stat::Pipeline {
2789 ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
2790 }
2791 }
2792 mod _private {
2793 pub static ENCODED_NODE: [::capnp::Word; 48] = [
2794 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
2795 ::capnp::word(49, 21, 45, 113, 19, 59, 48, 226),
2796 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
2797 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
2798 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
2799 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2800 ::capnp::word(174, 6, 0, 0, 227, 6, 0, 0),
2801 ::capnp::word(21, 0, 0, 0, 154, 0, 0, 0),
2802 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
2803 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2804 ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
2805 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2806 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2807 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
2808 ::capnp::word(110, 112, 58, 78, 112, 87, 115, 116),
2809 ::capnp::word(97, 116, 0, 0, 0, 0, 0, 0),
2810 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
2811 ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
2812 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2813 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
2814 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2815 ::capnp::word(41, 0, 0, 0, 34, 0, 0, 0),
2816 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2817 ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
2818 ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
2819 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
2820 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
2821 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2822 ::capnp::word(45, 0, 0, 0, 42, 0, 0, 0),
2823 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2824 ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
2825 ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
2826 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
2827 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
2828 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2829 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2830 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2831 ::capnp::word(8, 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, 0, 0, 0, 0),
2834 ::capnp::word(115, 116, 97, 116, 0, 0, 0, 0),
2835 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2836 ::capnp::word(186, 207, 228, 41, 117, 240, 34, 150),
2837 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2838 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2839 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
2840 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2841 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
2842 ];
2843 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
2844 match index {
2845 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
2846 1 => <crate::nine_capnp::np_stat::Owned as ::capnp::introspect::Introspect>::introspect(),
2847 _ => ::capnp::introspect::panic_invalid_field_index(index),
2848 }
2849 }
2850 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
2851 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
2852 }
2853 #[allow(unsafe_code)]
2854 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
2855 &ENCODED_NODE,
2856 NONUNION_MEMBERS,
2857 MEMBERS_BY_DISCRIMINANT,
2858 MEMBERS_BY_NAME
2859 )};
2860 pub static NONUNION_MEMBERS : &[u16] = &[0,1];
2861 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
2862 pub static MEMBERS_BY_NAME : &[u16] = &[0,1];
2863 pub const TYPE_ID: u64 = 0xe230_3b13_712d_1531;
2864 }
2865}
2866
2867pub mod np_flush {
2868 #[derive(Copy, Clone)]
2869 pub struct Owned(());
2870 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() } }
2871 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2872 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
2873 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
2874
2875 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
2876 impl <> ::core::marker::Copy for Reader<'_,> {}
2877 impl <> ::core::clone::Clone for Reader<'_,> {
2878 fn clone(&self) -> Self { *self }
2879 }
2880
2881 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
2882 const TYPE_ID: u64 = _private::TYPE_ID;
2883 }
2884 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
2885 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
2886 Self { reader, }
2887 }
2888 }
2889
2890 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
2891 fn from(reader: Reader<'a,>) -> Self {
2892 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::<>})))
2893 }
2894 }
2895
2896 impl <> ::core::fmt::Debug for Reader<'_,> {
2897 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
2898 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
2899 }
2900 }
2901
2902 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
2903 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2904 ::core::result::Result::Ok(reader.get_struct(default)?.into())
2905 }
2906 }
2907
2908 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
2909 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
2910 self.reader
2911 }
2912 }
2913
2914 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
2915 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
2916 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
2917 }
2918 }
2919
2920 impl <> Reader<'_,> {
2921 pub fn reborrow(&self) -> Reader<'_,> {
2922 Self { .. *self }
2923 }
2924
2925 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2926 self.reader.total_size()
2927 }
2928 #[inline]
2929 pub fn get_oldtag(self) -> u64 {
2930 self.reader.get_data_field::<u64>(0)
2931 }
2932 }
2933
2934 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
2935 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
2936 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 0 };
2937 }
2938 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
2939 const TYPE_ID: u64 = _private::TYPE_ID;
2940 }
2941 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
2942 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
2943 Self { builder, }
2944 }
2945 }
2946
2947 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
2948 fn from(builder: Builder<'a,>) -> Self {
2949 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::<>})))
2950 }
2951 }
2952
2953 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
2954 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
2955 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
2956 }
2957 }
2958
2959 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
2960 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
2961 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
2962 }
2963 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
2964 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
2965 }
2966 }
2967
2968 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
2969 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
2970 }
2971
2972 impl <'a,> Builder<'a,> {
2973 pub fn into_reader(self) -> Reader<'a,> {
2974 self.builder.into_reader().into()
2975 }
2976 pub fn reborrow(&mut self) -> Builder<'_,> {
2977 Builder { builder: self.builder.reborrow() }
2978 }
2979 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
2980 self.builder.as_reader().into()
2981 }
2982
2983 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
2984 self.builder.as_reader().total_size()
2985 }
2986 #[inline]
2987 pub fn get_oldtag(self) -> u64 {
2988 self.builder.get_data_field::<u64>(0)
2989 }
2990 #[inline]
2991 pub fn set_oldtag(&mut self, value: u64) {
2992 self.builder.set_data_field::<u64>(0, value);
2993 }
2994 }
2995
2996 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
2997 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
2998 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
2999 Self { _typeless: typeless, }
3000 }
3001 }
3002 impl Pipeline {
3003 }
3004 mod _private {
3005 pub static ENCODED_NODE: [::capnp::Word; 33] = [
3006 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
3007 ::capnp::word(235, 104, 127, 21, 175, 212, 234, 232),
3008 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
3009 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
3010 ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
3011 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3012 ::capnp::word(228, 6, 0, 0, 11, 7, 0, 0),
3013 ::capnp::word(21, 0, 0, 0, 154, 0, 0, 0),
3014 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
3015 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3016 ::capnp::word(25, 0, 0, 0, 63, 0, 0, 0),
3017 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3018 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3019 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
3020 ::capnp::word(110, 112, 58, 78, 112, 70, 108, 117),
3021 ::capnp::word(115, 104, 0, 0, 0, 0, 0, 0),
3022 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
3023 ::capnp::word(4, 0, 0, 0, 3, 0, 4, 0),
3024 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3025 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
3026 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3027 ::capnp::word(13, 0, 0, 0, 58, 0, 0, 0),
3028 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3029 ::capnp::word(8, 0, 0, 0, 3, 0, 1, 0),
3030 ::capnp::word(20, 0, 0, 0, 2, 0, 1, 0),
3031 ::capnp::word(111, 108, 100, 116, 97, 103, 0, 0),
3032 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
3033 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3034 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3035 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3036 ::capnp::word(9, 0, 0, 0, 0, 0, 0, 0),
3037 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3038 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3039 ];
3040 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
3041 match index {
3042 0 => <u64 as ::capnp::introspect::Introspect>::introspect(),
3043 _ => ::capnp::introspect::panic_invalid_field_index(index),
3044 }
3045 }
3046 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
3047 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
3048 }
3049 #[allow(unsafe_code)]
3050 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
3051 &ENCODED_NODE,
3052 NONUNION_MEMBERS,
3053 MEMBERS_BY_DISCRIMINANT,
3054 MEMBERS_BY_NAME
3055 )};
3056 pub static NONUNION_MEMBERS : &[u16] = &[0];
3057 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
3058 pub static MEMBERS_BY_NAME : &[u16] = &[0];
3059 pub const TYPE_ID: u64 = 0xe8ea_d4af_157f_68eb;
3060 }
3061}
3062
3063pub mod r_walk {
3064 #[derive(Copy, Clone)]
3065 pub struct Owned(());
3066 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() } }
3067 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3068 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3069 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
3070
3071 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
3072 impl <> ::core::marker::Copy for Reader<'_,> {}
3073 impl <> ::core::clone::Clone for Reader<'_,> {
3074 fn clone(&self) -> Self { *self }
3075 }
3076
3077 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
3078 const TYPE_ID: u64 = _private::TYPE_ID;
3079 }
3080 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
3081 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
3082 Self { reader, }
3083 }
3084 }
3085
3086 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
3087 fn from(reader: Reader<'a,>) -> Self {
3088 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::<>})))
3089 }
3090 }
3091
3092 impl <> ::core::fmt::Debug for Reader<'_,> {
3093 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
3094 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
3095 }
3096 }
3097
3098 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
3099 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3100 ::core::result::Result::Ok(reader.get_struct(default)?.into())
3101 }
3102 }
3103
3104 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
3105 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
3106 self.reader
3107 }
3108 }
3109
3110 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
3111 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
3112 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
3113 }
3114 }
3115
3116 impl <'a,> Reader<'a,> {
3117 pub fn reborrow(&self) -> Reader<'_,> {
3118 Self { .. *self }
3119 }
3120
3121 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3122 self.reader.total_size()
3123 }
3124 #[inline]
3125 pub fn get_qid(self) -> ::capnp::Result<crate::nine_capnp::qid::Reader<'a>> {
3126 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
3127 }
3128 #[inline]
3129 pub fn has_qid(&self) -> bool {
3130 !self.reader.get_pointer_field(0).is_null()
3131 }
3132 #[inline]
3133 pub fn get_fid(self) -> u32 {
3134 self.reader.get_data_field::<u32>(0)
3135 }
3136 }
3137
3138 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
3139 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
3140 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 1 };
3141 }
3142 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
3143 const TYPE_ID: u64 = _private::TYPE_ID;
3144 }
3145 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
3146 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
3147 Self { builder, }
3148 }
3149 }
3150
3151 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
3152 fn from(builder: Builder<'a,>) -> Self {
3153 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::<>})))
3154 }
3155 }
3156
3157 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
3158 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
3159 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
3160 }
3161 }
3162
3163 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
3164 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
3165 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
3166 }
3167 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3168 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
3169 }
3170 }
3171
3172 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
3173 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
3174 }
3175
3176 impl <'a,> Builder<'a,> {
3177 pub fn into_reader(self) -> Reader<'a,> {
3178 self.builder.into_reader().into()
3179 }
3180 pub fn reborrow(&mut self) -> Builder<'_,> {
3181 Builder { builder: self.builder.reborrow() }
3182 }
3183 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
3184 self.builder.as_reader().into()
3185 }
3186
3187 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3188 self.builder.as_reader().total_size()
3189 }
3190 #[inline]
3191 pub fn get_qid(self) -> ::capnp::Result<crate::nine_capnp::qid::Builder<'a>> {
3192 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
3193 }
3194 #[inline]
3195 pub fn set_qid(&mut self, value: crate::nine_capnp::qid::Reader<'_>) -> ::capnp::Result<()> {
3196 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
3197 }
3198 #[inline]
3199 pub fn init_qid(self, ) -> crate::nine_capnp::qid::Builder<'a> {
3200 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
3201 }
3202 #[inline]
3203 pub fn has_qid(&self) -> bool {
3204 !self.builder.is_pointer_field_null(0)
3205 }
3206 #[inline]
3207 pub fn get_fid(self) -> u32 {
3208 self.builder.get_data_field::<u32>(0)
3209 }
3210 #[inline]
3211 pub fn set_fid(&mut self, value: u32) {
3212 self.builder.set_data_field::<u32>(0, value);
3213 }
3214 }
3215
3216 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
3217 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
3218 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
3219 Self { _typeless: typeless, }
3220 }
3221 }
3222 impl Pipeline {
3223 pub fn get_qid(&self) -> crate::nine_capnp::qid::Pipeline {
3224 ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
3225 }
3226 }
3227 mod _private {
3228 pub static ENCODED_NODE: [::capnp::Word; 48] = [
3229 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
3230 ::capnp::word(241, 158, 191, 86, 253, 230, 129, 202),
3231 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
3232 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
3233 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
3234 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3235 ::capnp::word(39, 7, 0, 0, 149, 7, 0, 0),
3236 ::capnp::word(21, 0, 0, 0, 138, 0, 0, 0),
3237 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
3238 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3239 ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
3240 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3241 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3242 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
3243 ::capnp::word(110, 112, 58, 82, 87, 97, 108, 107),
3244 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3245 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
3246 ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
3247 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3248 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
3249 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3250 ::capnp::word(41, 0, 0, 0, 34, 0, 0, 0),
3251 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3252 ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
3253 ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
3254 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
3255 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
3256 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3257 ::capnp::word(45, 0, 0, 0, 34, 0, 0, 0),
3258 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3259 ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
3260 ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
3261 ::capnp::word(113, 105, 100, 0, 0, 0, 0, 0),
3262 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
3263 ::capnp::word(29, 251, 42, 94, 203, 14, 105, 211),
3264 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3265 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3266 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
3267 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3268 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3269 ::capnp::word(102, 105, 100, 0, 0, 0, 0, 0),
3270 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3271 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3272 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3273 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3274 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3275 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3276 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3277 ];
3278 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
3279 match index {
3280 0 => <crate::nine_capnp::qid::Owned as ::capnp::introspect::Introspect>::introspect(),
3281 1 => <u32 as ::capnp::introspect::Introspect>::introspect(),
3282 _ => ::capnp::introspect::panic_invalid_field_index(index),
3283 }
3284 }
3285 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
3286 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
3287 }
3288 #[allow(unsafe_code)]
3289 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
3290 &ENCODED_NODE,
3291 NONUNION_MEMBERS,
3292 MEMBERS_BY_DISCRIMINANT,
3293 MEMBERS_BY_NAME
3294 )};
3295 pub static NONUNION_MEMBERS : &[u16] = &[0,1];
3296 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
3297 pub static MEMBERS_BY_NAME : &[u16] = &[1,0];
3298 pub const TYPE_ID: u64 = 0xca81_e6fd_56bf_9ef1;
3299 }
3300}
3301
3302pub mod r_open {
3303 #[derive(Copy, Clone)]
3304 pub struct Owned(());
3305 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() } }
3306 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3307 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3308 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
3309
3310 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
3311 impl <> ::core::marker::Copy for Reader<'_,> {}
3312 impl <> ::core::clone::Clone for Reader<'_,> {
3313 fn clone(&self) -> Self { *self }
3314 }
3315
3316 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
3317 const TYPE_ID: u64 = _private::TYPE_ID;
3318 }
3319 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
3320 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
3321 Self { reader, }
3322 }
3323 }
3324
3325 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
3326 fn from(reader: Reader<'a,>) -> Self {
3327 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::<>})))
3328 }
3329 }
3330
3331 impl <> ::core::fmt::Debug for Reader<'_,> {
3332 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
3333 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
3334 }
3335 }
3336
3337 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
3338 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3339 ::core::result::Result::Ok(reader.get_struct(default)?.into())
3340 }
3341 }
3342
3343 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
3344 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
3345 self.reader
3346 }
3347 }
3348
3349 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
3350 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
3351 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
3352 }
3353 }
3354
3355 impl <'a,> Reader<'a,> {
3356 pub fn reborrow(&self) -> Reader<'_,> {
3357 Self { .. *self }
3358 }
3359
3360 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3361 self.reader.total_size()
3362 }
3363 #[inline]
3364 pub fn get_qid(self) -> ::capnp::Result<crate::nine_capnp::qid::Reader<'a>> {
3365 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
3366 }
3367 #[inline]
3368 pub fn has_qid(&self) -> bool {
3369 !self.reader.get_pointer_field(0).is_null()
3370 }
3371 #[inline]
3372 pub fn get_iounit(self) -> u32 {
3373 self.reader.get_data_field::<u32>(0)
3374 }
3375 }
3376
3377 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
3378 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
3379 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 1 };
3380 }
3381 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
3382 const TYPE_ID: u64 = _private::TYPE_ID;
3383 }
3384 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
3385 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
3386 Self { builder, }
3387 }
3388 }
3389
3390 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
3391 fn from(builder: Builder<'a,>) -> Self {
3392 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::<>})))
3393 }
3394 }
3395
3396 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
3397 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
3398 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
3399 }
3400 }
3401
3402 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
3403 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
3404 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
3405 }
3406 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3407 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
3408 }
3409 }
3410
3411 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
3412 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
3413 }
3414
3415 impl <'a,> Builder<'a,> {
3416 pub fn into_reader(self) -> Reader<'a,> {
3417 self.builder.into_reader().into()
3418 }
3419 pub fn reborrow(&mut self) -> Builder<'_,> {
3420 Builder { builder: self.builder.reborrow() }
3421 }
3422 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
3423 self.builder.as_reader().into()
3424 }
3425
3426 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3427 self.builder.as_reader().total_size()
3428 }
3429 #[inline]
3430 pub fn get_qid(self) -> ::capnp::Result<crate::nine_capnp::qid::Builder<'a>> {
3431 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
3432 }
3433 #[inline]
3434 pub fn set_qid(&mut self, value: crate::nine_capnp::qid::Reader<'_>) -> ::capnp::Result<()> {
3435 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
3436 }
3437 #[inline]
3438 pub fn init_qid(self, ) -> crate::nine_capnp::qid::Builder<'a> {
3439 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
3440 }
3441 #[inline]
3442 pub fn has_qid(&self) -> bool {
3443 !self.builder.is_pointer_field_null(0)
3444 }
3445 #[inline]
3446 pub fn get_iounit(self) -> u32 {
3447 self.builder.get_data_field::<u32>(0)
3448 }
3449 #[inline]
3450 pub fn set_iounit(&mut self, value: u32) {
3451 self.builder.set_data_field::<u32>(0, value);
3452 }
3453 }
3454
3455 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
3456 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
3457 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
3458 Self { _typeless: typeless, }
3459 }
3460 }
3461 impl Pipeline {
3462 pub fn get_qid(&self) -> crate::nine_capnp::qid::Pipeline {
3463 ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
3464 }
3465 }
3466 mod _private {
3467 pub static ENCODED_NODE: [::capnp::Word; 48] = [
3468 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
3469 ::capnp::word(75, 132, 176, 49, 21, 90, 218, 249),
3470 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
3471 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
3472 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
3473 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3474 ::capnp::word(150, 7, 0, 0, 199, 7, 0, 0),
3475 ::capnp::word(21, 0, 0, 0, 138, 0, 0, 0),
3476 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
3477 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3478 ::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
3479 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3480 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3481 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
3482 ::capnp::word(110, 112, 58, 82, 79, 112, 101, 110),
3483 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3484 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
3485 ::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
3486 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3487 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
3488 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3489 ::capnp::word(41, 0, 0, 0, 34, 0, 0, 0),
3490 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3491 ::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
3492 ::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
3493 ::capnp::word(1, 0, 0, 0, 0, 0, 0, 0),
3494 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
3495 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3496 ::capnp::word(45, 0, 0, 0, 58, 0, 0, 0),
3497 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3498 ::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
3499 ::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
3500 ::capnp::word(113, 105, 100, 0, 0, 0, 0, 0),
3501 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
3502 ::capnp::word(29, 251, 42, 94, 203, 14, 105, 211),
3503 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3504 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3505 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
3506 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3507 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3508 ::capnp::word(105, 111, 117, 110, 105, 116, 0, 0),
3509 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3510 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3511 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3512 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3513 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3514 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3515 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3516 ];
3517 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
3518 match index {
3519 0 => <crate::nine_capnp::qid::Owned as ::capnp::introspect::Introspect>::introspect(),
3520 1 => <u32 as ::capnp::introspect::Introspect>::introspect(),
3521 _ => ::capnp::introspect::panic_invalid_field_index(index),
3522 }
3523 }
3524 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
3525 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
3526 }
3527 #[allow(unsafe_code)]
3528 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
3529 &ENCODED_NODE,
3530 NONUNION_MEMBERS,
3531 MEMBERS_BY_DISCRIMINANT,
3532 MEMBERS_BY_NAME
3533 )};
3534 pub static NONUNION_MEMBERS : &[u16] = &[0,1];
3535 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
3536 pub static MEMBERS_BY_NAME : &[u16] = &[1,0];
3537 pub const TYPE_ID: u64 = 0xf9da_5a15_31b0_844b;
3538 }
3539}
3540
3541pub mod r_read {
3542 #[derive(Copy, Clone)]
3543 pub struct Owned(());
3544 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() } }
3545 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3546 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3547 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
3548
3549 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
3550 impl <> ::core::marker::Copy for Reader<'_,> {}
3551 impl <> ::core::clone::Clone for Reader<'_,> {
3552 fn clone(&self) -> Self { *self }
3553 }
3554
3555 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
3556 const TYPE_ID: u64 = _private::TYPE_ID;
3557 }
3558 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
3559 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
3560 Self { reader, }
3561 }
3562 }
3563
3564 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
3565 fn from(reader: Reader<'a,>) -> Self {
3566 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::<>})))
3567 }
3568 }
3569
3570 impl <> ::core::fmt::Debug for Reader<'_,> {
3571 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
3572 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
3573 }
3574 }
3575
3576 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
3577 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3578 ::core::result::Result::Ok(reader.get_struct(default)?.into())
3579 }
3580 }
3581
3582 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
3583 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
3584 self.reader
3585 }
3586 }
3587
3588 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
3589 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
3590 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
3591 }
3592 }
3593
3594 impl <'a,> Reader<'a,> {
3595 pub fn reborrow(&self) -> Reader<'_,> {
3596 Self { .. *self }
3597 }
3598
3599 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3600 self.reader.total_size()
3601 }
3602 #[inline]
3603 pub fn get_data(self) -> ::capnp::Result<::capnp::data::Reader<'a>> {
3604 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
3605 }
3606 #[inline]
3607 pub fn has_data(&self) -> bool {
3608 !self.reader.get_pointer_field(0).is_null()
3609 }
3610 }
3611
3612 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
3613 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
3614 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 1 };
3615 }
3616 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
3617 const TYPE_ID: u64 = _private::TYPE_ID;
3618 }
3619 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
3620 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
3621 Self { builder, }
3622 }
3623 }
3624
3625 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
3626 fn from(builder: Builder<'a,>) -> Self {
3627 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::<>})))
3628 }
3629 }
3630
3631 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
3632 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
3633 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
3634 }
3635 }
3636
3637 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
3638 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
3639 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
3640 }
3641 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3642 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
3643 }
3644 }
3645
3646 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
3647 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
3648 }
3649
3650 impl <'a,> Builder<'a,> {
3651 pub fn into_reader(self) -> Reader<'a,> {
3652 self.builder.into_reader().into()
3653 }
3654 pub fn reborrow(&mut self) -> Builder<'_,> {
3655 Builder { builder: self.builder.reborrow() }
3656 }
3657 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
3658 self.builder.as_reader().into()
3659 }
3660
3661 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3662 self.builder.as_reader().total_size()
3663 }
3664 #[inline]
3665 pub fn get_data(self) -> ::capnp::Result<::capnp::data::Builder<'a>> {
3666 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
3667 }
3668 #[inline]
3669 pub fn set_data(&mut self, value: ::capnp::data::Reader<'_>) {
3670 self.builder.reborrow().get_pointer_field(0).set_data(value);
3671 }
3672 #[inline]
3673 pub fn init_data(self, size: u32) -> ::capnp::data::Builder<'a> {
3674 self.builder.get_pointer_field(0).init_data(size)
3675 }
3676 #[inline]
3677 pub fn has_data(&self) -> bool {
3678 !self.builder.is_pointer_field_null(0)
3679 }
3680 }
3681
3682 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
3683 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
3684 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
3685 Self { _typeless: typeless, }
3686 }
3687 }
3688 impl Pipeline {
3689 }
3690 mod _private {
3691 pub static ENCODED_NODE: [::capnp::Word; 33] = [
3692 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
3693 ::capnp::word(157, 144, 37, 88, 248, 228, 74, 210),
3694 ::capnp::word(11, 0, 0, 0, 1, 0, 0, 0),
3695 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
3696 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
3697 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3698 ::capnp::word(200, 7, 0, 0, 232, 7, 0, 0),
3699 ::capnp::word(21, 0, 0, 0, 138, 0, 0, 0),
3700 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
3701 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3702 ::capnp::word(25, 0, 0, 0, 63, 0, 0, 0),
3703 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3704 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3705 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
3706 ::capnp::word(110, 112, 58, 82, 82, 101, 97, 100),
3707 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3708 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
3709 ::capnp::word(4, 0, 0, 0, 3, 0, 4, 0),
3710 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3711 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
3712 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3713 ::capnp::word(13, 0, 0, 0, 42, 0, 0, 0),
3714 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3715 ::capnp::word(8, 0, 0, 0, 3, 0, 1, 0),
3716 ::capnp::word(20, 0, 0, 0, 2, 0, 1, 0),
3717 ::capnp::word(100, 97, 116, 97, 0, 0, 0, 0),
3718 ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
3719 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3720 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3721 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3722 ::capnp::word(13, 0, 0, 0, 0, 0, 0, 0),
3723 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3724 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3725 ];
3726 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
3727 match index {
3728 0 => <::capnp::data::Owned as ::capnp::introspect::Introspect>::introspect(),
3729 _ => ::capnp::introspect::panic_invalid_field_index(index),
3730 }
3731 }
3732 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
3733 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
3734 }
3735 #[allow(unsafe_code)]
3736 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
3737 &ENCODED_NODE,
3738 NONUNION_MEMBERS,
3739 MEMBERS_BY_DISCRIMINANT,
3740 MEMBERS_BY_NAME
3741 )};
3742 pub static NONUNION_MEMBERS : &[u16] = &[0];
3743 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
3744 pub static MEMBERS_BY_NAME : &[u16] = &[0];
3745 pub const TYPE_ID: u64 = 0xd24a_e4f8_5825_909d;
3746 }
3747}
3748
3749pub mod r_write {
3750 #[derive(Copy, Clone)]
3751 pub struct Owned(());
3752 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() } }
3753 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3754 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3755 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
3756
3757 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
3758 impl <> ::core::marker::Copy for Reader<'_,> {}
3759 impl <> ::core::clone::Clone for Reader<'_,> {
3760 fn clone(&self) -> Self { *self }
3761 }
3762
3763 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
3764 const TYPE_ID: u64 = _private::TYPE_ID;
3765 }
3766 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
3767 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
3768 Self { reader, }
3769 }
3770 }
3771
3772 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
3773 fn from(reader: Reader<'a,>) -> Self {
3774 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::<>})))
3775 }
3776 }
3777
3778 impl <> ::core::fmt::Debug for Reader<'_,> {
3779 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
3780 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
3781 }
3782 }
3783
3784 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
3785 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3786 ::core::result::Result::Ok(reader.get_struct(default)?.into())
3787 }
3788 }
3789
3790 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
3791 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
3792 self.reader
3793 }
3794 }
3795
3796 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
3797 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
3798 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
3799 }
3800 }
3801
3802 impl <> Reader<'_,> {
3803 pub fn reborrow(&self) -> Reader<'_,> {
3804 Self { .. *self }
3805 }
3806
3807 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3808 self.reader.total_size()
3809 }
3810 #[inline]
3811 pub fn get_count(self) -> u32 {
3812 self.reader.get_data_field::<u32>(0)
3813 }
3814 }
3815
3816 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
3817 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
3818 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 0 };
3819 }
3820 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
3821 const TYPE_ID: u64 = _private::TYPE_ID;
3822 }
3823 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
3824 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
3825 Self { builder, }
3826 }
3827 }
3828
3829 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
3830 fn from(builder: Builder<'a,>) -> Self {
3831 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::<>})))
3832 }
3833 }
3834
3835 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
3836 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
3837 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
3838 }
3839 }
3840
3841 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
3842 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
3843 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
3844 }
3845 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3846 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
3847 }
3848 }
3849
3850 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
3851 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
3852 }
3853
3854 impl <'a,> Builder<'a,> {
3855 pub fn into_reader(self) -> Reader<'a,> {
3856 self.builder.into_reader().into()
3857 }
3858 pub fn reborrow(&mut self) -> Builder<'_,> {
3859 Builder { builder: self.builder.reborrow() }
3860 }
3861 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
3862 self.builder.as_reader().into()
3863 }
3864
3865 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
3866 self.builder.as_reader().total_size()
3867 }
3868 #[inline]
3869 pub fn get_count(self) -> u32 {
3870 self.builder.get_data_field::<u32>(0)
3871 }
3872 #[inline]
3873 pub fn set_count(&mut self, value: u32) {
3874 self.builder.set_data_field::<u32>(0, value);
3875 }
3876 }
3877
3878 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
3879 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
3880 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
3881 Self { _typeless: typeless, }
3882 }
3883 }
3884 impl Pipeline {
3885 }
3886 mod _private {
3887 pub static ENCODED_NODE: [::capnp::Word; 33] = [
3888 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
3889 ::capnp::word(72, 245, 6, 243, 42, 243, 87, 212),
3890 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
3891 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
3892 ::capnp::word(0, 0, 7, 0, 0, 0, 0, 0),
3893 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3894 ::capnp::word(233, 7, 0, 0, 12, 8, 0, 0),
3895 ::capnp::word(21, 0, 0, 0, 146, 0, 0, 0),
3896 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
3897 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3898 ::capnp::word(25, 0, 0, 0, 63, 0, 0, 0),
3899 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3900 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3901 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
3902 ::capnp::word(110, 112, 58, 82, 87, 114, 105, 116),
3903 ::capnp::word(101, 0, 0, 0, 0, 0, 0, 0),
3904 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
3905 ::capnp::word(4, 0, 0, 0, 3, 0, 4, 0),
3906 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3907 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
3908 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3909 ::capnp::word(13, 0, 0, 0, 50, 0, 0, 0),
3910 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3911 ::capnp::word(8, 0, 0, 0, 3, 0, 1, 0),
3912 ::capnp::word(20, 0, 0, 0, 2, 0, 1, 0),
3913 ::capnp::word(99, 111, 117, 110, 116, 0, 0, 0),
3914 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3915 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3916 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3917 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3918 ::capnp::word(8, 0, 0, 0, 0, 0, 0, 0),
3919 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3920 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
3921 ];
3922 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
3923 match index {
3924 0 => <u32 as ::capnp::introspect::Introspect>::introspect(),
3925 _ => ::capnp::introspect::panic_invalid_field_index(index),
3926 }
3927 }
3928 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
3929 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
3930 }
3931 #[allow(unsafe_code)]
3932 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
3933 &ENCODED_NODE,
3934 NONUNION_MEMBERS,
3935 MEMBERS_BY_DISCRIMINANT,
3936 MEMBERS_BY_NAME
3937 )};
3938 pub static NONUNION_MEMBERS : &[u16] = &[0];
3939 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
3940 pub static MEMBERS_BY_NAME : &[u16] = &[0];
3941 pub const TYPE_ID: u64 = 0xd457_f32a_f306_f548;
3942 }
3943}
3944
3945pub mod r_stat {
3946 #[derive(Copy, Clone)]
3947 pub struct Owned(());
3948 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() } }
3949 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3950 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
3951 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
3952
3953 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
3954 impl <> ::core::marker::Copy for Reader<'_,> {}
3955 impl <> ::core::clone::Clone for Reader<'_,> {
3956 fn clone(&self) -> Self { *self }
3957 }
3958
3959 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
3960 const TYPE_ID: u64 = _private::TYPE_ID;
3961 }
3962 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
3963 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
3964 Self { reader, }
3965 }
3966 }
3967
3968 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
3969 fn from(reader: Reader<'a,>) -> Self {
3970 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::<>})))
3971 }
3972 }
3973
3974 impl <> ::core::fmt::Debug for Reader<'_,> {
3975 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
3976 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
3977 }
3978 }
3979
3980 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
3981 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
3982 ::core::result::Result::Ok(reader.get_struct(default)?.into())
3983 }
3984 }
3985
3986 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
3987 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
3988 self.reader
3989 }
3990 }
3991
3992 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
3993 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
3994 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
3995 }
3996 }
3997
3998 impl <'a,> Reader<'a,> {
3999 pub fn reborrow(&self) -> Reader<'_,> {
4000 Self { .. *self }
4001 }
4002
4003 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4004 self.reader.total_size()
4005 }
4006 #[inline]
4007 pub fn get_stat(self) -> ::capnp::Result<crate::nine_capnp::np_stat::Reader<'a>> {
4008 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4009 }
4010 #[inline]
4011 pub fn has_stat(&self) -> bool {
4012 !self.reader.get_pointer_field(0).is_null()
4013 }
4014 }
4015
4016 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
4017 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
4018 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 1 };
4019 }
4020 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
4021 const TYPE_ID: u64 = _private::TYPE_ID;
4022 }
4023 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
4024 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
4025 Self { builder, }
4026 }
4027 }
4028
4029 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
4030 fn from(builder: Builder<'a,>) -> Self {
4031 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::<>})))
4032 }
4033 }
4034
4035 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
4036 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
4037 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
4038 }
4039 }
4040
4041 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
4042 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
4043 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
4044 }
4045 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
4046 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
4047 }
4048 }
4049
4050 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
4051 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
4052 }
4053
4054 impl <'a,> Builder<'a,> {
4055 pub fn into_reader(self) -> Reader<'a,> {
4056 self.builder.into_reader().into()
4057 }
4058 pub fn reborrow(&mut self) -> Builder<'_,> {
4059 Builder { builder: self.builder.reborrow() }
4060 }
4061 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
4062 self.builder.as_reader().into()
4063 }
4064
4065 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4066 self.builder.as_reader().total_size()
4067 }
4068 #[inline]
4069 pub fn get_stat(self) -> ::capnp::Result<crate::nine_capnp::np_stat::Builder<'a>> {
4070 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4071 }
4072 #[inline]
4073 pub fn set_stat(&mut self, value: crate::nine_capnp::np_stat::Reader<'_>) -> ::capnp::Result<()> {
4074 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4075 }
4076 #[inline]
4077 pub fn init_stat(self, ) -> crate::nine_capnp::np_stat::Builder<'a> {
4078 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4079 }
4080 #[inline]
4081 pub fn has_stat(&self) -> bool {
4082 !self.builder.is_pointer_field_null(0)
4083 }
4084 }
4085
4086 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
4087 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
4088 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
4089 Self { _typeless: typeless, }
4090 }
4091 }
4092 impl Pipeline {
4093 pub fn get_stat(&self) -> crate::nine_capnp::np_stat::Pipeline {
4094 ::capnp::capability::FromTypelessPipeline::new(self._typeless.get_pointer_field(0))
4095 }
4096 }
4097 mod _private {
4098 pub static ENCODED_NODE: [::capnp::Word; 33] = [
4099 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
4100 ::capnp::word(82, 75, 113, 236, 232, 96, 22, 208),
4101 ::capnp::word(11, 0, 0, 0, 1, 0, 0, 0),
4102 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
4103 ::capnp::word(1, 0, 7, 0, 0, 0, 0, 0),
4104 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4105 ::capnp::word(13, 8, 0, 0, 47, 8, 0, 0),
4106 ::capnp::word(21, 0, 0, 0, 138, 0, 0, 0),
4107 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
4108 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4109 ::capnp::word(25, 0, 0, 0, 63, 0, 0, 0),
4110 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4111 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4112 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
4113 ::capnp::word(110, 112, 58, 82, 83, 116, 97, 116),
4114 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4115 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
4116 ::capnp::word(4, 0, 0, 0, 3, 0, 4, 0),
4117 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4118 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
4119 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4120 ::capnp::word(13, 0, 0, 0, 42, 0, 0, 0),
4121 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4122 ::capnp::word(8, 0, 0, 0, 3, 0, 1, 0),
4123 ::capnp::word(20, 0, 0, 0, 2, 0, 1, 0),
4124 ::capnp::word(115, 116, 97, 116, 0, 0, 0, 0),
4125 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4126 ::capnp::word(186, 207, 228, 41, 117, 240, 34, 150),
4127 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4128 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4129 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4130 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4131 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4132 ];
4133 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
4134 match index {
4135 0 => <crate::nine_capnp::np_stat::Owned as ::capnp::introspect::Introspect>::introspect(),
4136 _ => ::capnp::introspect::panic_invalid_field_index(index),
4137 }
4138 }
4139 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
4140 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
4141 }
4142 #[allow(unsafe_code)]
4143 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
4144 &ENCODED_NODE,
4145 NONUNION_MEMBERS,
4146 MEMBERS_BY_DISCRIMINANT,
4147 MEMBERS_BY_NAME
4148 )};
4149 pub static NONUNION_MEMBERS : &[u16] = &[0];
4150 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
4151 pub static MEMBERS_BY_NAME : &[u16] = &[0];
4152 pub const TYPE_ID: u64 = 0xd016_60e8_ec71_4b52;
4153 }
4154}
4155
4156pub mod np_request {
4157 pub use self::Which::{Walk,Open,Read,Write,Clunk,Stat,Create,Remove,Wstat,Flush};
4158
4159 #[derive(Copy, Clone)]
4160 pub struct Owned(());
4161 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() } }
4162 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
4163 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
4164 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
4165
4166 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
4167 impl <> ::core::marker::Copy for Reader<'_,> {}
4168 impl <> ::core::clone::Clone for Reader<'_,> {
4169 fn clone(&self) -> Self { *self }
4170 }
4171
4172 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
4173 const TYPE_ID: u64 = _private::TYPE_ID;
4174 }
4175 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
4176 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
4177 Self { reader, }
4178 }
4179 }
4180
4181 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
4182 fn from(reader: Reader<'a,>) -> Self {
4183 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::<>})))
4184 }
4185 }
4186
4187 impl <> ::core::fmt::Debug for Reader<'_,> {
4188 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
4189 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
4190 }
4191 }
4192
4193 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
4194 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
4195 ::core::result::Result::Ok(reader.get_struct(default)?.into())
4196 }
4197 }
4198
4199 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
4200 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
4201 self.reader
4202 }
4203 }
4204
4205 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
4206 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
4207 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
4208 }
4209 }
4210
4211 impl <'a,> Reader<'a,> {
4212 pub fn reborrow(&self) -> Reader<'_,> {
4213 Self { .. *self }
4214 }
4215
4216 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4217 self.reader.total_size()
4218 }
4219 #[inline]
4220 pub fn has_walk(&self) -> bool {
4221 if self.reader.get_data_field::<u16>(0) != 0 { return false; }
4222 !self.reader.get_pointer_field(0).is_null()
4223 }
4224 #[inline]
4225 pub fn has_open(&self) -> bool {
4226 if self.reader.get_data_field::<u16>(0) != 1 { return false; }
4227 !self.reader.get_pointer_field(0).is_null()
4228 }
4229 #[inline]
4230 pub fn has_read(&self) -> bool {
4231 if self.reader.get_data_field::<u16>(0) != 2 { return false; }
4232 !self.reader.get_pointer_field(0).is_null()
4233 }
4234 #[inline]
4235 pub fn has_write(&self) -> bool {
4236 if self.reader.get_data_field::<u16>(0) != 3 { return false; }
4237 !self.reader.get_pointer_field(0).is_null()
4238 }
4239 #[inline]
4240 pub fn has_clunk(&self) -> bool {
4241 if self.reader.get_data_field::<u16>(0) != 4 { return false; }
4242 !self.reader.get_pointer_field(0).is_null()
4243 }
4244 #[inline]
4245 pub fn has_stat(&self) -> bool {
4246 if self.reader.get_data_field::<u16>(0) != 5 { return false; }
4247 !self.reader.get_pointer_field(0).is_null()
4248 }
4249 #[inline]
4250 pub fn has_create(&self) -> bool {
4251 if self.reader.get_data_field::<u16>(0) != 6 { return false; }
4252 !self.reader.get_pointer_field(0).is_null()
4253 }
4254 #[inline]
4255 pub fn has_remove(&self) -> bool {
4256 if self.reader.get_data_field::<u16>(0) != 7 { return false; }
4257 !self.reader.get_pointer_field(0).is_null()
4258 }
4259 #[inline]
4260 pub fn has_wstat(&self) -> bool {
4261 if self.reader.get_data_field::<u16>(0) != 8 { return false; }
4262 !self.reader.get_pointer_field(0).is_null()
4263 }
4264 #[inline]
4265 pub fn has_flush(&self) -> bool {
4266 if self.reader.get_data_field::<u16>(0) != 9 { return false; }
4267 !self.reader.get_pointer_field(0).is_null()
4268 }
4269 #[inline]
4270 pub fn which(self) -> ::core::result::Result<WhichReader<'a,>, ::capnp::NotInSchema> {
4271 match self.reader.get_data_field::<u16>(0) {
4272 0 => {
4273 ::core::result::Result::Ok(Walk(
4274 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4275 ))
4276 }
4277 1 => {
4278 ::core::result::Result::Ok(Open(
4279 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4280 ))
4281 }
4282 2 => {
4283 ::core::result::Result::Ok(Read(
4284 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4285 ))
4286 }
4287 3 => {
4288 ::core::result::Result::Ok(Write(
4289 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4290 ))
4291 }
4292 4 => {
4293 ::core::result::Result::Ok(Clunk(
4294 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4295 ))
4296 }
4297 5 => {
4298 ::core::result::Result::Ok(Stat(
4299 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4300 ))
4301 }
4302 6 => {
4303 ::core::result::Result::Ok(Create(
4304 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4305 ))
4306 }
4307 7 => {
4308 ::core::result::Result::Ok(Remove(
4309 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4310 ))
4311 }
4312 8 => {
4313 ::core::result::Result::Ok(Wstat(
4314 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4315 ))
4316 }
4317 9 => {
4318 ::core::result::Result::Ok(Flush(
4319 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4320 ))
4321 }
4322 x => ::core::result::Result::Err(::capnp::NotInSchema(x))
4323 }
4324 }
4325 }
4326
4327 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
4328 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
4329 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 1 };
4330 }
4331 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
4332 const TYPE_ID: u64 = _private::TYPE_ID;
4333 }
4334 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
4335 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
4336 Self { builder, }
4337 }
4338 }
4339
4340 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
4341 fn from(builder: Builder<'a,>) -> Self {
4342 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::<>})))
4343 }
4344 }
4345
4346 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
4347 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
4348 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
4349 }
4350 }
4351
4352 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
4353 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
4354 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
4355 }
4356 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
4357 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
4358 }
4359 }
4360
4361 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
4362 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
4363 }
4364
4365 impl <'a,> Builder<'a,> {
4366 pub fn into_reader(self) -> Reader<'a,> {
4367 self.builder.into_reader().into()
4368 }
4369 pub fn reborrow(&mut self) -> Builder<'_,> {
4370 Builder { builder: self.builder.reborrow() }
4371 }
4372 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
4373 self.builder.as_reader().into()
4374 }
4375
4376 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4377 self.builder.as_reader().total_size()
4378 }
4379 #[inline]
4380 pub fn set_walk(&mut self, value: crate::nine_capnp::np_walk::Reader<'_>) -> ::capnp::Result<()> {
4381 self.builder.set_data_field::<u16>(0, 0);
4382 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4383 }
4384 #[inline]
4385 pub fn init_walk(self, ) -> crate::nine_capnp::np_walk::Builder<'a> {
4386 self.builder.set_data_field::<u16>(0, 0);
4387 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4388 }
4389 #[inline]
4390 pub fn has_walk(&self) -> bool {
4391 if self.builder.get_data_field::<u16>(0) != 0 { return false; }
4392 !self.builder.is_pointer_field_null(0)
4393 }
4394 #[inline]
4395 pub fn set_open(&mut self, value: crate::nine_capnp::np_open::Reader<'_>) -> ::capnp::Result<()> {
4396 self.builder.set_data_field::<u16>(0, 1);
4397 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4398 }
4399 #[inline]
4400 pub fn init_open(self, ) -> crate::nine_capnp::np_open::Builder<'a> {
4401 self.builder.set_data_field::<u16>(0, 1);
4402 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4403 }
4404 #[inline]
4405 pub fn has_open(&self) -> bool {
4406 if self.builder.get_data_field::<u16>(0) != 1 { return false; }
4407 !self.builder.is_pointer_field_null(0)
4408 }
4409 #[inline]
4410 pub fn set_read(&mut self, value: crate::nine_capnp::np_read::Reader<'_>) -> ::capnp::Result<()> {
4411 self.builder.set_data_field::<u16>(0, 2);
4412 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4413 }
4414 #[inline]
4415 pub fn init_read(self, ) -> crate::nine_capnp::np_read::Builder<'a> {
4416 self.builder.set_data_field::<u16>(0, 2);
4417 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4418 }
4419 #[inline]
4420 pub fn has_read(&self) -> bool {
4421 if self.builder.get_data_field::<u16>(0) != 2 { return false; }
4422 !self.builder.is_pointer_field_null(0)
4423 }
4424 #[inline]
4425 pub fn set_write(&mut self, value: crate::nine_capnp::np_write::Reader<'_>) -> ::capnp::Result<()> {
4426 self.builder.set_data_field::<u16>(0, 3);
4427 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4428 }
4429 #[inline]
4430 pub fn init_write(self, ) -> crate::nine_capnp::np_write::Builder<'a> {
4431 self.builder.set_data_field::<u16>(0, 3);
4432 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4433 }
4434 #[inline]
4435 pub fn has_write(&self) -> bool {
4436 if self.builder.get_data_field::<u16>(0) != 3 { return false; }
4437 !self.builder.is_pointer_field_null(0)
4438 }
4439 #[inline]
4440 pub fn set_clunk(&mut self, value: crate::nine_capnp::np_clunk::Reader<'_>) -> ::capnp::Result<()> {
4441 self.builder.set_data_field::<u16>(0, 4);
4442 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4443 }
4444 #[inline]
4445 pub fn init_clunk(self, ) -> crate::nine_capnp::np_clunk::Builder<'a> {
4446 self.builder.set_data_field::<u16>(0, 4);
4447 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4448 }
4449 #[inline]
4450 pub fn has_clunk(&self) -> bool {
4451 if self.builder.get_data_field::<u16>(0) != 4 { return false; }
4452 !self.builder.is_pointer_field_null(0)
4453 }
4454 #[inline]
4455 pub fn set_stat(&mut self, value: crate::nine_capnp::np_stat_req::Reader<'_>) -> ::capnp::Result<()> {
4456 self.builder.set_data_field::<u16>(0, 5);
4457 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4458 }
4459 #[inline]
4460 pub fn init_stat(self, ) -> crate::nine_capnp::np_stat_req::Builder<'a> {
4461 self.builder.set_data_field::<u16>(0, 5);
4462 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4463 }
4464 #[inline]
4465 pub fn has_stat(&self) -> bool {
4466 if self.builder.get_data_field::<u16>(0) != 5 { return false; }
4467 !self.builder.is_pointer_field_null(0)
4468 }
4469 #[inline]
4470 pub fn set_create(&mut self, value: crate::nine_capnp::np_create::Reader<'_>) -> ::capnp::Result<()> {
4471 self.builder.set_data_field::<u16>(0, 6);
4472 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4473 }
4474 #[inline]
4475 pub fn init_create(self, ) -> crate::nine_capnp::np_create::Builder<'a> {
4476 self.builder.set_data_field::<u16>(0, 6);
4477 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4478 }
4479 #[inline]
4480 pub fn has_create(&self) -> bool {
4481 if self.builder.get_data_field::<u16>(0) != 6 { return false; }
4482 !self.builder.is_pointer_field_null(0)
4483 }
4484 #[inline]
4485 pub fn set_remove(&mut self, value: crate::nine_capnp::np_remove::Reader<'_>) -> ::capnp::Result<()> {
4486 self.builder.set_data_field::<u16>(0, 7);
4487 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4488 }
4489 #[inline]
4490 pub fn init_remove(self, ) -> crate::nine_capnp::np_remove::Builder<'a> {
4491 self.builder.set_data_field::<u16>(0, 7);
4492 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4493 }
4494 #[inline]
4495 pub fn has_remove(&self) -> bool {
4496 if self.builder.get_data_field::<u16>(0) != 7 { return false; }
4497 !self.builder.is_pointer_field_null(0)
4498 }
4499 #[inline]
4500 pub fn set_wstat(&mut self, value: crate::nine_capnp::np_wstat::Reader<'_>) -> ::capnp::Result<()> {
4501 self.builder.set_data_field::<u16>(0, 8);
4502 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4503 }
4504 #[inline]
4505 pub fn init_wstat(self, ) -> crate::nine_capnp::np_wstat::Builder<'a> {
4506 self.builder.set_data_field::<u16>(0, 8);
4507 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4508 }
4509 #[inline]
4510 pub fn has_wstat(&self) -> bool {
4511 if self.builder.get_data_field::<u16>(0) != 8 { return false; }
4512 !self.builder.is_pointer_field_null(0)
4513 }
4514 #[inline]
4515 pub fn set_flush(&mut self, value: crate::nine_capnp::np_flush::Reader<'_>) -> ::capnp::Result<()> {
4516 self.builder.set_data_field::<u16>(0, 9);
4517 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
4518 }
4519 #[inline]
4520 pub fn init_flush(self, ) -> crate::nine_capnp::np_flush::Builder<'a> {
4521 self.builder.set_data_field::<u16>(0, 9);
4522 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
4523 }
4524 #[inline]
4525 pub fn has_flush(&self) -> bool {
4526 if self.builder.get_data_field::<u16>(0) != 9 { return false; }
4527 !self.builder.is_pointer_field_null(0)
4528 }
4529 #[inline]
4530 pub fn which(self) -> ::core::result::Result<WhichBuilder<'a,>, ::capnp::NotInSchema> {
4531 match self.builder.get_data_field::<u16>(0) {
4532 0 => {
4533 ::core::result::Result::Ok(Walk(
4534 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4535 ))
4536 }
4537 1 => {
4538 ::core::result::Result::Ok(Open(
4539 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4540 ))
4541 }
4542 2 => {
4543 ::core::result::Result::Ok(Read(
4544 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4545 ))
4546 }
4547 3 => {
4548 ::core::result::Result::Ok(Write(
4549 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4550 ))
4551 }
4552 4 => {
4553 ::core::result::Result::Ok(Clunk(
4554 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4555 ))
4556 }
4557 5 => {
4558 ::core::result::Result::Ok(Stat(
4559 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4560 ))
4561 }
4562 6 => {
4563 ::core::result::Result::Ok(Create(
4564 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4565 ))
4566 }
4567 7 => {
4568 ::core::result::Result::Ok(Remove(
4569 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4570 ))
4571 }
4572 8 => {
4573 ::core::result::Result::Ok(Wstat(
4574 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4575 ))
4576 }
4577 9 => {
4578 ::core::result::Result::Ok(Flush(
4579 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
4580 ))
4581 }
4582 x => ::core::result::Result::Err(::capnp::NotInSchema(x))
4583 }
4584 }
4585 }
4586
4587 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
4588 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
4589 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
4590 Self { _typeless: typeless, }
4591 }
4592 }
4593 impl Pipeline {
4594 }
4595 mod _private {
4596 pub static ENCODED_NODE: [::capnp::Word; 168] = [
4597 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
4598 ::capnp::word(96, 144, 25, 212, 134, 203, 13, 203),
4599 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
4600 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
4601 ::capnp::word(1, 0, 7, 0, 0, 0, 10, 0),
4602 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4603 ::capnp::word(165, 8, 0, 0, 172, 9, 0, 0),
4604 ::capnp::word(21, 0, 0, 0, 170, 0, 0, 0),
4605 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
4606 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4607 ::capnp::word(25, 0, 0, 0, 55, 2, 0, 0),
4608 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4609 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4610 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
4611 ::capnp::word(110, 112, 58, 78, 112, 82, 101, 113),
4612 ::capnp::word(117, 101, 115, 116, 0, 0, 0, 0),
4613 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
4614 ::capnp::word(40, 0, 0, 0, 3, 0, 4, 0),
4615 ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
4616 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
4617 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4618 ::capnp::word(9, 1, 0, 0, 42, 0, 0, 0),
4619 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4620 ::capnp::word(4, 1, 0, 0, 3, 0, 1, 0),
4621 ::capnp::word(16, 1, 0, 0, 2, 0, 1, 0),
4622 ::capnp::word(1, 0, 254, 255, 0, 0, 0, 0),
4623 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
4624 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4625 ::capnp::word(13, 1, 0, 0, 42, 0, 0, 0),
4626 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4627 ::capnp::word(8, 1, 0, 0, 3, 0, 1, 0),
4628 ::capnp::word(20, 1, 0, 0, 2, 0, 1, 0),
4629 ::capnp::word(2, 0, 253, 255, 0, 0, 0, 0),
4630 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
4631 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4632 ::capnp::word(17, 1, 0, 0, 42, 0, 0, 0),
4633 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4634 ::capnp::word(12, 1, 0, 0, 3, 0, 1, 0),
4635 ::capnp::word(24, 1, 0, 0, 2, 0, 1, 0),
4636 ::capnp::word(3, 0, 252, 255, 0, 0, 0, 0),
4637 ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
4638 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4639 ::capnp::word(21, 1, 0, 0, 50, 0, 0, 0),
4640 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4641 ::capnp::word(16, 1, 0, 0, 3, 0, 1, 0),
4642 ::capnp::word(28, 1, 0, 0, 2, 0, 1, 0),
4643 ::capnp::word(4, 0, 251, 255, 0, 0, 0, 0),
4644 ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
4645 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4646 ::capnp::word(25, 1, 0, 0, 50, 0, 0, 0),
4647 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4648 ::capnp::word(20, 1, 0, 0, 3, 0, 1, 0),
4649 ::capnp::word(32, 1, 0, 0, 2, 0, 1, 0),
4650 ::capnp::word(5, 0, 250, 255, 0, 0, 0, 0),
4651 ::capnp::word(0, 0, 1, 0, 5, 0, 0, 0),
4652 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4653 ::capnp::word(29, 1, 0, 0, 42, 0, 0, 0),
4654 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4655 ::capnp::word(24, 1, 0, 0, 3, 0, 1, 0),
4656 ::capnp::word(36, 1, 0, 0, 2, 0, 1, 0),
4657 ::capnp::word(6, 0, 249, 255, 0, 0, 0, 0),
4658 ::capnp::word(0, 0, 1, 0, 6, 0, 0, 0),
4659 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4660 ::capnp::word(33, 1, 0, 0, 58, 0, 0, 0),
4661 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4662 ::capnp::word(28, 1, 0, 0, 3, 0, 1, 0),
4663 ::capnp::word(40, 1, 0, 0, 2, 0, 1, 0),
4664 ::capnp::word(7, 0, 248, 255, 0, 0, 0, 0),
4665 ::capnp::word(0, 0, 1, 0, 7, 0, 0, 0),
4666 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4667 ::capnp::word(37, 1, 0, 0, 58, 0, 0, 0),
4668 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4669 ::capnp::word(32, 1, 0, 0, 3, 0, 1, 0),
4670 ::capnp::word(44, 1, 0, 0, 2, 0, 1, 0),
4671 ::capnp::word(8, 0, 247, 255, 0, 0, 0, 0),
4672 ::capnp::word(0, 0, 1, 0, 8, 0, 0, 0),
4673 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4674 ::capnp::word(41, 1, 0, 0, 50, 0, 0, 0),
4675 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4676 ::capnp::word(36, 1, 0, 0, 3, 0, 1, 0),
4677 ::capnp::word(48, 1, 0, 0, 2, 0, 1, 0),
4678 ::capnp::word(9, 0, 246, 255, 0, 0, 0, 0),
4679 ::capnp::word(0, 0, 1, 0, 9, 0, 0, 0),
4680 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4681 ::capnp::word(45, 1, 0, 0, 50, 0, 0, 0),
4682 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4683 ::capnp::word(40, 1, 0, 0, 3, 0, 1, 0),
4684 ::capnp::word(52, 1, 0, 0, 2, 0, 1, 0),
4685 ::capnp::word(119, 97, 108, 107, 0, 0, 0, 0),
4686 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4687 ::capnp::word(154, 190, 187, 184, 190, 67, 173, 182),
4688 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4689 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4690 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4691 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4692 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4693 ::capnp::word(111, 112, 101, 110, 0, 0, 0, 0),
4694 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4695 ::capnp::word(52, 36, 199, 190, 128, 222, 124, 187),
4696 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4697 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4698 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4699 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4700 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4701 ::capnp::word(114, 101, 97, 100, 0, 0, 0, 0),
4702 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4703 ::capnp::word(117, 2, 50, 203, 233, 63, 46, 214),
4704 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4705 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4706 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4707 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4708 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4709 ::capnp::word(119, 114, 105, 116, 101, 0, 0, 0),
4710 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4711 ::capnp::word(80, 130, 207, 197, 243, 170, 216, 177),
4712 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4713 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4714 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4715 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4716 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4717 ::capnp::word(99, 108, 117, 110, 107, 0, 0, 0),
4718 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4719 ::capnp::word(246, 25, 124, 238, 115, 124, 75, 248),
4720 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4721 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4722 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4723 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4724 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4725 ::capnp::word(115, 116, 97, 116, 0, 0, 0, 0),
4726 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4727 ::capnp::word(54, 44, 3, 117, 207, 207, 149, 175),
4728 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4729 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4730 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4731 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4732 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4733 ::capnp::word(99, 114, 101, 97, 116, 101, 0, 0),
4734 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4735 ::capnp::word(60, 34, 103, 22, 176, 218, 26, 229),
4736 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4737 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4738 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4739 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4740 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4741 ::capnp::word(114, 101, 109, 111, 118, 101, 0, 0),
4742 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4743 ::capnp::word(251, 83, 234, 89, 208, 119, 249, 245),
4744 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4745 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4746 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4747 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4748 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4749 ::capnp::word(119, 115, 116, 97, 116, 0, 0, 0),
4750 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4751 ::capnp::word(49, 21, 45, 113, 19, 59, 48, 226),
4752 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4753 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4754 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4755 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4756 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4757 ::capnp::word(102, 108, 117, 115, 104, 0, 0, 0),
4758 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4759 ::capnp::word(235, 104, 127, 21, 175, 212, 234, 232),
4760 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4761 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4762 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
4763 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4764 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
4765 ];
4766 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
4767 match index {
4768 0 => <crate::nine_capnp::np_walk::Owned as ::capnp::introspect::Introspect>::introspect(),
4769 1 => <crate::nine_capnp::np_open::Owned as ::capnp::introspect::Introspect>::introspect(),
4770 2 => <crate::nine_capnp::np_read::Owned as ::capnp::introspect::Introspect>::introspect(),
4771 3 => <crate::nine_capnp::np_write::Owned as ::capnp::introspect::Introspect>::introspect(),
4772 4 => <crate::nine_capnp::np_clunk::Owned as ::capnp::introspect::Introspect>::introspect(),
4773 5 => <crate::nine_capnp::np_stat_req::Owned as ::capnp::introspect::Introspect>::introspect(),
4774 6 => <crate::nine_capnp::np_create::Owned as ::capnp::introspect::Introspect>::introspect(),
4775 7 => <crate::nine_capnp::np_remove::Owned as ::capnp::introspect::Introspect>::introspect(),
4776 8 => <crate::nine_capnp::np_wstat::Owned as ::capnp::introspect::Introspect>::introspect(),
4777 9 => <crate::nine_capnp::np_flush::Owned as ::capnp::introspect::Introspect>::introspect(),
4778 _ => ::capnp::introspect::panic_invalid_field_index(index),
4779 }
4780 }
4781 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
4782 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
4783 }
4784 #[allow(unsafe_code)]
4785 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
4786 &ENCODED_NODE,
4787 NONUNION_MEMBERS,
4788 MEMBERS_BY_DISCRIMINANT,
4789 MEMBERS_BY_NAME
4790 )};
4791 pub static NONUNION_MEMBERS : &[u16] = &[];
4792 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[0,1,2,3,4,5,6,7,8,9];
4793 pub static MEMBERS_BY_NAME : &[u16] = &[4,6,9,1,2,7,5,0,3,8];
4794 pub const TYPE_ID: u64 = 0xcb0d_cb86_d419_9060;
4795 }
4796 pub enum Which<A0,A1,A2,A3,A4,A5,A6,A7,A8,A9> {
4797 Walk(A0),
4798 Open(A1),
4799 Read(A2),
4800 Write(A3),
4801 Clunk(A4),
4802 Stat(A5),
4803 Create(A6),
4804 Remove(A7),
4805 Wstat(A8),
4806 Flush(A9),
4807 }
4808 pub type WhichReader<'a,> = Which<::capnp::Result<crate::nine_capnp::np_walk::Reader<'a>>,::capnp::Result<crate::nine_capnp::np_open::Reader<'a>>,::capnp::Result<crate::nine_capnp::np_read::Reader<'a>>,::capnp::Result<crate::nine_capnp::np_write::Reader<'a>>,::capnp::Result<crate::nine_capnp::np_clunk::Reader<'a>>,::capnp::Result<crate::nine_capnp::np_stat_req::Reader<'a>>,::capnp::Result<crate::nine_capnp::np_create::Reader<'a>>,::capnp::Result<crate::nine_capnp::np_remove::Reader<'a>>,::capnp::Result<crate::nine_capnp::np_wstat::Reader<'a>>,::capnp::Result<crate::nine_capnp::np_flush::Reader<'a>>>;
4809 pub type WhichBuilder<'a,> = Which<::capnp::Result<crate::nine_capnp::np_walk::Builder<'a>>,::capnp::Result<crate::nine_capnp::np_open::Builder<'a>>,::capnp::Result<crate::nine_capnp::np_read::Builder<'a>>,::capnp::Result<crate::nine_capnp::np_write::Builder<'a>>,::capnp::Result<crate::nine_capnp::np_clunk::Builder<'a>>,::capnp::Result<crate::nine_capnp::np_stat_req::Builder<'a>>,::capnp::Result<crate::nine_capnp::np_create::Builder<'a>>,::capnp::Result<crate::nine_capnp::np_remove::Builder<'a>>,::capnp::Result<crate::nine_capnp::np_wstat::Builder<'a>>,::capnp::Result<crate::nine_capnp::np_flush::Builder<'a>>>;
4810}
4811
4812pub mod np_response {
4813 pub use self::Which::{Error,Walk,Open,Read,Write,Clunk,Stat,Create,Remove,Wstat,Flush};
4814
4815 #[derive(Copy, Clone)]
4816 pub struct Owned(());
4817 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() } }
4818 impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
4819 impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
4820 impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
4821
4822 pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
4823 impl <> ::core::marker::Copy for Reader<'_,> {}
4824 impl <> ::core::clone::Clone for Reader<'_,> {
4825 fn clone(&self) -> Self { *self }
4826 }
4827
4828 impl <> ::capnp::traits::HasTypeId for Reader<'_,> {
4829 const TYPE_ID: u64 = _private::TYPE_ID;
4830 }
4831 impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
4832 fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
4833 Self { reader, }
4834 }
4835 }
4836
4837 impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
4838 fn from(reader: Reader<'a,>) -> Self {
4839 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::<>})))
4840 }
4841 }
4842
4843 impl <> ::core::fmt::Debug for Reader<'_,> {
4844 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
4845 core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
4846 }
4847 }
4848
4849 impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
4850 fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
4851 ::core::result::Result::Ok(reader.get_struct(default)?.into())
4852 }
4853 }
4854
4855 impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
4856 fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
4857 self.reader
4858 }
4859 }
4860
4861 impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
4862 fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
4863 self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
4864 }
4865 }
4866
4867 impl <'a,> Reader<'a,> {
4868 pub fn reborrow(&self) -> Reader<'_,> {
4869 Self { .. *self }
4870 }
4871
4872 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
4873 self.reader.total_size()
4874 }
4875 #[inline]
4876 pub fn has_error(&self) -> bool {
4877 if self.reader.get_data_field::<u16>(0) != 0 { return false; }
4878 !self.reader.get_pointer_field(0).is_null()
4879 }
4880 #[inline]
4881 pub fn has_walk(&self) -> bool {
4882 if self.reader.get_data_field::<u16>(0) != 1 { return false; }
4883 !self.reader.get_pointer_field(0).is_null()
4884 }
4885 #[inline]
4886 pub fn has_open(&self) -> bool {
4887 if self.reader.get_data_field::<u16>(0) != 2 { return false; }
4888 !self.reader.get_pointer_field(0).is_null()
4889 }
4890 #[inline]
4891 pub fn has_read(&self) -> bool {
4892 if self.reader.get_data_field::<u16>(0) != 3 { return false; }
4893 !self.reader.get_pointer_field(0).is_null()
4894 }
4895 #[inline]
4896 pub fn has_write(&self) -> bool {
4897 if self.reader.get_data_field::<u16>(0) != 4 { return false; }
4898 !self.reader.get_pointer_field(0).is_null()
4899 }
4900 #[inline]
4901 pub fn has_stat(&self) -> bool {
4902 if self.reader.get_data_field::<u16>(0) != 6 { return false; }
4903 !self.reader.get_pointer_field(0).is_null()
4904 }
4905 #[inline]
4906 pub fn has_create(&self) -> bool {
4907 if self.reader.get_data_field::<u16>(0) != 7 { return false; }
4908 !self.reader.get_pointer_field(0).is_null()
4909 }
4910 #[inline]
4911 pub fn which(self) -> ::core::result::Result<WhichReader<'a,>, ::capnp::NotInSchema> {
4912 match self.reader.get_data_field::<u16>(0) {
4913 0 => {
4914 ::core::result::Result::Ok(Error(
4915 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4916 ))
4917 }
4918 1 => {
4919 ::core::result::Result::Ok(Walk(
4920 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4921 ))
4922 }
4923 2 => {
4924 ::core::result::Result::Ok(Open(
4925 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4926 ))
4927 }
4928 3 => {
4929 ::core::result::Result::Ok(Read(
4930 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4931 ))
4932 }
4933 4 => {
4934 ::core::result::Result::Ok(Write(
4935 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4936 ))
4937 }
4938 5 => {
4939 ::core::result::Result::Ok(Clunk(
4940 ()
4941 ))
4942 }
4943 6 => {
4944 ::core::result::Result::Ok(Stat(
4945 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4946 ))
4947 }
4948 7 => {
4949 ::core::result::Result::Ok(Create(
4950 ::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
4951 ))
4952 }
4953 8 => {
4954 ::core::result::Result::Ok(Remove(
4955 ()
4956 ))
4957 }
4958 9 => {
4959 ::core::result::Result::Ok(Wstat(
4960 ()
4961 ))
4962 }
4963 10 => {
4964 ::core::result::Result::Ok(Flush(
4965 ()
4966 ))
4967 }
4968 x => ::core::result::Result::Err(::capnp::NotInSchema(x))
4969 }
4970 }
4971 }
4972
4973 pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
4974 impl <> ::capnp::traits::HasStructSize for Builder<'_,> {
4975 const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 1 };
4976 }
4977 impl <> ::capnp::traits::HasTypeId for Builder<'_,> {
4978 const TYPE_ID: u64 = _private::TYPE_ID;
4979 }
4980 impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
4981 fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
4982 Self { builder, }
4983 }
4984 }
4985
4986 impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
4987 fn from(builder: Builder<'a,>) -> Self {
4988 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::<>})))
4989 }
4990 }
4991
4992 impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
4993 fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
4994 self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
4995 }
4996 }
4997
4998 impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
4999 fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
5000 builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
5001 }
5002 fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
5003 ::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
5004 }
5005 }
5006
5007 impl <> ::capnp::traits::SetterInput<Owned<>> for Reader<'_,> {
5008 fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
5009 }
5010
5011 impl <'a,> Builder<'a,> {
5012 pub fn into_reader(self) -> Reader<'a,> {
5013 self.builder.into_reader().into()
5014 }
5015 pub fn reborrow(&mut self) -> Builder<'_,> {
5016 Builder { builder: self.builder.reborrow() }
5017 }
5018 pub fn reborrow_as_reader(&self) -> Reader<'_,> {
5019 self.builder.as_reader().into()
5020 }
5021
5022 pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
5023 self.builder.as_reader().total_size()
5024 }
5025 #[inline]
5026 pub fn set_error(&mut self, value: crate::common_capnp::error_info::Reader<'_>) -> ::capnp::Result<()> {
5027 self.builder.set_data_field::<u16>(0, 0);
5028 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
5029 }
5030 #[inline]
5031 pub fn init_error(self, ) -> crate::common_capnp::error_info::Builder<'a> {
5032 self.builder.set_data_field::<u16>(0, 0);
5033 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
5034 }
5035 #[inline]
5036 pub fn has_error(&self) -> bool {
5037 if self.builder.get_data_field::<u16>(0) != 0 { return false; }
5038 !self.builder.is_pointer_field_null(0)
5039 }
5040 #[inline]
5041 pub fn set_walk(&mut self, value: crate::nine_capnp::r_walk::Reader<'_>) -> ::capnp::Result<()> {
5042 self.builder.set_data_field::<u16>(0, 1);
5043 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
5044 }
5045 #[inline]
5046 pub fn init_walk(self, ) -> crate::nine_capnp::r_walk::Builder<'a> {
5047 self.builder.set_data_field::<u16>(0, 1);
5048 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
5049 }
5050 #[inline]
5051 pub fn has_walk(&self) -> bool {
5052 if self.builder.get_data_field::<u16>(0) != 1 { return false; }
5053 !self.builder.is_pointer_field_null(0)
5054 }
5055 #[inline]
5056 pub fn set_open(&mut self, value: crate::nine_capnp::r_open::Reader<'_>) -> ::capnp::Result<()> {
5057 self.builder.set_data_field::<u16>(0, 2);
5058 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
5059 }
5060 #[inline]
5061 pub fn init_open(self, ) -> crate::nine_capnp::r_open::Builder<'a> {
5062 self.builder.set_data_field::<u16>(0, 2);
5063 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
5064 }
5065 #[inline]
5066 pub fn has_open(&self) -> bool {
5067 if self.builder.get_data_field::<u16>(0) != 2 { return false; }
5068 !self.builder.is_pointer_field_null(0)
5069 }
5070 #[inline]
5071 pub fn set_read(&mut self, value: crate::nine_capnp::r_read::Reader<'_>) -> ::capnp::Result<()> {
5072 self.builder.set_data_field::<u16>(0, 3);
5073 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
5074 }
5075 #[inline]
5076 pub fn init_read(self, ) -> crate::nine_capnp::r_read::Builder<'a> {
5077 self.builder.set_data_field::<u16>(0, 3);
5078 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
5079 }
5080 #[inline]
5081 pub fn has_read(&self) -> bool {
5082 if self.builder.get_data_field::<u16>(0) != 3 { return false; }
5083 !self.builder.is_pointer_field_null(0)
5084 }
5085 #[inline]
5086 pub fn set_write(&mut self, value: crate::nine_capnp::r_write::Reader<'_>) -> ::capnp::Result<()> {
5087 self.builder.set_data_field::<u16>(0, 4);
5088 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
5089 }
5090 #[inline]
5091 pub fn init_write(self, ) -> crate::nine_capnp::r_write::Builder<'a> {
5092 self.builder.set_data_field::<u16>(0, 4);
5093 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
5094 }
5095 #[inline]
5096 pub fn has_write(&self) -> bool {
5097 if self.builder.get_data_field::<u16>(0) != 4 { return false; }
5098 !self.builder.is_pointer_field_null(0)
5099 }
5100 #[inline]
5101 pub fn set_clunk(&mut self, _value: ()) {
5102 self.builder.set_data_field::<u16>(0, 5);
5103 }
5104 #[inline]
5105 pub fn set_stat(&mut self, value: crate::nine_capnp::r_stat::Reader<'_>) -> ::capnp::Result<()> {
5106 self.builder.set_data_field::<u16>(0, 6);
5107 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
5108 }
5109 #[inline]
5110 pub fn init_stat(self, ) -> crate::nine_capnp::r_stat::Builder<'a> {
5111 self.builder.set_data_field::<u16>(0, 6);
5112 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
5113 }
5114 #[inline]
5115 pub fn has_stat(&self) -> bool {
5116 if self.builder.get_data_field::<u16>(0) != 6 { return false; }
5117 !self.builder.is_pointer_field_null(0)
5118 }
5119 #[inline]
5120 pub fn set_create(&mut self, value: crate::nine_capnp::r_open::Reader<'_>) -> ::capnp::Result<()> {
5121 self.builder.set_data_field::<u16>(0, 7);
5122 ::capnp::traits::SetterInput::set_pointer_builder(self.builder.reborrow().get_pointer_field(0), value, false)
5123 }
5124 #[inline]
5125 pub fn init_create(self, ) -> crate::nine_capnp::r_open::Builder<'a> {
5126 self.builder.set_data_field::<u16>(0, 7);
5127 ::capnp::traits::FromPointerBuilder::init_pointer(self.builder.get_pointer_field(0), 0)
5128 }
5129 #[inline]
5130 pub fn has_create(&self) -> bool {
5131 if self.builder.get_data_field::<u16>(0) != 7 { return false; }
5132 !self.builder.is_pointer_field_null(0)
5133 }
5134 #[inline]
5135 pub fn set_remove(&mut self, _value: ()) {
5136 self.builder.set_data_field::<u16>(0, 8);
5137 }
5138 #[inline]
5139 pub fn set_wstat(&mut self, _value: ()) {
5140 self.builder.set_data_field::<u16>(0, 9);
5141 }
5142 #[inline]
5143 pub fn set_flush(&mut self, _value: ()) {
5144 self.builder.set_data_field::<u16>(0, 10);
5145 }
5146 #[inline]
5147 pub fn which(self) -> ::core::result::Result<WhichBuilder<'a,>, ::capnp::NotInSchema> {
5148 match self.builder.get_data_field::<u16>(0) {
5149 0 => {
5150 ::core::result::Result::Ok(Error(
5151 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
5152 ))
5153 }
5154 1 => {
5155 ::core::result::Result::Ok(Walk(
5156 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
5157 ))
5158 }
5159 2 => {
5160 ::core::result::Result::Ok(Open(
5161 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
5162 ))
5163 }
5164 3 => {
5165 ::core::result::Result::Ok(Read(
5166 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
5167 ))
5168 }
5169 4 => {
5170 ::core::result::Result::Ok(Write(
5171 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
5172 ))
5173 }
5174 5 => {
5175 ::core::result::Result::Ok(Clunk(
5176 ()
5177 ))
5178 }
5179 6 => {
5180 ::core::result::Result::Ok(Stat(
5181 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
5182 ))
5183 }
5184 7 => {
5185 ::core::result::Result::Ok(Create(
5186 ::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
5187 ))
5188 }
5189 8 => {
5190 ::core::result::Result::Ok(Remove(
5191 ()
5192 ))
5193 }
5194 9 => {
5195 ::core::result::Result::Ok(Wstat(
5196 ()
5197 ))
5198 }
5199 10 => {
5200 ::core::result::Result::Ok(Flush(
5201 ()
5202 ))
5203 }
5204 x => ::core::result::Result::Err(::capnp::NotInSchema(x))
5205 }
5206 }
5207 }
5208
5209 pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
5210 impl ::capnp::capability::FromTypelessPipeline for Pipeline {
5211 fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
5212 Self { _typeless: typeless, }
5213 }
5214 }
5215 impl Pipeline {
5216 }
5217 mod _private {
5218 pub static ENCODED_NODE: [::capnp::Word; 183] = [
5219 ::capnp::word(0, 0, 0, 0, 6, 0, 6, 0),
5220 ::capnp::word(56, 231, 207, 104, 251, 167, 191, 181),
5221 ::capnp::word(11, 0, 0, 0, 1, 0, 1, 0),
5222 ::capnp::word(223, 97, 123, 24, 173, 212, 216, 221),
5223 ::capnp::word(1, 0, 7, 0, 0, 0, 11, 0),
5224 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5225 ::capnp::word(174, 9, 0, 0, 184, 10, 0, 0),
5226 ::capnp::word(21, 0, 0, 0, 178, 0, 0, 0),
5227 ::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
5228 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5229 ::capnp::word(25, 0, 0, 0, 111, 2, 0, 0),
5230 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5231 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5232 ::capnp::word(110, 105, 110, 101, 46, 99, 97, 112),
5233 ::capnp::word(110, 112, 58, 78, 112, 82, 101, 115),
5234 ::capnp::word(112, 111, 110, 115, 101, 0, 0, 0),
5235 ::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
5236 ::capnp::word(44, 0, 0, 0, 3, 0, 4, 0),
5237 ::capnp::word(0, 0, 255, 255, 0, 0, 0, 0),
5238 ::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
5239 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5240 ::capnp::word(37, 1, 0, 0, 50, 0, 0, 0),
5241 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5242 ::capnp::word(32, 1, 0, 0, 3, 0, 1, 0),
5243 ::capnp::word(44, 1, 0, 0, 2, 0, 1, 0),
5244 ::capnp::word(1, 0, 254, 255, 0, 0, 0, 0),
5245 ::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
5246 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5247 ::capnp::word(41, 1, 0, 0, 42, 0, 0, 0),
5248 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5249 ::capnp::word(36, 1, 0, 0, 3, 0, 1, 0),
5250 ::capnp::word(48, 1, 0, 0, 2, 0, 1, 0),
5251 ::capnp::word(2, 0, 253, 255, 0, 0, 0, 0),
5252 ::capnp::word(0, 0, 1, 0, 2, 0, 0, 0),
5253 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5254 ::capnp::word(45, 1, 0, 0, 42, 0, 0, 0),
5255 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5256 ::capnp::word(40, 1, 0, 0, 3, 0, 1, 0),
5257 ::capnp::word(52, 1, 0, 0, 2, 0, 1, 0),
5258 ::capnp::word(3, 0, 252, 255, 0, 0, 0, 0),
5259 ::capnp::word(0, 0, 1, 0, 3, 0, 0, 0),
5260 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5261 ::capnp::word(49, 1, 0, 0, 42, 0, 0, 0),
5262 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5263 ::capnp::word(44, 1, 0, 0, 3, 0, 1, 0),
5264 ::capnp::word(56, 1, 0, 0, 2, 0, 1, 0),
5265 ::capnp::word(4, 0, 251, 255, 0, 0, 0, 0),
5266 ::capnp::word(0, 0, 1, 0, 4, 0, 0, 0),
5267 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5268 ::capnp::word(53, 1, 0, 0, 50, 0, 0, 0),
5269 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5270 ::capnp::word(48, 1, 0, 0, 3, 0, 1, 0),
5271 ::capnp::word(60, 1, 0, 0, 2, 0, 1, 0),
5272 ::capnp::word(5, 0, 250, 255, 0, 0, 0, 0),
5273 ::capnp::word(0, 0, 1, 0, 5, 0, 0, 0),
5274 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5275 ::capnp::word(57, 1, 0, 0, 50, 0, 0, 0),
5276 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5277 ::capnp::word(52, 1, 0, 0, 3, 0, 1, 0),
5278 ::capnp::word(64, 1, 0, 0, 2, 0, 1, 0),
5279 ::capnp::word(6, 0, 249, 255, 0, 0, 0, 0),
5280 ::capnp::word(0, 0, 1, 0, 6, 0, 0, 0),
5281 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5282 ::capnp::word(61, 1, 0, 0, 42, 0, 0, 0),
5283 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5284 ::capnp::word(56, 1, 0, 0, 3, 0, 1, 0),
5285 ::capnp::word(68, 1, 0, 0, 2, 0, 1, 0),
5286 ::capnp::word(7, 0, 248, 255, 0, 0, 0, 0),
5287 ::capnp::word(0, 0, 1, 0, 7, 0, 0, 0),
5288 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5289 ::capnp::word(65, 1, 0, 0, 58, 0, 0, 0),
5290 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5291 ::capnp::word(60, 1, 0, 0, 3, 0, 1, 0),
5292 ::capnp::word(72, 1, 0, 0, 2, 0, 1, 0),
5293 ::capnp::word(8, 0, 247, 255, 0, 0, 0, 0),
5294 ::capnp::word(0, 0, 1, 0, 8, 0, 0, 0),
5295 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5296 ::capnp::word(69, 1, 0, 0, 58, 0, 0, 0),
5297 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5298 ::capnp::word(64, 1, 0, 0, 3, 0, 1, 0),
5299 ::capnp::word(76, 1, 0, 0, 2, 0, 1, 0),
5300 ::capnp::word(9, 0, 246, 255, 0, 0, 0, 0),
5301 ::capnp::word(0, 0, 1, 0, 9, 0, 0, 0),
5302 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5303 ::capnp::word(73, 1, 0, 0, 50, 0, 0, 0),
5304 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5305 ::capnp::word(68, 1, 0, 0, 3, 0, 1, 0),
5306 ::capnp::word(80, 1, 0, 0, 2, 0, 1, 0),
5307 ::capnp::word(10, 0, 245, 255, 0, 0, 0, 0),
5308 ::capnp::word(0, 0, 1, 0, 10, 0, 0, 0),
5309 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5310 ::capnp::word(77, 1, 0, 0, 50, 0, 0, 0),
5311 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5312 ::capnp::word(72, 1, 0, 0, 3, 0, 1, 0),
5313 ::capnp::word(84, 1, 0, 0, 2, 0, 1, 0),
5314 ::capnp::word(101, 114, 114, 111, 114, 0, 0, 0),
5315 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5316 ::capnp::word(70, 172, 17, 77, 53, 30, 245, 190),
5317 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5318 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5319 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5320 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5321 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5322 ::capnp::word(119, 97, 108, 107, 0, 0, 0, 0),
5323 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5324 ::capnp::word(241, 158, 191, 86, 253, 230, 129, 202),
5325 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5326 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5327 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5328 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5329 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5330 ::capnp::word(111, 112, 101, 110, 0, 0, 0, 0),
5331 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5332 ::capnp::word(75, 132, 176, 49, 21, 90, 218, 249),
5333 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5334 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5335 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5336 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5337 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5338 ::capnp::word(114, 101, 97, 100, 0, 0, 0, 0),
5339 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5340 ::capnp::word(157, 144, 37, 88, 248, 228, 74, 210),
5341 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5342 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5343 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5344 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5345 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5346 ::capnp::word(119, 114, 105, 116, 101, 0, 0, 0),
5347 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5348 ::capnp::word(72, 245, 6, 243, 42, 243, 87, 212),
5349 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5350 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5351 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5352 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5353 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5354 ::capnp::word(99, 108, 117, 110, 107, 0, 0, 0),
5355 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5356 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5357 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5358 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5359 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5360 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5361 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5362 ::capnp::word(115, 116, 97, 116, 0, 0, 0, 0),
5363 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5364 ::capnp::word(82, 75, 113, 236, 232, 96, 22, 208),
5365 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5366 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5367 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5368 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5369 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5370 ::capnp::word(99, 114, 101, 97, 116, 101, 0, 0),
5371 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5372 ::capnp::word(75, 132, 176, 49, 21, 90, 218, 249),
5373 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5374 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5375 ::capnp::word(16, 0, 0, 0, 0, 0, 0, 0),
5376 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5377 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5378 ::capnp::word(114, 101, 109, 111, 118, 101, 0, 0),
5379 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5380 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5381 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5382 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5383 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5384 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5385 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5386 ::capnp::word(119, 115, 116, 97, 116, 0, 0, 0),
5387 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5388 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5389 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5390 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5391 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5392 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5393 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5394 ::capnp::word(102, 108, 117, 115, 104, 0, 0, 0),
5395 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5396 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5397 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5398 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5399 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5400 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5401 ::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
5402 ];
5403 pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
5404 match index {
5405 0 => <crate::common_capnp::error_info::Owned as ::capnp::introspect::Introspect>::introspect(),
5406 1 => <crate::nine_capnp::r_walk::Owned as ::capnp::introspect::Introspect>::introspect(),
5407 2 => <crate::nine_capnp::r_open::Owned as ::capnp::introspect::Introspect>::introspect(),
5408 3 => <crate::nine_capnp::r_read::Owned as ::capnp::introspect::Introspect>::introspect(),
5409 4 => <crate::nine_capnp::r_write::Owned as ::capnp::introspect::Introspect>::introspect(),
5410 5 => <() as ::capnp::introspect::Introspect>::introspect(),
5411 6 => <crate::nine_capnp::r_stat::Owned as ::capnp::introspect::Introspect>::introspect(),
5412 7 => <crate::nine_capnp::r_open::Owned as ::capnp::introspect::Introspect>::introspect(),
5413 8 => <() as ::capnp::introspect::Introspect>::introspect(),
5414 9 => <() as ::capnp::introspect::Introspect>::introspect(),
5415 10 => <() as ::capnp::introspect::Introspect>::introspect(),
5416 _ => ::capnp::introspect::panic_invalid_field_index(index),
5417 }
5418 }
5419 pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
5420 ::capnp::introspect::panic_invalid_annotation_indices(child_index, index)
5421 }
5422 #[allow(unsafe_code)]
5423 pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = unsafe {::capnp::introspect::RawStructSchema::new(
5424 &ENCODED_NODE,
5425 NONUNION_MEMBERS,
5426 MEMBERS_BY_DISCRIMINANT,
5427 MEMBERS_BY_NAME
5428 )};
5429 pub static NONUNION_MEMBERS : &[u16] = &[];
5430 pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[0,1,2,3,4,5,6,7,8,9,10];
5431 pub static MEMBERS_BY_NAME : &[u16] = &[5,7,0,10,2,3,8,6,1,4,9];
5432 pub const TYPE_ID: u64 = 0xb5bf_a7fb_68cf_e738;
5433 }
5434 pub enum Which<A0,A1,A2,A3,A4,A5,A6> {
5435 Error(A0),
5436 Walk(A1),
5437 Open(A2),
5438 Read(A3),
5439 Write(A4),
5440 Clunk(()),
5441 Stat(A5),
5442 Create(A6),
5443 Remove(()),
5444 Wstat(()),
5445 Flush(()),
5446 }
5447 pub type WhichReader<'a,> = Which<::capnp::Result<crate::common_capnp::error_info::Reader<'a>>,::capnp::Result<crate::nine_capnp::r_walk::Reader<'a>>,::capnp::Result<crate::nine_capnp::r_open::Reader<'a>>,::capnp::Result<crate::nine_capnp::r_read::Reader<'a>>,::capnp::Result<crate::nine_capnp::r_write::Reader<'a>>,::capnp::Result<crate::nine_capnp::r_stat::Reader<'a>>,::capnp::Result<crate::nine_capnp::r_open::Reader<'a>>>;
5448 pub type WhichBuilder<'a,> = Which<::capnp::Result<crate::common_capnp::error_info::Builder<'a>>,::capnp::Result<crate::nine_capnp::r_walk::Builder<'a>>,::capnp::Result<crate::nine_capnp::r_open::Builder<'a>>,::capnp::Result<crate::nine_capnp::r_read::Builder<'a>>,::capnp::Result<crate::nine_capnp::r_write::Builder<'a>>,::capnp::Result<crate::nine_capnp::r_stat::Builder<'a>>,::capnp::Result<crate::nine_capnp::r_open::Builder<'a>>>;
5449}