pub struct TestHmacSha1<'a, H: Digest<'a, HMAC_SHA1_DIGEST_LEN>> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'a, H: Digest<'a, HMAC_SHA1_DIGEST_LEN>> CapsuleTest for TestHmacSha1<'a, H>
impl<'a, H: Digest<'a, HMAC_SHA1_DIGEST_LEN>> CapsuleTest for TestHmacSha1<'a, H>
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<'a, H: Digest<'a, HMAC_SHA1_DIGEST_LEN>> ClientData<HMAC_SHA1_DIGEST_LEN> for TestHmacSha1<'a, H>
impl<'a, H: Digest<'a, HMAC_SHA1_DIGEST_LEN>> ClientData<HMAC_SHA1_DIGEST_LEN> for TestHmacSha1<'a, H>
Source§fn add_data_done(
&self,
_result: Result<(), ErrorCode>,
_data: SubSlice<'static, u8>,
)
fn add_data_done( &self, _result: Result<(), ErrorCode>, _data: SubSlice<'static, u8>, )
Called when the data has been added to the digest. Read more
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>, )
Called when the data has been added to the digest. Read more
Source§impl<'a, H: Digest<'a, HMAC_SHA1_DIGEST_LEN>> ClientHash<HMAC_SHA1_DIGEST_LEN> for TestHmacSha1<'a, H>
impl<'a, H: Digest<'a, HMAC_SHA1_DIGEST_LEN>> ClientHash<HMAC_SHA1_DIGEST_LEN> for TestHmacSha1<'a, H>
Source§impl<'a, H: Digest<'a, HMAC_SHA1_DIGEST_LEN>> ClientVerify<HMAC_SHA1_DIGEST_LEN> for TestHmacSha1<'a, H>
impl<'a, H: Digest<'a, HMAC_SHA1_DIGEST_LEN>> ClientVerify<HMAC_SHA1_DIGEST_LEN> for TestHmacSha1<'a, H>
Auto Trait Implementations§
impl<'a, H> !Freeze for TestHmacSha1<'a, H>
impl<'a, H> !RefUnwindSafe for TestHmacSha1<'a, H>
impl<'a, H> !Send for TestHmacSha1<'a, H>
impl<'a, H> !Sync for TestHmacSha1<'a, H>
impl<'a, H> !UnwindSafe for TestHmacSha1<'a, H>
impl<'a, H> Unpin for TestHmacSha1<'a, H>
impl<'a, H> UnsafeUnpin for TestHmacSha1<'a, H>
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