pub struct InMemoryTee { /* private fields */ }Trait Implementations§
Source§impl Debug for InMemoryTee
impl Debug for InMemoryTee
Source§impl Default for InMemoryTee
impl Default for InMemoryTee
Source§fn default() -> InMemoryTee
fn default() -> InMemoryTee
Returns the “default value” for a type. Read more
Source§impl TeeGuard for InMemoryTee
impl TeeGuard for InMemoryTee
fn initialize(&mut self) -> Result<(), TeeError>
fn allocate_memory(&mut self, size: usize) -> Result<*mut u8, TeeError>
fn write_data(&mut self, ptr: *mut u8, data: &[u8]) -> Result<(), TeeError>
fn execute_computation( &self, input_ptrs: &[*const u8], params: &ComputationParams, ) -> Result<Vec<u8>, TeeError>
Auto Trait Implementations§
impl Freeze for InMemoryTee
impl RefUnwindSafe for InMemoryTee
impl Send for InMemoryTee
impl Sync for InMemoryTee
impl Unpin for InMemoryTee
impl UnsafeUnpin for InMemoryTee
impl UnwindSafe for InMemoryTee
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