pub struct Warning {
pub step: usize,
pub backend: String,
pub operation: String,
pub kind: ConversionKind,
pub message: String,
}Expand description
An informational warning derived from an executed step’s declared kind.
The engine emits one warning for each non-lossless step of the successful route, including packaging and extraction. It does not measure actual loss or collect every adapter diagnostic. Failed attempts’ warnings are discarded.
Fields§
§step: usizeZero-based index into the successful report’s plan, not an artifact index.
backend: StringAdapter that executed the step.
operation: StringAdapter operation ID.
kind: ConversionKindAdapter-declared semantic classification of the step.
message: StringExplanation suitable for logs or a user interface.
Trait Implementations§
impl Eq for Warning
impl StructuralPartialEq for Warning
Auto Trait Implementations§
impl Forget for Warning
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnsafeUnpin for Warning
impl UnwindSafe for Warning
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.