Trait solana_rbpf::vm::SyscallObject [−][src]
pub trait SyscallObject<E: UserDefinedError> { fn call(
&mut self,
arg1: u64,
arg2: u64,
arg3: u64,
arg4: u64,
arg5: u64,
memory_mapping: &MemoryMapping<'_>,
result: &mut ProgramResult<E>
); }
Expand description
Syscall with context
Required methods
fn call(
&mut self,
arg1: u64,
arg2: u64,
arg3: u64,
arg4: u64,
arg5: u64,
memory_mapping: &MemoryMapping<'_>,
result: &mut ProgramResult<E>
)
[src]
fn call(
&mut self,
arg1: u64,
arg2: u64,
arg3: u64,
arg4: u64,
arg5: u64,
memory_mapping: &MemoryMapping<'_>,
result: &mut ProgramResult<E>
)
[src]Call the syscall function
Implementors
impl SyscallObject<UserError> for BpfGatherBytes
[src]
impl SyscallObject<UserError> for BpfGatherBytes
[src]impl SyscallObject<UserError> for BpfMemFrob
[src]
impl SyscallObject<UserError> for BpfMemFrob
[src]impl SyscallObject<UserError> for BpfRand
[src]
impl SyscallObject<UserError> for BpfRand
[src]impl SyscallObject<UserError> for BpfSqrtI
[src]
impl SyscallObject<UserError> for BpfSqrtI
[src]impl SyscallObject<UserError> for BpfStrCmp
[src]
impl SyscallObject<UserError> for BpfStrCmp
[src]impl SyscallObject<UserError> for BpfTimeGetNs
[src]
impl SyscallObject<UserError> for BpfTimeGetNs
[src]impl SyscallObject<UserError> for BpfTracePrintf
[src]
impl SyscallObject<UserError> for BpfTracePrintf
[src]