pub struct AcvpTest<T> {
pub tcid: u32,
pub tgdata: TestGroupData,
pub test: T,
/* private fields */
}Fields§
§tcid: u32§tgdata: TestGroupData§test: TImplementations§
Trait Implementations§
Source§impl<T: TestCase> TestCase for AcvpTest<T>
impl<T: TestCase> TestCase for AcvpTest<T>
fn new(test: &str, tgdata: &TestGroupData) -> AcvpResult<Self>
fn get_result(&self) -> AcvpResult<JsonValue>
fn dump_result(&self) -> AcvpResult<String>
fn pretty_result(&self) -> AcvpResult<String>
Source§impl<T: TestResult<MsgAuthOutput>> TestResult<MsgAuthOutput> for AcvpTest<T>
impl<T: TestResult<MsgAuthOutput>> TestResult<MsgAuthOutput> for AcvpTest<T>
fn set_result(&mut self, res: MsgAuthOutput) -> AcvpResult<()>
Source§impl<T: TestResult<Vec<BlkCipherMCTOutput>>> TestResult<Vec<BlkCipherMCTOutput>> for AcvpTest<T>
impl<T: TestResult<Vec<BlkCipherMCTOutput>>> TestResult<Vec<BlkCipherMCTOutput>> for AcvpTest<T>
fn set_result(&mut self, res: Vec<BlkCipherMCTOutput>) -> AcvpResult<()>
Source§impl<T: TestResult<Vec<Vec<u8>>>> TestResult<Vec<Vec<u8>>> for AcvpTest<T>
impl<T: TestResult<Vec<Vec<u8>>>> TestResult<Vec<Vec<u8>>> for AcvpTest<T>
fn set_result(&mut self, res: Vec<Vec<u8>>) -> AcvpResult<()>
Source§impl<T: TestResult<Vec<u8>>> TestResult<Vec<u8>> for AcvpTest<T>
impl<T: TestResult<Vec<u8>>> TestResult<Vec<u8>> for AcvpTest<T>
fn set_result(&mut self, res: Vec<u8>) -> AcvpResult<()>
Source§impl<T: TestResult<bool>> TestResult<bool> for AcvpTest<T>
impl<T: TestResult<bool>> TestResult<bool> for AcvpTest<T>
fn set_result(&mut self, res: bool) -> AcvpResult<()>
impl<T: Eq> Eq for AcvpTest<T>
impl<T> StructuralPartialEq for AcvpTest<T>
Auto Trait Implementations§
impl<T> Freeze for AcvpTest<T>where
T: Freeze,
impl<T> RefUnwindSafe for AcvpTest<T>where
T: RefUnwindSafe,
impl<T> Send for AcvpTest<T>where
T: Send,
impl<T> Sync for AcvpTest<T>where
T: Sync,
impl<T> Unpin for AcvpTest<T>where
T: Unpin,
impl<T> UnwindSafe for AcvpTest<T>where
T: UnwindSafe,
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