pub struct TestSha256 { /* private fields */ }Implementations§
Trait Implementations§
Source§impl CapsuleTest for TestSha256
impl CapsuleTest for TestSha256
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 ClientData<32> for TestSha256
impl ClientData<32> for TestSha256
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 ClientHash<32> for TestSha256
impl ClientHash<32> for TestSha256
Source§impl ClientVerify<32> for TestSha256
impl ClientVerify<32> for TestSha256
Auto Trait Implementations§
impl !Freeze for TestSha256
impl !RefUnwindSafe for TestSha256
impl !Send for TestSha256
impl !Sync for TestSha256
impl Unpin for TestSha256
impl UnsafeUnpin for TestSha256
impl !UnwindSafe for TestSha256
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