pub enum NdjsonResult {
ValidJson(String),
NoValidJson {
tail_excerpt: String,
},
}Expand description
Result of NDJSON parsing from stdout
Variants§
ValidJson(String)
Successfully found at least one valid JSON object (returns the last one)
NoValidJson
No valid JSON found, includes a tail excerpt for error reporting
Trait Implementations§
Source§impl Clone for NdjsonResult
impl Clone for NdjsonResult
Source§fn clone(&self) -> NdjsonResult
fn clone(&self) -> NdjsonResult
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 moreAuto Trait Implementations§
impl Freeze for NdjsonResult
impl RefUnwindSafe for NdjsonResult
impl Send for NdjsonResult
impl Sync for NdjsonResult
impl Unpin for NdjsonResult
impl UnsafeUnpin for NdjsonResult
impl UnwindSafe for NdjsonResult
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