pub enum TransformDiagnosticKind {
UnsupportedField,
LossyField,
}Expand description
Classification of a non-fatal semantic transform diagnostic.
Variants§
UnsupportedField
The source field has no representation in the target protocol.
LossyField
The field can only be approximated or is intentionally dropped.
Trait Implementations§
Source§impl Clone for TransformDiagnosticKind
impl Clone for TransformDiagnosticKind
Source§fn clone(&self) -> TransformDiagnosticKind
fn clone(&self) -> TransformDiagnosticKind
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 TransformDiagnosticKind
Source§impl Debug for TransformDiagnosticKind
impl Debug for TransformDiagnosticKind
impl Eq for TransformDiagnosticKind
Source§impl PartialEq for TransformDiagnosticKind
impl PartialEq for TransformDiagnosticKind
impl StructuralPartialEq for TransformDiagnosticKind
Auto Trait Implementations§
impl Freeze for TransformDiagnosticKind
impl RefUnwindSafe for TransformDiagnosticKind
impl Send for TransformDiagnosticKind
impl Sync for TransformDiagnosticKind
impl Unpin for TransformDiagnosticKind
impl UnsafeUnpin for TransformDiagnosticKind
impl UnwindSafe for TransformDiagnosticKind
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