pub struct ParameterMemrefInput<'a>(/* private fields */);Expand description
A memory-reference input parameter.
The host passes a read-only buffer to the TA. The length is the original buffer size as specified by the host.
Trait Implementations§
Source§impl<'a> FromRawParameter<'a> for ParameterMemrefInput<'a>
impl<'a> FromRawParameter<'a> for ParameterMemrefInput<'a>
Source§impl<'a> ParameterMemref for ParameterMemrefInput<'a>
impl<'a> ParameterMemref for ParameterMemrefInput<'a>
Source§fn buffer_len(&self) -> usize
fn buffer_len(&self) -> usize
Returns the size of the shared buffer as supplied by the host, in bytes.
Auto Trait Implementations§
impl<'a> !Send for ParameterMemrefInput<'a>
impl<'a> !Sync for ParameterMemrefInput<'a>
impl<'a> Freeze for ParameterMemrefInput<'a>
impl<'a> RefUnwindSafe for ParameterMemrefInput<'a>
impl<'a> Unpin for ParameterMemrefInput<'a>
impl<'a> UnsafeUnpin for ParameterMemrefInput<'a>
impl<'a> UnwindSafe for ParameterMemrefInput<'a>
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