pub trait SyscallTable<Abi>where
    Abi: SyscallAbi,{
    // Required method
    fn handle_call(
        &self,
        num: <Abi as SyscallAbi>::SyscallNumType,
        arg: <Abi as SyscallAbi>::SyscallArgType
    ) -> <Abi as SyscallAbi>::SyscallRetType;
}
Expand description

Defines a function for handling incoming syscalls, before decoding.

Required Methods§

source

fn handle_call( &self, num: <Abi as SyscallAbi>::SyscallNumType, arg: <Abi as SyscallAbi>::SyscallArgType ) -> <Abi as SyscallAbi>::SyscallRetType

Implementors§