#[repr(usize)]pub enum Syscall {
Show 18 variants
Unknown(usize),
Argc = 1,
Argv = 2,
CycleCount = 3,
Exit = 4,
Fork = 5,
Getenv = 6,
Keccak = 7,
Log = 8,
Panic = 9,
Pipe = 10,
Random = 11,
Read = 12,
User = 13,
VerifyIntegrity = 14,
VerifyIntegrity2 = 15,
Write = 16,
ProveZkr = 17,
}
Variants§
Unknown(usize)
Argc = 1
Argv = 2
CycleCount = 3
Exit = 4
Fork = 5
Getenv = 6
Keccak = 7
Log = 8
Panic = 9
Pipe = 10
Random = 11
Read = 12
User = 13
VerifyIntegrity = 14
VerifyIntegrity2 = 15
Write = 16
ProveZkr = 17
Trait Implementations§
Source§impl FromPrimitive for Syscall
impl FromPrimitive for Syscall
impl Copy for Syscall
impl Eq for Syscall
impl StructuralPartialEq for Syscall
Auto Trait Implementations§
impl Freeze for Syscall
impl RefUnwindSafe for Syscall
impl Send for Syscall
impl Sync for Syscall
impl Unpin for Syscall
impl UnwindSafe for Syscall
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