pub struct VirtualMuxAccel<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VirtualMuxAccel<'a>
impl<'a> VirtualMuxAccel<'a>
pub fn new(mux_accel: &'a MuxAccel<'a>) -> VirtualMuxAccel<'a>
pub fn set_client(&'a self, client: &'a dyn Client<'a>)
pub fn load_binary(&self, input: &[u8]) -> Result<(), ErrorCode>
pub fn load_data(&self, address: usize, data: &[u8]) -> Result<(), ErrorCode>
pub fn run( &self, address: usize, output: &'static mut [u8], ) -> Result<(), (ErrorCode, &'static mut [u8])>
Sourcepub fn clear_data(&self)
pub fn clear_data(&self)
Disable the Accel hardware and clear the keys and any other sensitive data
Trait Implementations§
Source§impl<'a> Client<'a> for VirtualMuxAccel<'a>
impl<'a> Client<'a> for VirtualMuxAccel<'a>
Source§impl<'a> ListNode<'a, VirtualMuxAccel<'a>> for VirtualMuxAccel<'a>
impl<'a> ListNode<'a, VirtualMuxAccel<'a>> for VirtualMuxAccel<'a>
fn next(&self) -> &'a ListLink<'_, VirtualMuxAccel<'a>>
Auto Trait Implementations§
impl<'a> !Freeze for VirtualMuxAccel<'a>
impl<'a> !RefUnwindSafe for VirtualMuxAccel<'a>
impl<'a> !Send for VirtualMuxAccel<'a>
impl<'a> !Sync for VirtualMuxAccel<'a>
impl<'a> Unpin for VirtualMuxAccel<'a>
impl<'a> !UnwindSafe for VirtualMuxAccel<'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