Crate tor_rpcbase

source ·
Expand description

§tor-rpcbase

Backend for Arti’s RPC service

License: MIT OR Apache-2.0

Re-exports§

Modules§

  • A multiple-argument dispatch system for our RPC system.
  • err 🔒
    Error-related functionality for RPC functions.
  • method 🔒
    Method type for the RPC system.
  • obj 🔒
    Object type for our RPC system.
  • Templates for use with [derive_deftly]

Macros§

Structs§

  • A serializable empty object.
  • An identifier for an Object within the context of a Session.
  • An error type returned by failing RPC methods.
  • Common return type for RPC methods that return a single object ID and nothing else.

Enums§

Constants§

  • An instance of rpc::Nil.

Traits§

  • A trait describing the context in which an RPC method is executed.
  • Extension trait for Context.
  • A DynMethod that can be deserialized.
  • The parameters and method name associated with a given Request.
  • A typed method, used to ensure that all implementations of a method have the same success and updates types.
  • An object in our RPC system to which methods can be addressed.
  • Extension trait for Arc<dyn Object> to support convenient downcasting to dyn Trait.

Functions§