pub struct VectorRunner;Expand description
Drives a vector through a registered TC scheme.
Implementations§
Source§impl VectorRunner
impl VectorRunner
Sourcepub fn run(vector: &TestVector) -> Result<TestResult>
pub fn run(vector: &TestVector) -> Result<TestResult>
Execute vector against the scheme resolved from
vector.scheme.name via the link-time registry.
All parties run in-process in the calling thread, round by round. The deterministic env is seeded from the vector; the Byzantine transport applies the vector’s per-party behaviors.
Sourcepub fn run_path(path: &Path) -> Result<TestResult>
pub fn run_path(path: &Path) -> Result<TestResult>
Convenience: parse a vector from a path and run it.
Auto Trait Implementations§
impl Freeze for VectorRunner
impl RefUnwindSafe for VectorRunner
impl Send for VectorRunner
impl Sync for VectorRunner
impl Unpin for VectorRunner
impl UnsafeUnpin for VectorRunner
impl UnwindSafe for VectorRunner
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