#[non_exhaustive]pub enum ConversionKind {
Exact,
Approximate,
Unsupported,
Invalid,
}Expand description
Fidelity of one source-to-target decision.
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.
Exact
Target behavior represents the source intent exactly within known evidence.
Approximate
Target behavior requires a documented adjustment.
Unsupported
Target cannot represent the source intent.
Invalid
Source intent or target configuration is invalid.
Trait Implementations§
Source§impl Clone for ConversionKind
impl Clone for ConversionKind
Source§fn clone(&self) -> ConversionKind
fn clone(&self) -> ConversionKind
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 ConversionKind
Source§impl Debug for ConversionKind
impl Debug for ConversionKind
impl Eq for ConversionKind
Source§impl PartialEq for ConversionKind
impl PartialEq for ConversionKind
impl StructuralPartialEq for ConversionKind
Auto Trait Implementations§
impl Freeze for ConversionKind
impl RefUnwindSafe for ConversionKind
impl Send for ConversionKind
impl Sync for ConversionKind
impl Unpin for ConversionKind
impl UnsafeUnpin for ConversionKind
impl UnwindSafe for ConversionKind
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