Enum cfx_vm_types::MessageCallResult
source · pub enum MessageCallResult {
Success(U256, ReturnData),
Failed(Error),
Reverted(U256, ReturnData),
}
Expand description
Result of externalities call function.
Variants§
Success(U256, ReturnData)
Returned when message call was successful. Contains gas left and output data.
Failed(Error)
Returned when message call failed. Returns the reason so block trace can record it.
Reverted(U256, ReturnData)
Returned when message call was reverted. Contains gas left and output data.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MessageCallResult
impl Send for MessageCallResult
impl Sync for MessageCallResult
impl Unpin for MessageCallResult
impl !UnwindSafe for MessageCallResult
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