#[repr(u32)]pub enum ParamType {
None = 0,
ValueInput = 1,
ValueOutput = 2,
ValueInout = 3,
MemrefInput = 5,
MemrefOutput = 6,
MemrefInout = 7,
Unknown(u32),
}Expand description
Enumerates the seven standard TEE parameter types.
This is the Rust-side mirror of the TEE_PARAM_TYPE_* constants defined
in the C header. The Unknown(u32) variant catches any
implementation-defined or invalid type tags.
Variants§
None = 0
ValueInput = 1
ValueOutput = 2
ValueInout = 3
MemrefInput = 5
MemrefOutput = 6
MemrefInout = 7
Unknown(u32)
Trait Implementations§
impl Copy for ParamType
Auto Trait Implementations§
impl Freeze for ParamType
impl RefUnwindSafe for ParamType
impl Send for ParamType
impl Sync for ParamType
impl Unpin for ParamType
impl UnsafeUnpin for ParamType
impl UnwindSafe for ParamType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more