#[non_exhaustive]pub enum WarningCode {
Show 13 variants
StepTolerated,
CheckRunnerFailed,
CheckCleanupFailed,
LeftoversRemoved,
OrphanRemoved,
OtherProvider,
SavedStateDiscarded,
Recovering,
Retrying,
RecordNotSaved,
OutputUnformatted,
AlreadyGone,
CleanupFailed,
}Expand description
What kind of warning a warning event is, the same in the Rust API and the event stream.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
StepTolerated
A step whose failure the manifest tolerates failed.
CheckRunnerFailed
A check runner failed or ran out of time: its checks that didn’t report fail.
CheckCleanupFailed
A clean-up of the checks failed: a check runner’s that ran out of time (on_timeout), or
the teardown after a setup that failed too (the check ends with the setup’s error).
LeftoversRemoved
What an earlier run left is removed before a start.
OrphanRemoved
A VM (or its folder) an earlier run left was removed.
OtherProvider
The run last ran on another Vagrant provider: that run is cleared first.
SavedStateDiscarded
A VM’s saved state was cut off: it boots fresh.
Recovering
A start failed on stale state: cleared, then started again.
Retrying
A step is tried again: an apply that failed, an ssh.run whose host doesn’t answer yet, or a
Vagrant command another Vagrant process’s lock on a machine refused.
RecordNotSaved
An operation that failed couldn’t update the run’s record either: the operation’s own error is the one it ends with.
OutputUnformatted
An output’s format couldn’t be filled (it names a value the run doesn’t have): the
output has no value.
AlreadyGone
A resource a destroy found already gone (its provider’s error, which the manifest names) is dropped from the run’s state, and the destroy runs again.
CleanupFailed
A clean-up the runner does on its own, best effort, failed (an earlier run’s VM or its folder, the hypervisor’s list of them, the run on another Vagrant provider): what it would have removed may still be there, and the start goes on.
Trait Implementations§
Source§impl Clone for WarningCode
impl Clone for WarningCode
impl Copy for WarningCode
Source§impl Debug for WarningCode
impl Debug for WarningCode
Source§impl<'de> Deserialize<'de> for WarningCode
impl<'de> Deserialize<'de> for WarningCode
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>,
impl Eq for WarningCode
Source§impl Hash for WarningCode
impl Hash for WarningCode
Source§impl JsonSchema for WarningCode
impl JsonSchema for WarningCode
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for WarningCode
impl PartialEq for WarningCode
Source§impl Serialize for WarningCode
impl Serialize for WarningCode
impl StructuralPartialEq for WarningCode
Auto Trait Implementations§
impl Forget for WarningCode
impl Freeze for WarningCode
impl Move for WarningCode
impl RefUnwindSafe for WarningCode
impl Send for WarningCode
impl Sync for WarningCode
impl Unpin for WarningCode
impl UnsafeUnpin for WarningCode
impl UnwindSafe for WarningCode
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.