Trait Client

Source
pub trait Client<'a> {
    // Required method
    fn op_done(
        &'a self,
        result: Result<(), ErrorCode>,
        output: &'static mut [u8],
    );
}
Expand description

Implement this trait and use set_client() in order to receive callbacks.

Required Methods§

Source

fn op_done(&'a self, result: Result<(), ErrorCode>, output: &'static mut [u8])

This callback is called when a operation is computed. On error or success output will contain a reference to the original data supplied to run().

Implementors§

Source§

impl<'a> Client<'a> for OtbnRsa<'a>

Source§

impl<'a> Client<'a> for VirtualMuxAccel<'a>