zbus-lib 0.1.6

zbus rust rpc client and server
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::future::Future;

fn main() {
    let handle: Box<dyn Future<Output=String>> = get_handler();
}

fn get_handler() -> Box<Future<Output=String>>
{
    let f = async { "name".to_string() };
    Box::new(f)
}