pub struct RaftTypeConfig<SE, SM>{ /* private fields */ }Trait Implementations§
Source§impl<SE, SM> Debug for RaftTypeConfig<SE, SM>
impl<SE, SM> Debug for RaftTypeConfig<SE, SM>
Source§impl<SE, SM> TypeConfig for RaftTypeConfig<SE, SM>
impl<SE, SM> TypeConfig for RaftTypeConfig<SE, SM>
type SE = SE
type SM = SM
type R = BufferedRaftLog<RaftTypeConfig<SE, SM>>
type TR = GrpcTransport<RaftTypeConfig<SE, SM>>
type M = RaftMembership<RaftTypeConfig<SE, SM>>
type REP = ReplicationHandler<RaftTypeConfig<SE, SM>>
type E = ElectionHandler<RaftTypeConfig<SE, SM>>
type C = DefaultCommitHandler<RaftTypeConfig<SE, SM>>
type SMH = DefaultStateMachineHandler<RaftTypeConfig<SE, SM>>
type SNP = LogSizePolicy
type PE = DefaultPurgeExecutor<RaftTypeConfig<SE, SM>>
Auto Trait Implementations§
impl<SE, SM> Freeze for RaftTypeConfig<SE, SM>
impl<SE, SM> RefUnwindSafe for RaftTypeConfig<SE, SM>where
SE: RefUnwindSafe,
SM: RefUnwindSafe,
impl<SE, SM> Send for RaftTypeConfig<SE, SM>
impl<SE, SM> Sync for RaftTypeConfig<SE, SM>
impl<SE, SM> Unpin for RaftTypeConfig<SE, SM>
impl<SE, SM> UnwindSafe for RaftTypeConfig<SE, SM>where
SE: UnwindSafe,
SM: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request