Home
last modified time | relevance | path

Searched refs:fbthrift (Results 1 – 25 of 179) sorted by relevance

12345678

/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/complex-union/gen-rust/
H A Dlib.rs95 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
149 ::fbthrift::Field::new("intValue", ::fbthrift::TType::I64, 1), in read()
212 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
289 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
384 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
451 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
528 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
619 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
642 ::fbthrift::Field::new("num", ::fbthrift::TType::I64, 1), in read()
672 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/refs/gen-rust/
H A Dlib.rs351 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
461 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
492 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
599 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
732 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
819 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
900 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
979 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1085 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1166 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/types/gen-rust/
H A Dlib.rs430 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
540 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
650 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
766 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
814 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
895 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1011 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1078 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1147 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1223 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/optionals/gen-rust/
H A Dlib.rs159 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
211 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
243 ::fbthrift::Field::new("alpha", ::fbthrift::TType::Double, 4), in read()
244 ::fbthrift::Field::new("blue", ::fbthrift::TType::Double, 3), in read()
245 ::fbthrift::Field::new("green", ::fbthrift::TType::Double, 2), in read()
246 ::fbthrift::Field::new("red", ::fbthrift::TType::Double, 1), in read()
307 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
352 ::fbthrift::Field::new("hasAC", ::fbthrift::TType::Bool, 5), in read()
428 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
496 ::fbthrift::Field::new("age", ::fbthrift::TType::I16, 3), in read()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-newtype-typedef/gen-rust/
H A Dlib.rs44 P: ::fbthrift::ProtocolWriter,
53 P: ::fbthrift::ProtocolReader,
66 P: ::fbthrift::ProtocolWriter,
75 P: ::fbthrift::ProtocolReader,
89 P: ::fbthrift::ProtocolWriter,
136 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
171 ::fbthrift::Field::new("inline_bin", ::fbthrift::TType::String, 3), in read()
172 ::fbthrift::Field::new("inline_bytes", ::fbthrift::TType::String, 5), in read()
173 ::fbthrift::Field::new("the_bin", ::fbthrift::TType::String, 2), in read()
174 ::fbthrift::Field::new("the_bytes", ::fbthrift::TType::String, 4), in read()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/adapter/gen-rust/
H A Dlib.rs117 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
168 ::fbthrift::Field::new("intField", ::fbthrift::TType::I32, 1), in read()
170 ::fbthrift::Field::new("mapField", ::fbthrift::TType::Map, 6), in read()
174 ::fbthrift::Field::new("setField", ::fbthrift::TType::Set, 4), in read()
225 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
269 ::fbthrift::Field::new("intField", ::fbthrift::TType::I32, 1), in read()
346 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
454 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
477 ::fbthrift::Field::new("field", ::fbthrift::TType::I32, 1), in read()
558 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/constants/gen-rust/
H A Dlib.rs504 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
626 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
748 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
805 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
908 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
984 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1064 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1156 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1241 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1312 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/inheritance/gen-rust/
H A Dlib.rs61 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
96 ::fbthrift::Field::new("Success", ::fbthrift::TType::Void, 0), in read()
180 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
299 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
419 P::Frame: ::fbthrift::Framing<DecBuf = ::fbthrift::FramingDecoded<T>>,
420 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
568 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
603 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
752 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
767 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic-annotations/gen-rust/
H A Dlib.rs163 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
208 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
287 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
398 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
424 ::fbthrift::Field::new("id", ::fbthrift::TType::I64, 1), in read()
508 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
624 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1829 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
2335 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
2533 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/exceptions/gen-rust/
H A Dlib.rs207 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
274 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
345 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
421 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
497 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
569 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
665 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
814 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
972 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1127 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-raw-identifiers/gen-rust/
H A Dlib.rs51 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
77 ::fbthrift::Field::new("return", ::fbthrift::TType::Bool, 1), in read()
78 ::fbthrift::Field::new("super", ::fbthrift::TType::Bool, 2), in read()
161 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
196 ::fbthrift::Field::new("Success", ::fbthrift::TType::Void, 0), in read()
277 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
312 ::fbthrift::Field::new("Success", ::fbthrift::TType::Void, 0), in read()
424 P::Frame: ::fbthrift::Framing<DecBuf = ::fbthrift::FramingDecoded<T>>,
425 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
656 ::fbthrift::Field::new("bar", ::fbthrift::TType::Struct, 1), in read()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/req-opt/gen-rust/
H A Dlib.rs56 impl ::fbthrift::GetTType for self::Foo {
57 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
60 impl<P> ::fbthrift::Serialize<P> for self::Foo
62 P: ::fbthrift::ProtocolWriter,
87 P: ::fbthrift::ProtocolReader,
91 ::fbthrift::Field::new("myBools", ::fbthrift::TType::List, 3), in read()
92 ::fbthrift::Field::new("myInteger", ::fbthrift::TType::I32, 1), in read()
93 ::fbthrift::Field::new("myNumbers", ::fbthrift::TType::List, 4), in read()
94 ::fbthrift::Field::new("myString", ::fbthrift::TType::String, 2), in read()
105 …(::fbthrift::TType::I32, 1) => field_myInteger = ::std::option::Option::Some(::fbthrift::Deseriali… in read()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic/gen-rust/
H A Dlib.rs137 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
194 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
301 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
347 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
484 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
600 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
722 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
838 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
954 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1841 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/doctext/gen-rust/
H A Dlib.rs173 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
242 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
295 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
328 ::fbthrift::Field::new("i", ::fbthrift::TType::I32, 1), in read()
329 ::fbthrift::Field::new("s", ::fbthrift::TType::String, 2), in read()
386 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
491 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
574 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
709 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
903 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-noserver/gen-rust/
H A Dlib.rs134 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
185 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
271 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
317 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
454 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
570 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
692 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
814 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
936 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1052 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-request-context/gen-rust/
H A Dlib.rs161 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
212 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
298 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
344 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
443 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
539 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
655 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
777 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
899 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
1021 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-skip-none-serialization/gen-rust/
H A Dlib.rs59 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
90 ::fbthrift::Field::new("MyDataField", ::fbthrift::TType::String, 3), in read()
91 ::fbthrift::Field::new("MyIntField", ::fbthrift::TType::I64, 1), in read()
182 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
217 ::fbthrift::Field::new("Success", ::fbthrift::TType::Void, 0), in read()
298 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
420 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
542 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
664 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
780 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic-enum/gen-rust/
H A Dlib.rs115 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
120 P: ::fbthrift::ProtocolWriter,
130 P: ::fbthrift::ProtocolReader,
225 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
230 P: ::fbthrift::ProtocolWriter,
240 P: ::fbthrift::ProtocolReader,
443 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::I32;
448 P: ::fbthrift::ProtocolWriter,
490 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
516 ::fbthrift::Field::new("myBigEnum", ::fbthrift::TType::I32, 2), in read()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/params/gen-rust/
H A Dlib.rs61 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
96 ::fbthrift::Field::new("Success", ::fbthrift::TType::Void, 0), in read()
177 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
293 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
409 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
525 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
739 … ::fbthrift::ProtocolEncoded<P>: ::fbthrift::BufMutExt<Final = ::fbthrift::FramingEncodedFinal<T>>,
1162 ::fbthrift::Field::new("foo", ::fbthrift::TType::Map, 1), in read()
1190 ::fbthrift::Field::new("foo", ::fbthrift::TType::Map, 1), in read()
1218 ::fbthrift::Field::new("foo", ::fbthrift::TType::List, 1), in read()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-include_src/gen-rust/
H A Dlib.rs52 impl ::fbthrift::GetTType for self::MyStruct {
53 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
56 impl<P> ::fbthrift::Serialize<P> for self::MyStruct
58 P: ::fbthrift::ProtocolWriter,
63 ::fbthrift::Serialize::write(&self.foo, p); in write()
75 P: ::fbthrift::ProtocolReader,
78 static FIELDS: &[::fbthrift::Field] = &[ in read()
79 ::fbthrift::Field::new("bar", ::fbthrift::TType::String, 2), in read()
80 ::fbthrift::Field::new("foo", ::fbthrift::TType::I32, 1), in read()
89 …(::fbthrift::TType::I32, 1) => field_foo = ::std::option::Option::Some(::fbthrift::Deserialize::re… in read()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/empty-struct/gen-rust/
H A Dlib.rs49 impl ::fbthrift::GetTType for self::Empty {
50 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
53 impl<P> ::fbthrift::Serialize<P> for self::Empty
55 P: ::fbthrift::ProtocolWriter,
66 P: ::fbthrift::ProtocolReader,
95 impl ::fbthrift::GetTType for Nada {
96 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
99 impl<P> ::fbthrift::Serialize<P> for Nada
101 P: ::fbthrift::ProtocolWriter,
113 impl<P> ::fbthrift::Deserialize<P> for Nada
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/generate/templates/rust/lib/
H A Dservice.mustache93 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
98 P: ::fbthrift::ProtocolWriter,
136 P: ::fbthrift::ProtocolReader,
139 static RETURNS: &[::fbthrift::Field] = &[
277 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
282 P: ::fbthrift::ProtocolWriter,
320 P: ::fbthrift::ProtocolReader,
323 static RETURNS: &[::fbthrift::Field] = &[
462 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
467 P: ::fbthrift::ProtocolWriter,
[all …]
H A Dmod.server.mustache77 …impl<P: ::fbthrift::ProtocolReader> ::fbthrift::Deserialize<P> for self::Args_{{service:name}}_{{f…
81 static ARGS: &[::fbthrift::Field] = &[
125 …<R as ::fbthrift::RequestContext>::ContextStack: ::fbthrift::ContextStack<Name = R::Name, Buffer =…
128 SS: ::fbthrift::ThriftService<P::Frame>,
168 ::fbthrift::ContextStack::on_read_data(ctx_stack, &::fbthrift::SerializedMessage {
228 SS: ::fbthrift::ThriftService<P::Frame>,
233 …<R as ::fbthrift::RequestContext>::ContextStack: ::fbthrift::ContextStack<Name = R::Name, Buffer =…
306 …<R as ::fbthrift::RequestContext>::ContextStack: ::fbthrift::ContextStack<Name = R::Name, Buffer =…
315 req: ::fbthrift::ProtocolDecoded<P>,
349 proto: ::fbthrift::ProtocolID,
[all …]
H A Dmod.impl.mustache28 LocalImpl<T>: ::fbthrift::Serialize<P>,
29 P: ::fbthrift::ProtocolWriter,
31 ::fbthrift::Serialize::write(LocalImpl::ref_cast(value), p);
37 LocalImpl<T>: ::fbthrift::Deserialize<P>,
38 P: ::fbthrift::ProtocolReader,
49 P: ::fbthrift::ProtocolWriter,
66 P: ::fbthrift::ProtocolReader,
101 P: ::fbthrift::ProtocolWriter,
121 P: ::fbthrift::ProtocolReader,
158 P: ::fbthrift::ProtocolWriter,
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-extra-derives/gen-rust/
H A Dlib.rs47 impl ::fbthrift::GetTType for self::WithCustomDerives {
48 const TTYPE: ::fbthrift::TType = ::fbthrift::TType::Struct;
51 impl<P> ::fbthrift::Serialize<P> for self::WithCustomDerives
53 P: ::fbthrift::ProtocolWriter,
57 p.write_field_begin("a", ::fbthrift::TType::Bool, 1); in write()
58 ::fbthrift::Serialize::write(&self.a, p); in write()
67 P: ::fbthrift::ProtocolReader,
70 static FIELDS: &[::fbthrift::Field] = &[ in read()
71 ::fbthrift::Field::new("a", ::fbthrift::TType::Bool, 1), in read()
78 (::fbthrift::TType::Stop, _) => break, in read()
[all …]

12345678