#[non_exhaustive]pub enum ConversionOutcome {
Succeeded,
Cancelled,
Failed(String),
}Expand description
The terminal result of an embedded conversion job.
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.
Implementations§
Source§impl ConversionOutcome
impl ConversionOutcome
pub fn is_success(&self) -> bool
pub fn is_cancelled(&self) -> bool
Trait Implementations§
Source§impl Clone for ConversionOutcome
impl Clone for ConversionOutcome
Source§fn clone(&self) -> ConversionOutcome
fn clone(&self) -> ConversionOutcome
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 ConversionOutcome
impl Debug for ConversionOutcome
impl Eq for ConversionOutcome
Source§impl PartialEq for ConversionOutcome
impl PartialEq for ConversionOutcome
impl StructuralPartialEq for ConversionOutcome
Auto Trait Implementations§
impl Freeze for ConversionOutcome
impl RefUnwindSafe for ConversionOutcome
impl Send for ConversionOutcome
impl Sync for ConversionOutcome
impl Unpin for ConversionOutcome
impl UnsafeUnpin for ConversionOutcome
impl UnwindSafe for ConversionOutcome
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