pub enum SpawnTestError {
JoinError(JoinError),
InvalidCommand,
SpawnFail(Error),
WriteStdinFail(Error),
WaitFail(Error),
}Expand description
There was an error spawning, writing to, or reading from a test
Variants§
JoinError(JoinError)
Failed to join thread
InvalidCommand
Invalid run command specified
SpawnFail(Error)
Failed to spawn run command
WriteStdinFail(Error)
Failed to write to stdin of test program
WaitFail(Error)
Failed to wait on run command
Trait Implementations§
Source§impl Debug for SpawnTestError
impl Debug for SpawnTestError
Source§impl Display for SpawnTestError
impl Display for SpawnTestError
Source§impl Error for SpawnTestError
impl Error for SpawnTestError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SpawnTestError
impl !RefUnwindSafe for SpawnTestError
impl Send for SpawnTestError
impl Sync for SpawnTestError
impl Unpin for SpawnTestError
impl !UnwindSafe for SpawnTestError
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