#[non_exhaustive]pub enum WarningCode {
StepTolerated,
HookFailed,
CheckRunnerFailed,
CheckCleanupFailed,
LeftoversRemoved,
OrphanRemoved,
OtherProvider,
SavedStateDiscarded,
Recovering,
Retrying,
}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
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StepTolerated
A step whose failure the manifest tolerates failed.
HookFailed
An embedder’s hook failed.
CheckRunnerFailed
A check runner failed or ran out of time: its checks that didn’t report fail.
CheckCleanupFailed
The clean-up of a check runner that ran out of time failed.
LeftoversRemoved
What an earlier run left is removed before a start.
OrphanRemoved
A VM (or its folder) an earlier run left is 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
An apply failed and is tried again.
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>,
Deserialize this value from the given Serde deserializer. Read more
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>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$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 Freeze 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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.