netxserver 2.2.0

netx server assembly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use netxserver::prelude::{error::Result, *};

#[build]
pub trait IClient: Sync + Send {
    #[tag(2000)]
    async fn add_one(&self, i: i32) -> Result<i32>;
    #[tag(2002)]
    async fn recursive_test(&self, a: i32) -> Result<i32>;
    #[tag(4000)]
    async fn run(&self, name: Option<String>) -> Result<Option<String>>;
    #[tag(5000)]
    async fn print2(&self, i: i32, s: &str) -> Result<()>;
}