rust: derive Debug trait on some abstractions

Such as ExecutionResult and ExecutionMessage.
This commit is contained in:
Alex Beregszaszi 2019-08-10 09:51:34 +02:00
parent 611e050dcf
commit cd0a8bc950
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ pub trait EvmcVm {
}
/// EVMC result structure.
#[derive(Debug)]
pub struct ExecutionResult {
status_code: ffi::evmc_status_code,
gas_left: i64,
@ -38,6 +39,7 @@ pub struct ExecutionResult {
}
/// EVMC execution message structure.
#[derive(Debug)]
pub struct ExecutionMessage {
kind: ffi::evmc_call_kind,
flags: u32,