pub struct Report {
pub verdicts: Vec<(String, Verdict)>,
pub schedules: [Schedule; 2],
pub units: Report,
pub gave: [usize; 2],
}Expand description
A decision of two streams: a verdict per claimed output bit (out<k>.<i>), each side’s schedule, the units’ rounds,
and how many tokens each side gave in the clocks unrolled.
Fields§
§verdicts: Vec<(String, Verdict)>§schedules: [Schedule; 2]§units: Report§gave: [usize; 2]Implementations§
Source§impl Report
impl Report
Sourcepub fn check(
&self,
left: &StreamSide<'_>,
left_env: &Environment<'_>,
right: &StreamSide<'_>,
right_env: &Environment<'_>,
functions: &[(String, String)],
) -> bool
pub fn check( &self, left: &StreamSide<'_>, left_env: &Environment<'_>, right: &StreamSide<'_>, right_env: &Environment<'_>, functions: &[(String, String)], ) -> bool
Both schedules’ derivations replay and the units’ rounds check over the sides bound as the schedules say.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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