Struct capsules_extra::test::siphash24::TestSipHash24
source · pub struct TestSipHash24 { /* private fields */ }
Implementations§
Trait Implementations§
source§impl CapsuleTest for TestSipHash24
impl CapsuleTest for TestSipHash24
source§fn set_client(&self, client: &'static dyn CapsuleTestClient)
fn set_client(&self, client: &'static dyn CapsuleTestClient)
Set the client for the done callback.
source§impl Client<8> for TestSipHash24
impl Client<8> for TestSipHash24
source§fn add_mut_data_done(
&self,
_result: Result<(), ErrorCode>,
data: SubSliceMut<'static, u8>,
)
fn add_mut_data_done( &self, _result: Result<(), ErrorCode>, data: SubSliceMut<'static, u8>, )
This callback is called when the data has been added to the hash
engine.
On error or success
data
will contain a reference to the original
data supplied to add_mut_data()
.
The possible ErrorCodes are: Read moresource§fn add_data_done(
&self,
_result: Result<(), ErrorCode>,
_data: SubSlice<'static, u8>,
)
fn add_data_done( &self, _result: Result<(), ErrorCode>, _data: SubSlice<'static, u8>, )
This callback is called when the data has been added to the hash
engine.
On error or success
data
will contain a reference to the original
data supplied to add_data()
.
The possible ErrorCodes are: Read moreAuto Trait Implementations§
impl !Freeze for TestSipHash24
impl !RefUnwindSafe for TestSipHash24
impl !Send for TestSipHash24
impl !Sync for TestSipHash24
impl Unpin for TestSipHash24
impl !UnwindSafe for TestSipHash24
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