pub struct Session { /* private fields */ }
Expand description
Represents a connection between a client application and a trusted application.
Implementations§
Source§impl Session
impl Session
Sourcepub fn new<A: Param, B: Param, C: Param, D: Param>(
context: &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: &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 Freeze for Session
impl RefUnwindSafe for Session
impl !Send for Session
impl !Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
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