Struct optee_teec::Session
source · pub struct Session<'ctx> { /* private fields */ }
Expand description
Represents a connection between a client application and a trusted application.
Implementations§
source§impl<'ctx> Session<'ctx>
impl<'ctx> Session<'ctx>
sourcepub fn new<A: Param, B: Param, C: Param, D: Param>(
context: &'ctx mut Context,
uuid: Uuid,
operation: Option<&mut Operation<A, B, C, D>>
) -> Result<Self>
pub fn new<A: Param, B: Param, C: Param, D: Param>( context: &'ctx mut Context, uuid: Uuid, operation: Option<&mut Operation<A, B, C, D>> ) -> Result<Self>
Initializes a TEE session object with specified context and uuid.
sourcepub fn as_mut_raw_ptr(&mut self) -> *mut TEEC_Session
pub fn as_mut_raw_ptr(&mut self) -> *mut TEEC_Session
Converts a TEE client context to a raw pointer.
Trait Implementations§
Auto Trait Implementations§
impl<'ctx> Freeze for Session<'ctx>
impl<'ctx> RefUnwindSafe for Session<'ctx>
impl<'ctx> !Send for Session<'ctx>
impl<'ctx> !Sync for Session<'ctx>
impl<'ctx> Unpin for Session<'ctx>
impl<'ctx> !UnwindSafe for Session<'ctx>
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