1 /// The RPC server that forwards to the `PinWeaverService` binder. 2 type PinWeaver = rpcbinder::RpcServer; 3 4 /// Forwards to the `StorageClientService`. 5 type Storage = crate::storage::StorageClientService; 6 7 // This macro requires that each variant name a type that implements 8 // `tipc::UnbufferedService`. 9 tipc::service_dispatcher! { 10 pub(crate) enum PinWeaverDispatcher { 11 PinWeaver, 12 Storage, 13 } 14 } 15