cell_service

Macro cell_service 

Source
macro_rules! cell_service {
    ($server_type:ty, $impl_type:ty) => { ... };
}
Expand description

Macro to wrap a generated server type as a ServiceDispatch cell service.

This is convenient when a proc-macro generates FooServer<T> where FooServer::new(T) constructs the server and FooServer::dispatch(method_id, bytes) routes calls.