pub enum Fidelity {
Matches,
Differs,
Unknown,
}Expand description
How faithfully a replay can reproduce what a recording was sent.
Variants§
Matches
Today’s surface hashes to the recorded value. The replay sends what the recording sent.
Differs
It provably does not, and the difference is in the bytes ahead of the system prompt. A replay may still run; its divergences say nothing about the question being probed.
Unknown
The recording predates the field, so there is nothing to compare. Not a match — see the module note.
Implementations§
Trait Implementations§
impl Copy for Fidelity
impl Eq for Fidelity
impl StructuralPartialEq for Fidelity
Auto Trait Implementations§
impl Freeze for Fidelity
impl RefUnwindSafe for Fidelity
impl Send for Fidelity
impl Sync for Fidelity
impl Unpin for Fidelity
impl UnsafeUnpin for Fidelity
impl UnwindSafe for Fidelity
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