Enum tendermint::abci::Code [−][src]
pub enum Code { Ok, Err(u32), }
Expand description
ABCI application response codes.
These presently use 0 for success and non-zero for errors:
https://tendermint.com/docs/spec/abci/abci.html#errors
Note that in the future there may potentially be non-zero success codes.
Variants
Success
Err(u32)
Error codes
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Code
impl UnwindSafe for Code
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V