pub enum EcallResult {
Continue,
Exit(ExitReason),
}Expand description
Result of handling one ecall.
Variants§
Continue
Engine continues at the current PC (advanced past the ecall).
Exit(ExitReason)
Engine exits with the given reason.
Trait Implementations§
Source§impl Clone for EcallResult
impl Clone for EcallResult
Source§fn clone(&self) -> EcallResult
fn clone(&self) -> EcallResult
Returns a duplicate 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 EcallResult
impl Debug for EcallResult
Source§impl PartialEq for EcallResult
impl PartialEq for EcallResult
impl Eq for EcallResult
impl StructuralPartialEq for EcallResult
Auto Trait Implementations§
impl Freeze for EcallResult
impl RefUnwindSafe for EcallResult
impl Send for EcallResult
impl Sync for EcallResult
impl Unpin for EcallResult
impl UnsafeUnpin for EcallResult
impl UnwindSafe for EcallResult
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