Crate rmp_rpc

Source
Expand description

This crate provides facilities to use the MessagePack remote procedure call system (MessagePack-RPC) in Rust.

Modules§

Structs§

  • A future that resolves when a notification has been effictively sent to the server. It does not guarantees that the server receives it, just that it has been sent.
  • A client that sends requests and notifications to a remote MessagePack-RPC server.
  • A Future for running both a client and a server at the same time.
  • Represents a MessagePack integer, whether signed or unsigned.
  • Future response to a request. It resolved once the response is available.
  • Represents an UTF-8 MessagePack string type.

Enums§

  • Represents any valid MessagePack value.

Traits§

  • Class of types which can be converted into a future. This trait is only differs from futures::future::IntoFuture in that the returned future has the 'static lifetime.
  • The Service trait defines how a MessagePack-RPC server handles requests and notifications.
  • This is a beefed-up version of Service, in which the various handler methods also get access to a Client, which allows them to send requests and notifications to the same msgpack-rpc client that made the original request.

Functions§

  • Creates a future for running a Service on a stream.