Home
last modified time | relevance | path

Searched refs:exn_is_declared (Results 1 – 17 of 17) sorted by relevance

/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/generate/templates/rust/lib/
H A Dservice.mustache56 fn exn_is_declared(&self) -> bool {
59 … {{function:upcamel}}StreamExn::ApplicationException(aexn) => aexn.exn_is_declared(),
61 … {{function:upcamel}}StreamExn::{{field:rust_name}}(exn) => exn.exn_is_declared(),
240 fn exn_is_declared(&self) -> bool {
242 … {{function:upcamel}}Exn::Success(_) => panic!("ExceptionInfo::exn_is_declared called on Success"),
243 {{function:upcamel}}Exn::ApplicationException(aexn) => aexn.exn_is_declared(),
245 {{function:upcamel}}Exn::{{field:rust_name}}(exn) => exn.exn_is_declared(),
438 fn exn_is_declared(&self) -> bool {
440 … {{function:upcamel}}Exn::Success(_) => panic!("ExceptionInfo::exn_is_declared called on Success"),
441 {{function:upcamel}}Exn::ApplicationException(aexn) => aexn.exn_is_declared(),
[all …]
H A Dstruct.mustache67 fn exn_is_declared(&self) -> bool { true }
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/rust/src/
H A Dexceptions.rs32 fn exn_is_declared(&self) -> bool; in exn_is_declared() method
H A Dapplication_exception.rs154 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
H A Dhelp.rs78 assert_eq!(res.exn_is_declared(), res_type == ResultType::Error); in serialize_result_envelope()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/exceptions/gen-rust/
H A Dlib.rs32 fn exn_is_declared(&self) -> bool { true } in exn_is_declared() method
60 fn exn_is_declared(&self) -> bool { true } in exn_is_declared() method
89 fn exn_is_declared(&self) -> bool { true } in exn_is_declared() method
118 fn exn_is_declared(&self) -> bool { true } in exn_is_declared() method
147 fn exn_is_declared(&self) -> bool { true } in exn_is_declared() method
174 fn exn_is_declared(&self) -> bool { true } in exn_is_declared() method
647 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
790 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
954 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1103 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-skip-none-serialization/gen-rust/
H A Dlib.rs164 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
167 PingExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
280 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
283 GetRandomDataExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
402 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
405 HasDataByIdExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
524 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
527 GetDataByIdExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
646 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
649 PutDataByIdExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-noserver/gen-rust/
H A Dlib.rs436 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
439 PingExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
552 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
674 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
677 HasDataByIdExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
796 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
799 GetDataByIdExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
918 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
921 PutDataByIdExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
1034 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic-annotations/gen-rust/
H A Dlib.rs490 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
493 PingExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
606 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
728 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
850 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
972 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1088 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1204 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1323 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1439 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic/gen-rust/
H A Dlib.rs466 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
469 PingExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
582 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
704 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
820 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
936 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1058 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1180 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1296 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1415 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/params/gen-rust/
H A Dlib.rs43 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
46 MapListExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
159 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
162 MapSetExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
275 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
278 ListMapExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
391 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
394 ListSetExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
507 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
510 TurtlesExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-request-context/gen-rust/
H A Dlib.rs63 fn exn_is_declared(&self) -> bool { true } in exn_is_declared() method
521 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
524 PingExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
637 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
759 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
762 HasDataByIdExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
881 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1003 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1119 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
1322 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-raw-identifiers/gen-rust/
H A Dlib.rs143 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
146 ReturnExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
259 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
262 SuperExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/doctext/gen-rust/
H A Dlib.rs79 fn exn_is_declared(&self) -> bool { true } in exn_is_declared() method
473 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
476 FExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
689 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
692 ThingExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
693 ThingExn::bang(exn) => exn.exn_is_declared(), in exn_is_declared()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/inheritance/gen-rust/
H A Dlib.rs43 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
46 DoRootExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
162 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
165 DoMidExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
281 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
284 DoLeafExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/adapter/gen-rust/
H A Dlib.rs540 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
543 FuncExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/types/gen-rust/
H A Dlib.rs2859 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
2862 BounceMapExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()
2981 fn exn_is_declared(&self) -> bool { in exn_is_declared() method
2984 BinaryKeyedMapExn::ApplicationException(aexn) => aexn.exn_is_declared(), in exn_is_declared()