#[non_exhaustive]pub enum ExitCategory {
Success,
ValidationFailed,
ProcessingFailed,
InternalError,
}Expand description
CLI-oriented exit category represented in batch summaries.
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.
Success
Success.
ValidationFailed
Validation found non-compliance.
ProcessingFailed
Input could not be processed.
InternalError
Internal application failure.
Trait Implementations§
Source§impl Clone for ExitCategory
impl Clone for ExitCategory
Source§fn clone(&self) -> ExitCategory
fn clone(&self) -> ExitCategory
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 moreSource§impl Debug for ExitCategory
impl Debug for ExitCategory
Source§impl Default for ExitCategory
impl Default for ExitCategory
Source§fn default() -> ExitCategory
fn default() -> ExitCategory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExitCategory
impl<'de> Deserialize<'de> for ExitCategory
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
Source§impl PartialEq for ExitCategory
impl PartialEq for ExitCategory
Source§fn eq(&self, other: &ExitCategory) -> bool
fn eq(&self, other: &ExitCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExitCategory
impl Serialize for ExitCategory
impl Copy for ExitCategory
impl Eq for ExitCategory
impl StructuralPartialEq for ExitCategory
Auto Trait Implementations§
impl Freeze for ExitCategory
impl RefUnwindSafe for ExitCategory
impl Send for ExitCategory
impl Sync for ExitCategory
impl Unpin for ExitCategory
impl UnsafeUnpin for ExitCategory
impl UnwindSafe for ExitCategory
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