Signature
Trait functions
unwrap_syscall
Unwraps a syscall result, yielding the content of anOk.
Panics
Panics with the syscall error message if the value is anErr.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
pub trait SyscallResultTrait
Ok.
Err.
let result = starknet::syscalls::get_execution_info_v2_syscall();
let info = result.unwrap_syscall();
fn unwrap_syscall(self: SyscallResult) -> T
Was this page helpful?