Struct rpcx_server::Server [−][src]
pub struct Server { pub addr: String, pub services: Arc<RwLock<HashMap<String, Box<RpcxFn>>>>, // some fields omitted }
Fields
addr: String
services: Arc<RwLock<HashMap<String, Box<RpcxFn>>>>
Implementations
pub fn register_fn(
&mut self,
service_path: String,
service_method: String,
meta: String,
f: RpcxFn
)
Auto Trait Implementations
impl RefUnwindSafe for Server
impl UnwindSafe for Server