Module mz_service::client

source ·
Expand description

Traits for client–server communication independent of transport layer.

These traits are designed for servers where where commands must be sharded among several worker threads or processes.

Structs§

  • A client whose implementation is partitioned across a number of other clients.

Traits§

  • A generic client to a server that receives commands and asynchronously produces responses.
  • A trait for command–response pairs that can be partitioned across multiple workers via Partitioned.
  • A state machine for a partitioned client that partitions commands across and amalgamates responses from multiple partitions.