pub trait TestVector {
// Provided methods
fn initialize_test_vector<T: Into<PathBuf>>(
tv_file_path: T,
file_format: TestVectorFileFormat,
test_mode: TestMode,
) -> TlsEnvGuard { ... }
fn initialize_values<T: TestVectorSet>() -> T
where Self: Sized { ... }
fn expose_value<O>(test_vec_field: &TestValue<O>, observed_value: O) -> O { ... }
fn expose_mut_value<O>(
test_vec_field: &TestValue<O>,
observed_mut_value: &mut O,
) { ... }
fn check_value<O>(test_vec_field: &TestValue<O>, observed_value: &O) { ... }
fn is_test_vector_enabled() -> bool { ... }
}Provided Methods§
fn initialize_test_vector<T: Into<PathBuf>>( tv_file_path: T, file_format: TestVectorFileFormat, test_mode: TestMode, ) -> TlsEnvGuard
fn initialize_values<T: TestVectorSet>() -> Twhere
Self: Sized,
fn expose_value<O>(test_vec_field: &TestValue<O>, observed_value: O) -> O
fn expose_mut_value<O>( test_vec_field: &TestValue<O>, observed_mut_value: &mut O, )
fn check_value<O>(test_vec_field: &TestValue<O>, observed_value: &O)
fn is_test_vector_enabled() -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.