pub struct Pairwise { /* private fields */ }Expand description
Call state to advance answered comparisons and obtain pending requests in
comparison order. answer accepts only a currently pending request, once.
Unanswered presentations remain pending; one merge can advance independently
of another. Backend failures/invalid labels must be handled by the evaluator,
never converted into an Answer or a tie by this successful-answer machine.
Implementations§
Source§impl Pairwise
impl Pairwise
pub fn answer( &mut self, suffix: &str, answer: Answer, ) -> Result<(), ScheduleError>
pub fn state(&mut self) -> Result<ScheduleState, ScheduleError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pairwise
impl RefUnwindSafe for Pairwise
impl Send for Pairwise
impl Sync for Pairwise
impl Unpin for Pairwise
impl UnsafeUnpin for Pairwise
impl UnwindSafe for Pairwise
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