Module garage_rpc::rpc_helper [−][src]
Expand description
Contain structs related to making RPCs
Structs
This struct represents an endpoint for message of type M
.
NetApp is the main class that handles incoming and outgoing connections.
Strategy to apply when making RPC
Constants
Priority class: background
Priority class: high
Priority class: normal
Priority: primary among given class
Priority: secondary among given class (ex: PRIO_HIGH | PRIO_SECONDARY
)
Traits
This trait should be implemented by an object of your application
that can handle a message of type M
.
This trait should be implemented by all messages your application wants to handle
Type Definitions
A node’s identifier, which is also its public cryptographic key
Priority of a request (click to read more about priorities).