{{! Copyright (c) Meta Platforms, Inc. and its affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. }}// @{{}}generated by Thrift for {{program:autogen_path}} // This file is probably not the place you want to edit! {{#program:services?}} //! Client implementation for each service in `{{program:name}}`. {{^program:multifile?}} #![recursion_limit = "100000000"] {{/program:multifile?}} #![allow(non_camel_case_types, non_snake_case, non_upper_case_globals{{! }}{{^program:multifile?}}, unused_crate_dependencies{{/program:multifile?}}{{! }}, unused_imports, clippy::all)] pub mod mock; #[doc(inline)] pub use {{program:types}} as types; pub mod errors {{>lib/block}}{{#program:services}} {{>lib/client_errors}} {{#service:interactions}} {{>lib/client_errors}} {{/service:interactions}} {{/program:services}} } pub(crate) use {{program:crate}} as client; pub(crate) use {{program:types}}::services; // Used by Thrift-generated code to implement service inheritance. #[doc(hidden)] #[deprecated] pub mod dependencies {{>lib/block}}{{! }}{{#program:includes}}{{! }}{{#program:label}} #[deprecated = "use `{{.}}` ({{program:namespace}})"]{{/program:label}} pub mod {{program:name}} { pub use {{program:client_package}}::*; }{{/program:includes}} } {{#program:services}}{{>lib/client}}{{! }}{{/program:services}} {{/program:services?}} {{^program:services?}} #![doc(hidden)] {{^program:multifile?}} #![allow(non_snake_case, unused_crate_dependencies)] {{/program:multifile?}} #[doc(inline)] pub use {{program:types}} as types; {{/program:services?}} {{!newline}}