pub enum RecordingStatus {
Clean,
Poisoned {
first_failure_event_index: usize,
first_failure_time_offset_secs: f64,
first_failure_error: String,
additional_failures: u64,
},
}Expand description
State of a DORA_WRITE_EVENTS_TO recording (#1857).
Clean means the recorder observed every event it was asked to
record. Poisoned means at least one record_event() call failed
(Arrow→JSON conversion error, file I/O error, etc.) — the events
array is missing at least one event, and replay results will not
match the original run.
Variants§
Clean
Poisoned
Fields
§
first_failure_event_index: usizeIndex in the events array where the first missed event
would have been. Equals the number of events that WERE
successfully recorded before the first failure.
Trait Implementations§
Source§impl Debug for RecordingStatus
impl Debug for RecordingStatus
Source§impl<'de> Deserialize<'de> for RecordingStatus
impl<'de> Deserialize<'de> for RecordingStatus
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
Source§impl PartialEq for RecordingStatus
impl PartialEq for RecordingStatus
Source§impl Serialize for RecordingStatus
impl Serialize for RecordingStatus
impl StructuralPartialEq for RecordingStatus
Auto Trait Implementations§
impl Freeze for RecordingStatus
impl RefUnwindSafe for RecordingStatus
impl Send for RecordingStatus
impl Sync for RecordingStatus
impl Unpin for RecordingStatus
impl UnsafeUnpin for RecordingStatus
impl UnwindSafe for RecordingStatus
Blanket Implementations§
impl<T> Allocation for T
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