MCPcopy Create free account
hub / github.com/apache/thrift / main

Function main

tutorial/rs/src/bin/tutorial_client.rs:28–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26use thrift_tutorial::tutorial::{CalculatorSyncClient, Operation, TCalculatorSyncClient, Work};
27
28fn main() {
29 match run() {
30 Ok(()) => println!("tutorial client ran successfully"),
31 Err(e) => {
32 println!("tutorial client failed with error {:?}", e);
33 std::process::exit(1);
34 }
35 }
36}
37
38fn run() -> thrift::Result<()> {
39 let options = clap_app!(rust_tutorial_client =>

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected