pub fn try_syscall<'a>(
    req: SysCallRequest<'a>
) -> Result<SysCallSuccess<'a>, ()>
Expand description

Perform a failable system call

Take a system call request, and return a result containing either a successful response, or an indeterminite error.

At the moment, this is limited to requests and responses with a maximum serialized size of 128 bytes. This function handles the serialization and deserialization of the request and response automatically.

(At least) 256 bytes of stack will be used to hold the serialized request and response parameters

This function is typically only used for creating relevant porcelain functions. Consider using those instead.