pub enum EcallKind {
Ecall,
Ecalli(u32),
}Expand description
Which PVM ecall opcode triggered this invocation.
Variants§
Ecall
PVM ecall (opcode 3). No immediate; the handler reads
regs[11] (mgmt op) and regs[12] (subject|object) per the
v3 ABI convention.
Ecalli(u32)
PVM ecalli (opcode 10). Carries a u32 immediate payload.
Trait Implementations§
impl Copy for EcallKind
impl Eq for EcallKind
impl StructuralPartialEq for EcallKind
Auto Trait Implementations§
impl Freeze for EcallKind
impl RefUnwindSafe for EcallKind
impl Send for EcallKind
impl Sync for EcallKind
impl Unpin for EcallKind
impl UnsafeUnpin for EcallKind
impl UnwindSafe for EcallKind
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