pub enum SystemError {
None,
Timeout(Duration),
CompileFailed,
ProcessSpawnFailed(String),
}Available on crate feature
dyntest only.Expand description
Variants§
None
无系统级错误;ok == false 时表示被测程序自身返回非零退出码。
Timeout(Duration)
执行超时并已被终止,载荷为超时阈值。
CompileFailed
cargo build 失败。
ProcessSpawnFailed(String)
子进程无法启动,载荷为系统错误描述。
Trait Implementations§
Source§impl Clone for SystemError
impl Clone for SystemError
Source§impl Debug for SystemError
impl Debug for SystemError
Source§impl PartialEq for SystemError
impl PartialEq for SystemError
impl StructuralPartialEq for SystemError
Auto Trait Implementations§
impl Freeze for SystemError
impl RefUnwindSafe for SystemError
impl Send for SystemError
impl Sync for SystemError
impl Unpin for SystemError
impl UnsafeUnpin for SystemError
impl UnwindSafe for SystemError
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