pub struct ParameterMemrefInout<'a> { /* private fields */ }Expand description
A memory-reference in/out parameter.
The host passes a read-write buffer. The TA may read the initial contents, overwrite them, and report the final number of valid bytes.
Trait Implementations§
Source§impl<'a> FromRawParameter<'a> for ParameterMemrefInout<'a>
impl<'a> FromRawParameter<'a> for ParameterMemrefInout<'a>
Source§impl<'a> ParameterMemref for ParameterMemrefInout<'a>
impl<'a> ParameterMemref for ParameterMemrefInout<'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.
Source§impl<'a> ParameterMemrefRead for ParameterMemrefInout<'a>
impl<'a> ParameterMemrefRead for ParameterMemrefInout<'a>
Source§impl<'a> ParameterMemrefWrite for ParameterMemrefInout<'a>
impl<'a> ParameterMemrefWrite for ParameterMemrefInout<'a>
Source§unsafe fn set_updated_size_unchecked(&mut self, size: usize)
unsafe fn set_updated_size_unchecked(&mut self, size: usize)
Directly sets the updated size without bounds checking. Read more
Source§fn set_updated_size(&mut self, size: usize) -> Result<()>
fn set_updated_size(&mut self, size: usize) -> Result<()>
Sets the updated size after bounds checking. Read more
Auto Trait Implementations§
impl<'a> !Send for ParameterMemrefInout<'a>
impl<'a> !Sync for ParameterMemrefInout<'a>
impl<'a> !UnwindSafe for ParameterMemrefInout<'a>
impl<'a> Freeze for ParameterMemrefInout<'a>
impl<'a> RefUnwindSafe for ParameterMemrefInout<'a>
impl<'a> Unpin for ParameterMemrefInout<'a>
impl<'a> UnsafeUnpin for ParameterMemrefInout<'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