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 default
Shutdown
implementation.Wrapper returned by
Shell::enter_on_poll
.Wrapper returned by
Shell::into_enter_on_poll
.Deref target of the argument to the closure passed to
Shell::enter
.Argument to the closure passed to
Shell::enter
.Stream returned by
Node::events
.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.A
Shell<_, Sendable>
is Send
.The
Node
implementation that’s returned from
NodeBuilder
s.A snapshot of a node’s state.
Task that drives a node.
A
Shell<_, Unsendable>
is !Send
.Enums
A node’s status, usually
Leading
or Following
.Reflects a
Node
’s possible modes of participation.Traits
Exposes seldomly used administrative operations.
Convenient way to implement
NodeImpl
by delegating all calls.Node that participates in a cluster.
Exposes “plumbing” API relevant to decorations.
Describes a node in a Paxakos cluster.
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
.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
.Shorthand to extract invocation’s
Event
type out of N
.Shorthand to extract invocation’s
Ejection
type out of N
.Invokes
Event
type constructor so as to be compatible with N
.Shorthand to extract frozen state 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
Vote
type constructor so as to be compatible with N
.Shorthand to extract invocation’s
Yea
type out of N
.