#[repr(i32)]pub enum CheckTxKind {
New = 0,
Recheck = 1,
}
Expand description
The possible kinds of CheckTx
checks.
Note: the
ABCI documentation
calls this CheckTxType
, but we follow the Rust convention and name it CheckTxKind
to avoid confusion with Rust types.
Variants§
New = 0
A full check is required (the default).
Recheck = 1
Indicates that the mempool is initiating a recheck of the transaction.
Trait Implementations§
Source§impl Clone for CheckTxKind
impl Clone for CheckTxKind
Source§fn clone(&self) -> CheckTxKind
fn clone(&self) -> CheckTxKind
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 CheckTxKind
impl Debug for CheckTxKind
Source§impl Default for CheckTxKind
impl Default for CheckTxKind
Source§fn default() -> CheckTxKind
fn default() -> CheckTxKind
Returns the “default value” for a type. Read more
Source§impl Hash for CheckTxKind
impl Hash for CheckTxKind
Source§impl PartialEq for CheckTxKind
impl PartialEq for CheckTxKind
impl Copy for CheckTxKind
impl Eq for CheckTxKind
impl StructuralPartialEq for CheckTxKind
Auto Trait Implementations§
impl Freeze for CheckTxKind
impl RefUnwindSafe for CheckTxKind
impl Send for CheckTxKind
impl Sync for CheckTxKind
impl Unpin for CheckTxKind
impl UnwindSafe for CheckTxKind
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