Struct optee_utee::TaSession
source · pub struct TaSession { /* private fields */ }
Implementations§
source§impl TaSession
impl TaSession
sourcepub fn invoke_command(
&mut self,
command_id: u32,
params: &mut TeeParams<'_>
) -> Result<()>
pub fn invoke_command( &mut self, command_id: u32, params: &mut TeeParams<'_> ) -> Result<()>
Invokes a command with the provided parameters using the session’s default timeout. Returns the result directly without allowing further method chaining.
pub fn invoke_command_with_timeout( &mut self, command_id: u32, params: &mut TeeParams<'_>, timeout: u32 ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaSession
impl RefUnwindSafe for TaSession
impl !Send for TaSession
impl !Sync for TaSession
impl Unpin for TaSession
impl UnwindSafe for TaSession
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