Inbox

Trait Inbox 

Source
pub trait Inbox<P>
where P: Protocol,
{ // Required methods fn push_prepare(&mut self, message: Prepare<P::Request, P::Prediction>); fn push_prepare_ok(&mut self, message: PrepareOk); fn push_commit(&mut self, message: Commit); fn push_get_state(&mut self, message: GetState); fn push_new_state(&mut self, message: NewState<P::Request, P::Prediction>); fn push_start_view_change(&mut self, message: StartViewChange); fn push_do_view_change( &mut self, message: DoViewChange<P::Request, P::Prediction>, ); fn push_start_view(&mut self, message: StartView<P::Request, P::Prediction>); fn push_recovery(&mut self, message: Recovery); fn push_recovery_response( &mut self, message: RecoveryResponse<P::Request, P::Prediction>, ); }

Required Methods§

Source

fn push_prepare(&mut self, message: Prepare<P::Request, P::Prediction>)

Source

fn push_prepare_ok(&mut self, message: PrepareOk)

Source

fn push_commit(&mut self, message: Commit)

Source

fn push_get_state(&mut self, message: GetState)

Source

fn push_new_state(&mut self, message: NewState<P::Request, P::Prediction>)

Source

fn push_start_view_change(&mut self, message: StartViewChange)

Source

fn push_do_view_change( &mut self, message: DoViewChange<P::Request, P::Prediction>, )

Source

fn push_start_view(&mut self, message: StartView<P::Request, P::Prediction>)

Source

fn push_recovery(&mut self, message: Recovery)

Source

fn push_recovery_response( &mut self, message: RecoveryResponse<P::Request, P::Prediction>, )

Implementors§

Source§

impl<P> Inbox<P> for BufferedMailbox<P>
where P: Protocol,