pub struct DeviationError {
pub component: Component,
pub span: Span,
pub reason: DeviationReason,
}Expand description
The unrepresentable component remains present, with its original location.
Fields§
§component: ComponentOriginal component that could not be represented.
span: SpanWhole original component TLV range.
reason: DeviationReasonNo fallback value was substituted for this reason.
Trait Implementations§
Source§impl Clone for DeviationError
impl Clone for DeviationError
impl Copy for DeviationError
Source§impl Debug for DeviationError
impl Debug for DeviationError
impl Eq for DeviationError
Source§impl PartialEq for DeviationError
impl PartialEq for DeviationError
impl StructuralPartialEq for DeviationError
Auto Trait Implementations§
impl Freeze for DeviationError
impl RefUnwindSafe for DeviationError
impl Send for DeviationError
impl Sync for DeviationError
impl Unpin for DeviationError
impl UnsafeUnpin for DeviationError
impl UnwindSafe for DeviationError
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