#[non_exhaustive]pub enum Failure {
Show 13 variants
Unreachable(String),
Said(String),
Leftover(Box<ErrorReport>),
ImageDownload(Box<ErrorReport>),
NoBridge(Box<ErrorReport>),
NameTaken,
Upload(String),
NoBox(Box<ErrorReport>),
PowerOn(Box<ErrorReport>),
NoAddress(Box<ErrorReport>),
NoSsh(Box<ErrorReport>),
Command {
exit: i32,
output: String,
},
Runner(Box<ErrorReport>),
}Expand description
Why a step failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unreachable(String)
The server gave no answer at this address (host:port).
Said(String)
What went wrong outside the runner (the project couldn’t be written).
Leftover(Box<ErrorReport>)
What an earlier test left couldn’t be taken down: the runner’s report.
ImageDownload(Box<ErrorReport>)
The server couldn’t download the VM’s image (Proxmox VE).
NoBridge(Box<ErrorReport>)
A bridge the VM needs isn’t on the server’s node (Proxmox VE: the test’s own network, when the node doesn’t load its SDN configuration).
NameTaken
A VM of the test’s name is on the host already, which the test didn’t make (ESXi).
Upload(String)
The OVF Tool couldn’t upload the VM (ESXi): its last error line, else the runner’s message.
NoBox(Box<ErrorReport>)
Vagrant couldn’t get the box for the server’s hypervisor (ESXi).
PowerOn(Box<ErrorReport>)
The server couldn’t power the VM on (ESXi).
NoAddress(Box<ErrorReport>)
The VM got no address on the server’s network in time.
NoSsh(Box<ErrorReport>)
The VM didn’t accept SSH in time: the last try’s report.
Command
The command inside ran and failed: its exit status and what it printed.
Runner(Box<ErrorReport>)
The runner’s refusal or failure, as it reports it.
Implementations§
Trait Implementations§
impl Eq for Failure
impl StructuralPartialEq for Failure
Auto Trait Implementations§
impl Forget for Failure
impl Freeze for Failure
impl Move for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.