pub struct RaftCoreHandlers<T: TypeConfig> {
pub election_handler: EOF<T>,
pub replication_handler: REPOF<T>,
pub state_machine_handler: Arc<SMHOF<T>>,
pub purge_executor: Arc<PE<T>>,
}Fields§
§election_handler: EOF<T>§replication_handler: REPOF<T>§state_machine_handler: Arc<SMHOF<T>>§purge_executor: Arc<PE<T>>Auto Trait Implementations§
impl<T> Freeze for RaftCoreHandlers<T>
impl<T> RefUnwindSafe for RaftCoreHandlers<T>where
<T as TypeConfig>::E: RefUnwindSafe,
<T as TypeConfig>::REP: RefUnwindSafe,
<T as TypeConfig>::SMH: RefUnwindSafe,
<T as TypeConfig>::PE: RefUnwindSafe,
impl<T> Send for RaftCoreHandlers<T>
impl<T> Sync for RaftCoreHandlers<T>
impl<T> Unpin for RaftCoreHandlers<T>
impl<T> UnwindSafe for RaftCoreHandlers<T>where
<T as TypeConfig>::E: UnwindSafe,
<T as TypeConfig>::REP: UnwindSafe,
<T as TypeConfig>::SMH: RefUnwindSafe,
<T as TypeConfig>::PE: RefUnwindSafe,
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