pub enum ConsensusResponse {
InitChain(InitChain),
BeginBlock(BeginBlock),
DeliverTx(DeliverTx),
EndBlock(EndBlock),
Commit(Commit),
}
Expand description
The consensus category of ABCI responses.
Variants§
InitChain(InitChain)
Returned on genesis after initializing chain state.
BeginBlock(BeginBlock)
Returns events that occurred when beginning a new block.
DeliverTx(DeliverTx)
Returns events that occurred while executing a transaction against the application state.
EndBlock(EndBlock)
Returns validator updates that occur after the end of a block.
Commit(Commit)
Returns the result of persisting the application state.
Trait Implementations§
Source§impl Clone for ConsensusResponse
impl Clone for ConsensusResponse
Source§fn clone(&self) -> ConsensusResponse
fn clone(&self) -> ConsensusResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConsensusResponse
impl Debug for ConsensusResponse
Source§impl From<ConsensusResponse> for Response
impl From<ConsensusResponse> for Response
Source§fn from(req: ConsensusResponse) -> Self
fn from(req: ConsensusResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConsensusResponse
impl PartialEq for ConsensusResponse
Source§impl TryFrom<Response> for ConsensusResponse
impl TryFrom<Response> for ConsensusResponse
impl Eq for ConsensusResponse
impl StructuralPartialEq for ConsensusResponse
Auto Trait Implementations§
impl !Freeze for ConsensusResponse
impl RefUnwindSafe for ConsensusResponse
impl Send for ConsensusResponse
impl Sync for ConsensusResponse
impl Unpin for ConsensusResponse
impl UnwindSafe for ConsensusResponse
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