|
|
@ -2,100 +2,63 @@
|
|
|
|
// DO NOT EDIT.
|
|
|
|
// DO NOT EDIT.
|
|
|
|
// source: models.capnp
|
|
|
|
// source: models.capnp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pub mod log_event {
|
|
|
|
pub mod log_event {
|
|
|
|
#[derive(Copy, Clone)]
|
|
|
|
#[derive(Copy, Clone)]
|
|
|
|
pub struct Owned(());
|
|
|
|
pub struct Owned(());
|
|
|
|
impl ::capnp::introspect::Introspect for Owned {
|
|
|
|
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() } }
|
|
|
|
fn introspect() -> ::capnp::introspect::Type {
|
|
|
|
impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
|
|
|
|
::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
|
|
|
|
impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
|
|
|
|
generic: &_private::RAW_SCHEMA,
|
|
|
|
impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
|
|
|
|
field_types: _private::get_field_types,
|
|
|
|
|
|
|
|
annotation_types: _private::get_annotation_types,
|
|
|
|
pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
|
|
|
|
})
|
|
|
|
impl <'a,> ::core::marker::Copy for Reader<'a,> {}
|
|
|
|
.into()
|
|
|
|
impl <'a,> ::core::clone::Clone for Reader<'a,> {
|
|
|
|
}
|
|
|
|
fn clone(&self) -> Self { *self }
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::capnp::traits::Owned for Owned {
|
|
|
|
|
|
|
|
type Reader<'a> = Reader<'a>;
|
|
|
|
|
|
|
|
type Builder<'a> = Builder<'a>;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::capnp::traits::OwnedStruct for Owned {
|
|
|
|
|
|
|
|
type Reader<'a> = Reader<'a>;
|
|
|
|
|
|
|
|
type Builder<'a> = Builder<'a>;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::capnp::traits::Pipelined for Owned {
|
|
|
|
|
|
|
|
type Pipeline = Pipeline;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
|
|
|
|
reader: ::capnp::private::layout::StructReader<'a>,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl<'a> ::core::marker::Copy for Reader<'a> {}
|
|
|
|
|
|
|
|
impl<'a> ::core::clone::Clone for Reader<'a> {
|
|
|
|
|
|
|
|
fn clone(&self) -> Self {
|
|
|
|
|
|
|
|
*self
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::HasTypeId for Reader<'a> {
|
|
|
|
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
|
|
|
|
impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
|
|
|
|
fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
|
|
|
|
fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
|
|
|
|
Self { reader }
|
|
|
|
Self { reader, }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
|
|
|
|
impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
|
|
|
|
fn from(reader: Reader<'a>) -> Self {
|
|
|
|
fn from(reader: Reader<'a,>) -> Self {
|
|
|
|
Self::Struct(::capnp::dynamic_struct::Reader::new(
|
|
|
|
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::<>})))
|
|
|
|
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,
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::core::fmt::Debug for Reader<'a> {
|
|
|
|
impl <'a,> ::core::fmt::Debug for Reader<'a,> {
|
|
|
|
fn fmt(
|
|
|
|
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
|
|
|
|
&self,
|
|
|
|
core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
|
|
|
|
f: &mut ::core::fmt::Formatter<'_>,
|
|
|
|
|
|
|
|
) -> ::core::result::Result<(), ::core::fmt::Error> {
|
|
|
|
|
|
|
|
core::fmt::Debug::fmt(
|
|
|
|
|
|
|
|
&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
|
|
|
|
|
|
|
|
f,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
|
|
|
|
fn get_from_pointer(
|
|
|
|
fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
|
|
|
|
reader: &::capnp::private::layout::PointerReader<'a>,
|
|
|
|
|
|
|
|
default: ::core::option::Option<&'a [::capnp::Word]>,
|
|
|
|
|
|
|
|
) -> ::capnp::Result<Self> {
|
|
|
|
|
|
|
|
::core::result::Result::Ok(reader.get_struct(default)?.into())
|
|
|
|
::core::result::Result::Ok(reader.get_struct(default)?.into())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
|
|
|
|
fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
|
|
|
|
fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
|
|
|
|
self.reader
|
|
|
|
self.reader
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
|
|
|
|
fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
|
|
|
|
fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
|
|
|
|
self.reader
|
|
|
|
self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
|
|
|
|
.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> Reader<'a> {
|
|
|
|
impl <'a,> Reader<'a,> {
|
|
|
|
pub fn reborrow(&self) -> Reader<'_> {
|
|
|
|
pub fn reborrow(&self) -> Reader<'_,> {
|
|
|
|
Self { ..*self }
|
|
|
|
Self { .. *self }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
|
|
|
|
pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
|
|
|
@ -103,10 +66,7 @@ pub mod log_event {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn get_id(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
pub fn get_id(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
|
|
|
|
&self.reader.get_pointer_field(0),
|
|
|
|
|
|
|
|
::core::option::Option::None,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn has_id(&self) -> bool {
|
|
|
|
pub fn has_id(&self) -> bool {
|
|
|
@ -114,10 +74,7 @@ pub mod log_event {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn get_author(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
pub fn get_author(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
|
|
|
|
&self.reader.get_pointer_field(1),
|
|
|
|
|
|
|
|
::core::option::Option::None,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn has_author(&self) -> bool {
|
|
|
|
pub fn has_author(&self) -> bool {
|
|
|
@ -125,10 +82,7 @@ pub mod log_event {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn get_content(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
pub fn get_content(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(2), ::core::option::Option::None)
|
|
|
|
&self.reader.get_pointer_field(2),
|
|
|
|
|
|
|
|
::core::option::Option::None,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn has_content(&self) -> bool {
|
|
|
|
pub fn has_content(&self) -> bool {
|
|
|
@ -140,86 +94,52 @@ pub mod log_event {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Builder<'a> {
|
|
|
|
pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
|
|
|
|
builder: ::capnp::private::layout::StructBuilder<'a>,
|
|
|
|
impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
|
|
|
|
|
|
|
|
const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 1, pointers: 3 };
|
|
|
|
}
|
|
|
|
}
|
|
|
|
impl<'a> ::capnp::traits::HasStructSize for Builder<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
|
|
|
|
const STRUCT_SIZE: ::capnp::private::layout::StructSize =
|
|
|
|
|
|
|
|
::capnp::private::layout::StructSize {
|
|
|
|
|
|
|
|
data: 1,
|
|
|
|
|
|
|
|
pointers: 3,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::HasTypeId for Builder<'a> {
|
|
|
|
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
|
|
|
|
impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
|
|
|
|
fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
|
|
|
|
fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
|
|
|
|
Self { builder }
|
|
|
|
Self { builder, }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
|
|
|
|
impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
|
|
|
|
fn from(builder: Builder<'a>) -> Self {
|
|
|
|
fn from(builder: Builder<'a,>) -> Self {
|
|
|
|
Self::Struct(::capnp::dynamic_struct::Builder::new(
|
|
|
|
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::<>})))
|
|
|
|
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,
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
|
|
|
|
fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
|
|
|
|
fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
|
|
|
|
self.builder
|
|
|
|
self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
|
|
|
|
.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
|
|
|
|
fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
|
|
|
|
fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
|
|
|
|
builder
|
|
|
|
builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
|
|
|
|
.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
|
|
|
|
|
|
|
|
.into()
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fn get_from_pointer(
|
|
|
|
fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
|
|
|
|
builder: ::capnp::private::layout::PointerBuilder<'a>,
|
|
|
|
::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
|
|
|
|
default: ::core::option::Option<&'a [::capnp::Word]>,
|
|
|
|
|
|
|
|
) -> ::capnp::Result<Self> {
|
|
|
|
|
|
|
|
::core::result::Result::Ok(
|
|
|
|
|
|
|
|
builder
|
|
|
|
|
|
|
|
.get_struct(
|
|
|
|
|
|
|
|
<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
|
|
|
|
|
|
|
|
default,
|
|
|
|
|
|
|
|
)?
|
|
|
|
|
|
|
|
.into(),
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::SetPointerBuilder for Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::SetPointerBuilder for Reader<'a,> {
|
|
|
|
fn set_pointer_builder(
|
|
|
|
fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
|
|
|
|
mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
|
|
|
|
|
|
|
|
value: Self,
|
|
|
|
|
|
|
|
canonicalize: bool,
|
|
|
|
|
|
|
|
) -> ::capnp::Result<()> {
|
|
|
|
|
|
|
|
pointer.set_struct(&value.reader, canonicalize)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> Builder<'a> {
|
|
|
|
impl <'a,> Builder<'a,> {
|
|
|
|
pub fn into_reader(self) -> Reader<'a> {
|
|
|
|
pub fn into_reader(self) -> Reader<'a,> {
|
|
|
|
self.builder.into_reader().into()
|
|
|
|
self.builder.into_reader().into()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub fn reborrow(&mut self) -> Builder<'_> {
|
|
|
|
pub fn reborrow(&mut self) -> Builder<'_,> {
|
|
|
|
Builder {
|
|
|
|
Builder { builder: self.builder.reborrow() }
|
|
|
|
builder: self.builder.reborrow(),
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub fn reborrow_as_reader(&self) -> Reader<'_,> {
|
|
|
|
pub fn reborrow_as_reader(&self) -> Reader<'_> {
|
|
|
|
|
|
|
|
self.builder.as_reader().into()
|
|
|
|
self.builder.as_reader().into()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -228,10 +148,7 @@ pub mod log_event {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn get_id(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
pub fn get_id(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
|
|
|
|
self.builder.get_pointer_field(0),
|
|
|
|
|
|
|
|
::core::option::Option::None,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn set_id(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
|
pub fn set_id(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
@ -247,10 +164,7 @@ pub mod log_event {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn get_author(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
pub fn get_author(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
|
|
|
|
self.builder.get_pointer_field(1),
|
|
|
|
|
|
|
|
::core::option::Option::None,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn set_author(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
|
pub fn set_author(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
@ -266,10 +180,7 @@ pub mod log_event {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn get_content(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
pub fn get_content(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(2), ::core::option::Option::None)
|
|
|
|
self.builder.get_pointer_field(2),
|
|
|
|
|
|
|
|
::core::option::Option::None,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn set_content(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
|
pub fn set_content(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
@ -293,17 +204,14 @@ pub mod log_event {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Pipeline {
|
|
|
|
pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
|
|
|
|
_typeless: ::capnp::any_pointer::Pipeline,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::capnp::capability::FromTypelessPipeline for Pipeline {
|
|
|
|
impl ::capnp::capability::FromTypelessPipeline for Pipeline {
|
|
|
|
fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
|
|
|
|
fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
|
|
|
|
Self {
|
|
|
|
Self { _typeless: typeless, }
|
|
|
|
_typeless: typeless,
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Pipeline {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
impl Pipeline {}
|
|
|
|
|
|
|
|
mod _private {
|
|
|
|
mod _private {
|
|
|
|
pub static ENCODED_NODE: [::capnp::Word; 78] = [
|
|
|
|
pub static ENCODED_NODE: [::capnp::Word; 78] = [
|
|
|
|
::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
|
|
|
|
::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
|
|
|
@ -394,20 +302,16 @@ pub mod log_event {
|
|
|
|
_ => panic!("invalid field index {}", index),
|
|
|
|
_ => panic!("invalid field index {}", index),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub fn get_annotation_types(
|
|
|
|
pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
|
|
|
|
child_index: Option<u16>,
|
|
|
|
|
|
|
|
index: u32,
|
|
|
|
|
|
|
|
) -> ::capnp::introspect::Type {
|
|
|
|
|
|
|
|
panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
|
|
|
|
panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
|
|
|
|
pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
|
|
|
|
::capnp::introspect::RawStructSchema {
|
|
|
|
|
|
|
|
encoded_node: &ENCODED_NODE,
|
|
|
|
encoded_node: &ENCODED_NODE,
|
|
|
|
nonunion_members: NONUNION_MEMBERS,
|
|
|
|
nonunion_members: NONUNION_MEMBERS,
|
|
|
|
members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
|
|
|
|
members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
pub static NONUNION_MEMBERS: &[u16] = &[0, 1, 2, 3];
|
|
|
|
pub static NONUNION_MEMBERS : &[u16] = &[0,1,2,3];
|
|
|
|
pub static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
|
|
|
|
pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
|
|
|
|
pub const TYPE_ID: u64 = 0xe78f_0c5b_590e_1932;
|
|
|
|
pub const TYPE_ID: u64 = 0xe78f_0c5b_590e_1932;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -415,97 +319,59 @@ pub mod log_event {
|
|
|
|
pub mod agent {
|
|
|
|
pub mod agent {
|
|
|
|
#[derive(Copy, Clone)]
|
|
|
|
#[derive(Copy, Clone)]
|
|
|
|
pub struct Owned(());
|
|
|
|
pub struct Owned(());
|
|
|
|
impl ::capnp::introspect::Introspect for Owned {
|
|
|
|
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() } }
|
|
|
|
fn introspect() -> ::capnp::introspect::Type {
|
|
|
|
impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
|
|
|
|
::capnp::introspect::TypeVariant::Struct(::capnp::introspect::RawBrandedStructSchema {
|
|
|
|
impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
|
|
|
|
generic: &_private::RAW_SCHEMA,
|
|
|
|
impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
|
|
|
|
field_types: _private::get_field_types,
|
|
|
|
|
|
|
|
annotation_types: _private::get_annotation_types,
|
|
|
|
pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
|
|
|
|
})
|
|
|
|
impl <'a,> ::core::marker::Copy for Reader<'a,> {}
|
|
|
|
.into()
|
|
|
|
impl <'a,> ::core::clone::Clone for Reader<'a,> {
|
|
|
|
}
|
|
|
|
fn clone(&self) -> Self { *self }
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::capnp::traits::Owned for Owned {
|
|
|
|
|
|
|
|
type Reader<'a> = Reader<'a>;
|
|
|
|
|
|
|
|
type Builder<'a> = Builder<'a>;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::capnp::traits::OwnedStruct for Owned {
|
|
|
|
|
|
|
|
type Reader<'a> = Reader<'a>;
|
|
|
|
|
|
|
|
type Builder<'a> = Builder<'a>;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::capnp::traits::Pipelined for Owned {
|
|
|
|
|
|
|
|
type Pipeline = Pipeline;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
|
|
|
|
reader: ::capnp::private::layout::StructReader<'a>,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl<'a> ::core::marker::Copy for Reader<'a> {}
|
|
|
|
|
|
|
|
impl<'a> ::core::clone::Clone for Reader<'a> {
|
|
|
|
|
|
|
|
fn clone(&self) -> Self {
|
|
|
|
|
|
|
|
*self
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::HasTypeId for Reader<'a> {
|
|
|
|
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
impl<'a> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a> {
|
|
|
|
impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
|
|
|
|
fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
|
|
|
|
fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
|
|
|
|
Self { reader }
|
|
|
|
Self { reader, }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::core::convert::From<Reader<'a>> for ::capnp::dynamic_value::Reader<'a> {
|
|
|
|
impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
|
|
|
|
fn from(reader: Reader<'a>) -> Self {
|
|
|
|
fn from(reader: Reader<'a,>) -> Self {
|
|
|
|
Self::Struct(::capnp::dynamic_struct::Reader::new(
|
|
|
|
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::<>})))
|
|
|
|
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,
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::core::fmt::Debug for Reader<'a> {
|
|
|
|
impl <'a,> ::core::fmt::Debug for Reader<'a,> {
|
|
|
|
fn fmt(
|
|
|
|
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
|
|
|
|
&self,
|
|
|
|
core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
|
|
|
|
f: &mut ::core::fmt::Formatter<'_>,
|
|
|
|
|
|
|
|
) -> ::core::result::Result<(), ::core::fmt::Error> {
|
|
|
|
|
|
|
|
core::fmt::Debug::fmt(
|
|
|
|
|
|
|
|
&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self),
|
|
|
|
|
|
|
|
f,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::FromPointerReader<'a> for Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
|
|
|
|
fn get_from_pointer(
|
|
|
|
fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
|
|
|
|
reader: &::capnp::private::layout::PointerReader<'a>,
|
|
|
|
|
|
|
|
default: ::core::option::Option<&'a [::capnp::Word]>,
|
|
|
|
|
|
|
|
) -> ::capnp::Result<Self> {
|
|
|
|
|
|
|
|
::core::result::Result::Ok(reader.get_struct(default)?.into())
|
|
|
|
::core::result::Result::Ok(reader.get_struct(default)?.into())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
|
|
|
|
fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
|
|
|
|
fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
|
|
|
|
self.reader
|
|
|
|
self.reader
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::Imbue<'a> for Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
|
|
|
|
fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
|
|
|
|
fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
|
|
|
|
self.reader
|
|
|
|
self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
|
|
|
|
.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> Reader<'a> {
|
|
|
|
impl <'a,> Reader<'a,> {
|
|
|
|
pub fn reborrow(&self) -> Reader<'_> {
|
|
|
|
pub fn reborrow(&self) -> Reader<'_,> {
|
|
|
|
Self { ..*self }
|
|
|
|
Self { .. *self }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
|
|
|
|
pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
|
|
|
@ -513,10 +379,7 @@ pub mod agent {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn get_name(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
pub fn get_name(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
|
|
|
|
&self.reader.get_pointer_field(0),
|
|
|
|
|
|
|
|
::core::option::Option::None,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn has_name(&self) -> bool {
|
|
|
|
pub fn has_name(&self) -> bool {
|
|
|
@ -524,86 +387,52 @@ pub mod agent {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Builder<'a> {
|
|
|
|
pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
|
|
|
|
builder: ::capnp::private::layout::StructBuilder<'a>,
|
|
|
|
impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
|
|
|
|
|
|
|
|
const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 1 };
|
|
|
|
}
|
|
|
|
}
|
|
|
|
impl<'a> ::capnp::traits::HasStructSize for Builder<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
|
|
|
|
const STRUCT_SIZE: ::capnp::private::layout::StructSize =
|
|
|
|
|
|
|
|
::capnp::private::layout::StructSize {
|
|
|
|
|
|
|
|
data: 0,
|
|
|
|
|
|
|
|
pointers: 1,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::HasTypeId for Builder<'a> {
|
|
|
|
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
impl<'a> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a> {
|
|
|
|
impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
|
|
|
|
fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
|
|
|
|
fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
|
|
|
|
Self { builder }
|
|
|
|
Self { builder, }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::core::convert::From<Builder<'a>> for ::capnp::dynamic_value::Builder<'a> {
|
|
|
|
impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
|
|
|
|
fn from(builder: Builder<'a>) -> Self {
|
|
|
|
fn from(builder: Builder<'a,>) -> Self {
|
|
|
|
Self::Struct(::capnp::dynamic_struct::Builder::new(
|
|
|
|
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::<>})))
|
|
|
|
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,
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::ImbueMut<'a> for Builder<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
|
|
|
|
fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
|
|
|
|
fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
|
|
|
|
self.builder
|
|
|
|
self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
|
|
|
|
.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
|
|
|
|
fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
|
|
|
|
fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
|
|
|
|
builder
|
|
|
|
builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
|
|
|
|
.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE)
|
|
|
|
|
|
|
|
.into()
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fn get_from_pointer(
|
|
|
|
fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
|
|
|
|
builder: ::capnp::private::layout::PointerBuilder<'a>,
|
|
|
|
::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
|
|
|
|
default: ::core::option::Option<&'a [::capnp::Word]>,
|
|
|
|
|
|
|
|
) -> ::capnp::Result<Self> {
|
|
|
|
|
|
|
|
::core::result::Result::Ok(
|
|
|
|
|
|
|
|
builder
|
|
|
|
|
|
|
|
.get_struct(
|
|
|
|
|
|
|
|
<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE,
|
|
|
|
|
|
|
|
default,
|
|
|
|
|
|
|
|
)?
|
|
|
|
|
|
|
|
.into(),
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> ::capnp::traits::SetPointerBuilder for Reader<'a> {
|
|
|
|
impl <'a,> ::capnp::traits::SetPointerBuilder for Reader<'a,> {
|
|
|
|
fn set_pointer_builder(
|
|
|
|
fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
|
|
|
|
mut pointer: ::capnp::private::layout::PointerBuilder<'_>,
|
|
|
|
|
|
|
|
value: Self,
|
|
|
|
|
|
|
|
canonicalize: bool,
|
|
|
|
|
|
|
|
) -> ::capnp::Result<()> {
|
|
|
|
|
|
|
|
pointer.set_struct(&value.reader, canonicalize)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl<'a> Builder<'a> {
|
|
|
|
impl <'a,> Builder<'a,> {
|
|
|
|
pub fn into_reader(self) -> Reader<'a> {
|
|
|
|
pub fn into_reader(self) -> Reader<'a,> {
|
|
|
|
self.builder.into_reader().into()
|
|
|
|
self.builder.into_reader().into()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub fn reborrow(&mut self) -> Builder<'_> {
|
|
|
|
pub fn reborrow(&mut self) -> Builder<'_,> {
|
|
|
|
Builder {
|
|
|
|
Builder { builder: self.builder.reborrow() }
|
|
|
|
builder: self.builder.reborrow(),
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub fn reborrow_as_reader(&self) -> Reader<'_,> {
|
|
|
|
pub fn reborrow_as_reader(&self) -> Reader<'_> {
|
|
|
|
|
|
|
|
self.builder.as_reader().into()
|
|
|
|
self.builder.as_reader().into()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -612,10 +441,7 @@ pub mod agent {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn get_name(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
pub fn get_name(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
|
|
|
|
self.builder.get_pointer_field(0),
|
|
|
|
|
|
|
|
::core::option::Option::None,
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#[inline]
|
|
|
|
#[inline]
|
|
|
|
pub fn set_name(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
|
pub fn set_name(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
@ -631,17 +457,14 @@ pub mod agent {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Pipeline {
|
|
|
|
pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
|
|
|
|
_typeless: ::capnp::any_pointer::Pipeline,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ::capnp::capability::FromTypelessPipeline for Pipeline {
|
|
|
|
impl ::capnp::capability::FromTypelessPipeline for Pipeline {
|
|
|
|
fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
|
|
|
|
fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
|
|
|
|
Self {
|
|
|
|
Self { _typeless: typeless, }
|
|
|
|
_typeless: typeless,
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Pipeline {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
impl Pipeline {}
|
|
|
|
|
|
|
|
mod _private {
|
|
|
|
mod _private {
|
|
|
|
pub static ENCODED_NODE: [::capnp::Word; 32] = [
|
|
|
|
pub static ENCODED_NODE: [::capnp::Word; 32] = [
|
|
|
|
::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
|
|
|
|
::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
|
|
|
@ -683,20 +506,260 @@ pub mod agent {
|
|
|
|
_ => panic!("invalid field index {}", index),
|
|
|
|
_ => panic!("invalid field index {}", index),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub fn get_annotation_types(
|
|
|
|
pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
|
|
|
|
child_index: Option<u16>,
|
|
|
|
|
|
|
|
index: u32,
|
|
|
|
|
|
|
|
) -> ::capnp::introspect::Type {
|
|
|
|
|
|
|
|
panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
|
|
|
|
panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema =
|
|
|
|
pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
|
|
|
|
::capnp::introspect::RawStructSchema {
|
|
|
|
|
|
|
|
encoded_node: &ENCODED_NODE,
|
|
|
|
encoded_node: &ENCODED_NODE,
|
|
|
|
nonunion_members: NONUNION_MEMBERS,
|
|
|
|
nonunion_members: NONUNION_MEMBERS,
|
|
|
|
members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
|
|
|
|
members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
pub static NONUNION_MEMBERS: &[u16] = &[0];
|
|
|
|
pub static NONUNION_MEMBERS : &[u16] = &[0];
|
|
|
|
pub static MEMBERS_BY_DISCRIMINANT: &[u16] = &[];
|
|
|
|
pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
|
|
|
|
pub const TYPE_ID: u64 = 0xf4a4_cb97_342c_81a0;
|
|
|
|
pub const TYPE_ID: u64 = 0xf4a4_cb97_342c_81a0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pub mod lease {
|
|
|
|
|
|
|
|
#[derive(Copy, Clone)]
|
|
|
|
|
|
|
|
pub struct Owned(());
|
|
|
|
|
|
|
|
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() } }
|
|
|
|
|
|
|
|
impl ::capnp::traits::Owned for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
|
|
|
|
|
|
|
|
impl ::capnp::traits::OwnedStruct for Owned { type Reader<'a> = Reader<'a>; type Builder<'a> = Builder<'a>; }
|
|
|
|
|
|
|
|
impl ::capnp::traits::Pipelined for Owned { type Pipeline = Pipeline; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Reader<'a> { reader: ::capnp::private::layout::StructReader<'a> }
|
|
|
|
|
|
|
|
impl <'a,> ::core::marker::Copy for Reader<'a,> {}
|
|
|
|
|
|
|
|
impl <'a,> ::core::clone::Clone for Reader<'a,> {
|
|
|
|
|
|
|
|
fn clone(&self) -> Self { *self }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::capnp::traits::HasTypeId for Reader<'a,> {
|
|
|
|
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl <'a,> ::core::convert::From<::capnp::private::layout::StructReader<'a>> for Reader<'a,> {
|
|
|
|
|
|
|
|
fn from(reader: ::capnp::private::layout::StructReader<'a>) -> Self {
|
|
|
|
|
|
|
|
Self { reader, }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::core::convert::From<Reader<'a,>> for ::capnp::dynamic_value::Reader<'a> {
|
|
|
|
|
|
|
|
fn from(reader: Reader<'a,>) -> Self {
|
|
|
|
|
|
|
|
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::<>})))
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::core::fmt::Debug for Reader<'a,> {
|
|
|
|
|
|
|
|
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::result::Result<(), ::core::fmt::Error> {
|
|
|
|
|
|
|
|
core::fmt::Debug::fmt(&::core::convert::Into::<::capnp::dynamic_value::Reader<'_>>::into(*self), f)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::capnp::traits::FromPointerReader<'a> for Reader<'a,> {
|
|
|
|
|
|
|
|
fn get_from_pointer(reader: &::capnp::private::layout::PointerReader<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
|
|
|
|
|
|
|
|
::core::result::Result::Ok(reader.get_struct(default)?.into())
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::capnp::traits::IntoInternalStructReader<'a> for Reader<'a,> {
|
|
|
|
|
|
|
|
fn into_internal_struct_reader(self) -> ::capnp::private::layout::StructReader<'a> {
|
|
|
|
|
|
|
|
self.reader
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::capnp::traits::Imbue<'a> for Reader<'a,> {
|
|
|
|
|
|
|
|
fn imbue(&mut self, cap_table: &'a ::capnp::private::layout::CapTable) {
|
|
|
|
|
|
|
|
self.reader.imbue(::capnp::private::layout::CapTableReader::Plain(cap_table))
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> Reader<'a,> {
|
|
|
|
|
|
|
|
pub fn reborrow(&self) -> Reader<'_,> {
|
|
|
|
|
|
|
|
Self { .. *self }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
|
|
|
|
|
|
|
|
self.reader.total_size()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn get_id(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(0), ::core::option::Option::None)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn has_id(&self) -> bool {
|
|
|
|
|
|
|
|
!self.reader.get_pointer_field(0).is_null()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn get_lease(self) -> ::capnp::Result<::capnp::text::Reader<'a>> {
|
|
|
|
|
|
|
|
::capnp::traits::FromPointerReader::get_from_pointer(&self.reader.get_pointer_field(1), ::core::option::Option::None)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn has_lease(&self) -> bool {
|
|
|
|
|
|
|
|
!self.reader.get_pointer_field(1).is_null()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Builder<'a> { builder: ::capnp::private::layout::StructBuilder<'a> }
|
|
|
|
|
|
|
|
impl <'a,> ::capnp::traits::HasStructSize for Builder<'a,> {
|
|
|
|
|
|
|
|
const STRUCT_SIZE: ::capnp::private::layout::StructSize = ::capnp::private::layout::StructSize { data: 0, pointers: 2 };
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl <'a,> ::capnp::traits::HasTypeId for Builder<'a,> {
|
|
|
|
|
|
|
|
const TYPE_ID: u64 = _private::TYPE_ID;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl <'a,> ::core::convert::From<::capnp::private::layout::StructBuilder<'a>> for Builder<'a,> {
|
|
|
|
|
|
|
|
fn from(builder: ::capnp::private::layout::StructBuilder<'a>) -> Self {
|
|
|
|
|
|
|
|
Self { builder, }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::core::convert::From<Builder<'a,>> for ::capnp::dynamic_value::Builder<'a> {
|
|
|
|
|
|
|
|
fn from(builder: Builder<'a,>) -> Self {
|
|
|
|
|
|
|
|
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::<>})))
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::capnp::traits::ImbueMut<'a> for Builder<'a,> {
|
|
|
|
|
|
|
|
fn imbue_mut(&mut self, cap_table: &'a mut ::capnp::private::layout::CapTable) {
|
|
|
|
|
|
|
|
self.builder.imbue(::capnp::private::layout::CapTableBuilder::Plain(cap_table))
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::capnp::traits::FromPointerBuilder<'a> for Builder<'a,> {
|
|
|
|
|
|
|
|
fn init_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, _size: u32) -> Self {
|
|
|
|
|
|
|
|
builder.init_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE).into()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
fn get_from_pointer(builder: ::capnp::private::layout::PointerBuilder<'a>, default: ::core::option::Option<&'a [::capnp::Word]>) -> ::capnp::Result<Self> {
|
|
|
|
|
|
|
|
::core::result::Result::Ok(builder.get_struct(<Self as ::capnp::traits::HasStructSize>::STRUCT_SIZE, default)?.into())
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> ::capnp::traits::SetPointerBuilder for Reader<'a,> {
|
|
|
|
|
|
|
|
fn set_pointer_builder(mut pointer: ::capnp::private::layout::PointerBuilder<'_>, value: Self, canonicalize: bool) -> ::capnp::Result<()> { pointer.set_struct(&value.reader, canonicalize) }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl <'a,> Builder<'a,> {
|
|
|
|
|
|
|
|
pub fn into_reader(self) -> Reader<'a,> {
|
|
|
|
|
|
|
|
self.builder.into_reader().into()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn reborrow(&mut self) -> Builder<'_,> {
|
|
|
|
|
|
|
|
Builder { builder: self.builder.reborrow() }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn reborrow_as_reader(&self) -> Reader<'_,> {
|
|
|
|
|
|
|
|
self.builder.as_reader().into()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pub fn total_size(&self) -> ::capnp::Result<::capnp::MessageSize> {
|
|
|
|
|
|
|
|
self.builder.as_reader().total_size()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn get_id(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(0), ::core::option::Option::None)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn set_id(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
|
|
|
|
|
self.builder.reborrow().get_pointer_field(0).set_text(value);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn init_id(self, size: u32) -> ::capnp::text::Builder<'a> {
|
|
|
|
|
|
|
|
self.builder.get_pointer_field(0).init_text(size)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn has_id(&self) -> bool {
|
|
|
|
|
|
|
|
!self.builder.is_pointer_field_null(0)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn get_lease(self) -> ::capnp::Result<::capnp::text::Builder<'a>> {
|
|
|
|
|
|
|
|
::capnp::traits::FromPointerBuilder::get_from_pointer(self.builder.get_pointer_field(1), ::core::option::Option::None)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn set_lease(&mut self, value: ::capnp::text::Reader<'_>) {
|
|
|
|
|
|
|
|
self.builder.reborrow().get_pointer_field(1).set_text(value);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn init_lease(self, size: u32) -> ::capnp::text::Builder<'a> {
|
|
|
|
|
|
|
|
self.builder.get_pointer_field(1).init_text(size)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline]
|
|
|
|
|
|
|
|
pub fn has_lease(&self) -> bool {
|
|
|
|
|
|
|
|
!self.builder.is_pointer_field_null(1)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Pipeline { _typeless: ::capnp::any_pointer::Pipeline }
|
|
|
|
|
|
|
|
impl ::capnp::capability::FromTypelessPipeline for Pipeline {
|
|
|
|
|
|
|
|
fn new(typeless: ::capnp::any_pointer::Pipeline) -> Self {
|
|
|
|
|
|
|
|
Self { _typeless: typeless, }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Pipeline {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
mod _private {
|
|
|
|
|
|
|
|
pub static ENCODED_NODE: [::capnp::Word; 47] = [
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 5, 0, 6, 0),
|
|
|
|
|
|
|
|
::capnp::word(98, 86, 14, 197, 84, 8, 214, 176),
|
|
|
|
|
|
|
|
::capnp::word(13, 0, 0, 0, 1, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(164, 172, 216, 255, 36, 223, 58, 242),
|
|
|
|
|
|
|
|
::capnp::word(2, 0, 7, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(21, 0, 0, 0, 154, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(29, 0, 0, 0, 7, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(25, 0, 0, 0, 119, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(109, 111, 100, 101, 108, 115, 46, 99),
|
|
|
|
|
|
|
|
::capnp::word(97, 112, 110, 112, 58, 76, 101, 97),
|
|
|
|
|
|
|
|
::capnp::word(115, 101, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 1, 0, 1, 0),
|
|
|
|
|
|
|
|
::capnp::word(8, 0, 0, 0, 3, 0, 4, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 1, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(41, 0, 0, 0, 26, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(36, 0, 0, 0, 3, 0, 1, 0),
|
|
|
|
|
|
|
|
::capnp::word(48, 0, 0, 0, 2, 0, 1, 0),
|
|
|
|
|
|
|
|
::capnp::word(1, 0, 0, 0, 1, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 1, 0, 1, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(45, 0, 0, 0, 50, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(40, 0, 0, 0, 3, 0, 1, 0),
|
|
|
|
|
|
|
|
::capnp::word(52, 0, 0, 0, 2, 0, 1, 0),
|
|
|
|
|
|
|
|
::capnp::word(105, 100, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(108, 101, 97, 115, 101, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(12, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
::capnp::word(0, 0, 0, 0, 0, 0, 0, 0),
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
pub fn get_field_types(index: u16) -> ::capnp::introspect::Type {
|
|
|
|
|
|
|
|
match index {
|
|
|
|
|
|
|
|
0 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
|
|
|
|
|
|
|
|
1 => <::capnp::text::Owned as ::capnp::introspect::Introspect>::introspect(),
|
|
|
|
|
|
|
|
_ => panic!("invalid field index {}", index),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn get_annotation_types(child_index: Option<u16>, index: u32) -> ::capnp::introspect::Type {
|
|
|
|
|
|
|
|
panic!("invalid annotation indices ({:?}, {}) ", child_index, index)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
pub static RAW_SCHEMA: ::capnp::introspect::RawStructSchema = ::capnp::introspect::RawStructSchema {
|
|
|
|
|
|
|
|
encoded_node: &ENCODED_NODE,
|
|
|
|
|
|
|
|
nonunion_members: NONUNION_MEMBERS,
|
|
|
|
|
|
|
|
members_by_discriminant: MEMBERS_BY_DISCRIMINANT,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
pub static NONUNION_MEMBERS : &[u16] = &[0,1];
|
|
|
|
|
|
|
|
pub static MEMBERS_BY_DISCRIMINANT : &[u16] = &[];
|
|
|
|
|
|
|
|
pub const TYPE_ID: u64 = 0xb0d6_0854_c50e_5662;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|