pub struct FaultedRoot {
pub peer: String,
pub outpoint: String,
pub class: String,
pub faults: u32,
pub unanchorable: bool,
pub error: String,
pub refused: String,
}Expand description
One root a sync dropped, named with why (engine 0.1.9): what the sync’s accounting and the tick’s summary line carry, once per (peer, root) per run.
Fields§
§peer: StringThe peer, filled by the engine (empty inside one GASPSync).
outpoint: StringThe root outpoint.
class: StringIts class, one of fault_class.
faults: u32The consecutive faulted runs its record counts (0: not recorded).
unanchorable: boolWhether it is recorded unanchorable (the cursor passes it).
error: StringThe error, cut to 160 characters.
refused: StringWhy its strike was refused: no_room at the storage’s own ceiling,
or store_fault; empty when written or no strike was due.
Trait Implementations§
Source§impl Clone for FaultedRoot
impl Clone for FaultedRoot
Source§impl Debug for FaultedRoot
impl Debug for FaultedRoot
Source§impl<'de> Deserialize<'de> for FaultedRoot
impl<'de> Deserialize<'de> for FaultedRoot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FaultedRoot
Source§impl PartialEq for FaultedRoot
impl PartialEq for FaultedRoot
Source§impl Serialize for FaultedRoot
impl Serialize for FaultedRoot
impl StructuralPartialEq for FaultedRoot
Auto Trait Implementations§
impl Freeze for FaultedRoot
impl RefUnwindSafe for FaultedRoot
impl Send for FaultedRoot
impl Sync for FaultedRoot
impl Unpin for FaultedRoot
impl UnsafeUnpin for FaultedRoot
impl UnwindSafe for FaultedRoot
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