#[non_exhaustive]pub enum ResumeOutcome {
Succeeded,
Partial,
Degraded,
Failed,
}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.
Trait Implementations§
Source§impl Clone for ResumeOutcome
impl Clone for ResumeOutcome
Source§fn clone(&self) -> ResumeOutcome
fn clone(&self) -> ResumeOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResumeOutcome
Source§impl Debug for ResumeOutcome
impl Debug for ResumeOutcome
impl Eq for ResumeOutcome
Source§impl JsonSchema for ResumeOutcome
impl JsonSchema for ResumeOutcome
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 ResumeOutcome
impl PartialEq for ResumeOutcome
Source§impl Serialize for ResumeOutcome
impl Serialize for ResumeOutcome
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ResumeOutcome
Auto Trait Implementations§
impl Forget for ResumeOutcome
impl Freeze for ResumeOutcome
impl Move for ResumeOutcome
impl RefUnwindSafe for ResumeOutcome
impl Send for ResumeOutcome
impl Sync for ResumeOutcome
impl Unpin for ResumeOutcome
impl UnsafeUnpin for ResumeOutcome
impl UnwindSafe for ResumeOutcome
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