hv1_hypercall

Trait VtlCall

Source
pub trait VtlCall {
    // Required methods
    fn is_vtl_call_allowed(&self) -> bool;
    fn vtl_call(&mut self);
}
Expand description

Implements the HvVtlCall hypercall.

Required Methods§

Source

fn is_vtl_call_allowed(&self) -> bool

Checks if a call to a higher vtl is allowed based on current state.

Source

fn vtl_call(&mut self)

Calls the higher VTL.

Implementors§