pub trait FromRawParameter<'a>: Sized {
// Required method
unsafe fn from_raw(
raw_type: RawParamType,
raw_param: &'a mut TEE_Param,
) -> Result<Self>;
}Expand description
Convert a single raw parameter into a type-safe Rust wrapper.
§Safety
Implementors must validate that raw_type matches the expected parameter
type and that raw_param has been correctly initialized by the TEE
runtime before reading any fields.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".