accio_rs 0.1.1

macros for sync and async runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[macro_export]
macro_rules! accioe {
    ($r:ident,$y:ty,$z:ty,$q:ty,$c:ident,$b:ident)
    => 
    {
        {
            let r: $y = $r.into();
            super::super::super::acciof!($y,$z,$c);
            super::super::super::acciob!(AccioF,$z,$q,$b);
            let f = AccioF::new(r);
            let ret = f.await;
            ret
        }
    }
}