pub trait SyscallResultTrait {
// Required method
fn as_u32(&self) -> u32;
}Expand description
A trait to implement methods into the SyscallResult type
Required Methods§
Sourcefn as_u32(&self) -> u32
fn as_u32(&self) -> u32
Convert a given SyscallError into a u32
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".