pub struct MalformedLine {
pub line_number: u64,
pub content: String,
pub error: String,
}Expand description
Information about a malformed JSONL line.
Used for backpressure feedback - when agents write invalid JSONL,
this provides details for the event.malformed system event.
Fields§
§line_number: u64Line number in the file (1-indexed).
content: StringThe raw content that failed to parse (truncated if very long).
error: StringThe parse error message.
Implementations§
Trait Implementations§
Source§impl Clone for MalformedLine
impl Clone for MalformedLine
Source§fn clone(&self) -> MalformedLine
fn clone(&self) -> MalformedLine
Returns a duplicate of the value. Read more
1.0.0 · 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 MalformedLine
impl Debug for MalformedLine
Auto Trait Implementations§
impl Freeze for MalformedLine
impl RefUnwindSafe for MalformedLine
impl Send for MalformedLine
impl Sync for MalformedLine
impl Unpin for MalformedLine
impl UnsafeUnpin for MalformedLine
impl UnwindSafe for MalformedLine
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