pub trait Tape: Send + Sync { // Required methods fn record(&self, entry: TapeEntry); fn next(&self, kind: &str, input: &str) -> Option<Result<Value, String>>; }
Where recorded calls are kept.
Append a call.
Take the next unreplayed output recorded for kind and input, in recording order. None when the tape holds no (more) such call.
kind
input
None