pub enum ProcessedOutput {
Raw(String),
Lines(Vec<String>),
KeyValue(HashMap<String, String>),
Json(Value),
}Expand description
Encapsulates possible result types after formatting stdout
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcessedOutput
impl RefUnwindSafe for ProcessedOutput
impl Send for ProcessedOutput
impl Sync for ProcessedOutput
impl Unpin for ProcessedOutput
impl UnwindSafe for ProcessedOutput
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