pub struct RaftSDK;
Trait Implementations§
source§impl CoordinationSDK for RaftSDK
impl CoordinationSDK for RaftSDK
type Clock = OsClock
§type Members = LinearMap<SystemNodeId, RaftMetadata, CLUSTER_NODE_COUNT>
type Members = LinearMap<SystemNodeId, RaftMetadata, CLUSTER_NODE_COUNT>
Members wil hold the cluster’s nodes and their metadata
§type Message = RaftMessage<RaftState>
type Message = RaftMessage<RaftState>
The message to be sent at the coordination level.
§type Metadata = RaftMetadata
type Metadata = RaftMetadata
This metadata is associated to every node at the coordination level
§type Service = RaftService<<RaftSDK as CoordinationSDK>::Clock, RaftState>
type Service = RaftService<<RaftSDK as CoordinationSDK>::Clock, RaftState>
The type of the
crate::coordination::CoordinationService
to be used.§type PackageBuilder = RaftPackageBuilder<RaftState>
type PackageBuilder = RaftPackageBuilder<RaftState>
This
PackageBuilder
will be used to construct the messages to be sent and received.type MetadataBuilder = RaftMetadataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RaftSDK
impl Send for RaftSDK
impl Sync for RaftSDK
impl Unpin for RaftSDK
impl UnwindSafe for RaftSDK
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more