pub struct DegradedHop {
pub ordinal: usize,
pub step_seq: Option<u64>,
pub reason: String,
}Expand description
A hop whose strict record decode failed but whose identity fields survived — the C7 marking.
Fields§
§ordinal: usizePosition in the validator’s input, for cross-referencing the raw journal.
step_seq: Option<u64>§reason: StringWhy the strict decode rejected the bytes.
Trait Implementations§
Source§impl Clone for DegradedHop
impl Clone for DegradedHop
Source§fn clone(&self) -> DegradedHop
fn clone(&self) -> DegradedHop
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 DegradedHop
impl Debug for DegradedHop
impl Eq for DegradedHop
Source§impl PartialEq for DegradedHop
impl PartialEq for DegradedHop
Source§impl Serialize for DegradedHop
impl Serialize for DegradedHop
impl StructuralPartialEq for DegradedHop
Auto Trait Implementations§
impl Freeze for DegradedHop
impl RefUnwindSafe for DegradedHop
impl Send for DegradedHop
impl Sync for DegradedHop
impl Unpin for DegradedHop
impl UnsafeUnpin for DegradedHop
impl UnwindSafe for DegradedHop
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