_define_dispatch_server

Macro _define_dispatch_server 

Source
macro_rules! _define_dispatch_server {
    (
        $service:ty,
        $hash_by:ident : $hash_type:ty,

        $mpsc_sender_type:ty,

        [ $(
            $shard_mutable_method:ident ($shard_mutable_request:ty) -> $shard_mutable_reply:ty,
        )* ],

        [ $(
            $shard_readonly_method:ident ($shard_readonly_request:ty) -> $shard_readonly_reply:ty,
        )* ],

        [ $(
            $item_mutable_method:ident ($item_mutable_request:ty) -> $item_mutable_reply:ty,
        )* ],

        [ $(
            $item_readonly_method:ident ($item_readonly_request:ty) -> $item_readonly_reply:ty,
        )* ]
    ) => { ... };
}
Expand description

internal macro