pub struct TestCrc<'a, C: 'a> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a, C: Crc<'a>> Client for TestCrc<'a, C>
impl<'a, C: Crc<'a>> Client for TestCrc<'a, C>
Source§fn crc_done(&self, result: Result<CrcOutput, ErrorCode>)
fn crc_done(&self, result: Result<CrcOutput, ErrorCode>)
Called when the CRC computation is finished.
Source§fn input_done(
&self,
result: Result<(), ErrorCode>,
buffer: SubSliceMut<'static, u8>,
)
fn input_done( &self, result: Result<(), ErrorCode>, buffer: SubSliceMut<'static, u8>, )
Called when the current data chunk has been processed by the
CRC engine. Further data may be supplied when this callback is
received.
Auto Trait Implementations§
impl<'a, C> !Freeze for TestCrc<'a, C>
impl<'a, C> !RefUnwindSafe for TestCrc<'a, C>
impl<'a, C> Send for TestCrc<'a, C>where
C: Sync,
impl<'a, C> !Sync for TestCrc<'a, C>
impl<'a, C> Unpin for TestCrc<'a, C>
impl<'a, C> !UnwindSafe for TestCrc<'a, C>
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