pub enum ReplayVerdict {
Same,
OtherExit {
recorded: i32,
replayed: i32,
command: Option<CommandNumber>,
},
OtherOutput {
stream: OutputStream,
at: u64,
command: Option<CommandNumber>,
},
OtherCommand {
command: CommandNumber,
},
}Expand description
Whether a replay was the run it replayed, as far as can be seen from
outside: its exit code, and its output, byte for byte; a sandbox’s that
took commands, each command’s, in their order. A replay that isn’t the
run, where dvm sees it, fails instead (RunState::Failed, dvm’s
reason).
Variants§
Same
The same exit code, and the same output.
OtherExit
Another exit code: the run’s, or the command’s.
OtherOutput
Another output: the stream it parted in first, and at which byte; the run’s, or the command’s.
OtherCommand
A command that ran in one and not in the other, or ended in one and not in the other.
Fields
§
command: CommandNumberImplementations§
Trait Implementations§
Source§impl Clone for ReplayVerdict
impl Clone for ReplayVerdict
Source§impl Debug for ReplayVerdict
impl Debug for ReplayVerdict
Source§impl<'de> Deserialize<'de> for ReplayVerdict
impl<'de> Deserialize<'de> for ReplayVerdict
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReplayVerdict
Source§impl PartialEq for ReplayVerdict
impl PartialEq for ReplayVerdict
Source§impl Serialize for ReplayVerdict
impl Serialize for ReplayVerdict
impl StructuralPartialEq for ReplayVerdict
Auto Trait Implementations§
impl Forget for ReplayVerdict
impl Freeze for ReplayVerdict
impl RefUnwindSafe for ReplayVerdict
impl Send for ReplayVerdict
impl Sync for ReplayVerdict
impl Unpin for ReplayVerdict
impl UnsafeUnpin for ReplayVerdict
impl UnwindSafe for ReplayVerdict
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