Module paxakos::node [−][src]
Expand description
A Node
is a member in a distributed paxakos cluster.
Re-exports
pub use builder::NodeBuilder;
Modules
Contains a set of types for constructing nodes.
Structs
Converged on log entry waiting to be applied.
The core Node
implementation.
The default Shutdown
implementation.
Future returned by Node::next_event
.
A remote handle for a paxakos Node
.
Allows getting a NodeHandle
before the Node
itself is built.
Used by Communicator
s to prepare
replies.
The Node
implementation that’s returned from
NodeBuilder
s.
A snapshot of a node’s state.
Enums
A node’s status, usually Leading
or Following
.
Reflects a Node
’s possible modes of participation.
Traits
Exposes seldomly used administrative operations.
Node that participates in a cluster.
Exposes “plumbing” API relevant to decorations.
Describes a node in a Paxakos cluster.
A Node
that is being shut_down
.
Type Definitions
Shorthand to extract invocation’s Abstain
type out of N
.
Invokes Acceptance
type constructor so as to be compatible with N
.
Invokes Result
type constructor so as to be compatible with N
’s
append(…) method
.
Invokes Commit
type constructor so as to be compatible with N
.
Shorthand to extract invocation’s CommunicationError
type out of N
.
Shorthand to extract Communicator
type out of N
.
Invokes Conflict
type constructor so as to be compatible with N
.
Shorthand to extract state’s Context
type out of N
.
Shorthand to extract invocation’s CoordNum
type out of N
.
Invokes Event
type constructor so as to be compatible with N
.
Shorthand to extract invocation’s Event
type out of N
.
Invokes NodeHandle
type constructor so as to be compatible with N
.
Invokes Result
type constructor so as to be compatible with N
’s
append_impl(…) method
.
Invokes IndiscriminateVoter
type constructor so as to be compatible with
N
.
Shorthand to extract Invocation
type out of N
.
Shorthand to extract log entry Id
type out of N
.
Shorthand to extract state’s LogEntry
type out of N
.
Shorthand to extract invocation’s Nay
type out of N
.
Shorthand to extract state’s Outcome
type out of N
.
Shorthand to extract invocation’s Node
type (impl NodeInfo
) out of N
.
Shorthand to extract node (impl NodeInfo
) Id
type out of N
.
Invokes Promise
type constructor so as to be compatible with N
.
Invokes RequestHandler
type constructor so as to be compatible with N
.
Shorthand to extract invocation’s RoundNum
type out of N
.
Shorthand to extract Shutdown
type out of N
.
Invokes Snapshot
type constructor so as to be compatible with N
.
Shorthand to extract invocation’s State
type out of N
.
Invokes Result
type constructor so as to be compatible with N
’s
append_static(…) method
.
Invokes Vote
type constructor so as to be compatible with N
.
Shorthand to extract invocation’s Yea
type out of N
.