pub enum OutputMode {
Stream,
Capture,
Structured,
}Expand description
Output capture mode for command execution
Variants§
Stream
Stream directly to terminal (current behavior, default for CLI)
Capture
Capture output and also print to terminal (for programmatic access with live output) Not exposed via CLI, but available for library use
Structured
Capture output silently and format as structured result (for MCP/JSON/Markdown) Output is suppressed during execution and only the formatted result is printed at the end
Trait Implementations§
Source§impl Clone for OutputMode
impl Clone for OutputMode
Source§fn clone(&self) -> OutputMode
fn clone(&self) -> OutputMode
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 OutputMode
impl Debug for OutputMode
Source§impl Default for OutputMode
impl Default for OutputMode
Source§fn default() -> OutputMode
fn default() -> OutputMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for OutputMode
impl PartialEq for OutputMode
impl Copy for OutputMode
impl StructuralPartialEq for OutputMode
Auto Trait Implementations§
impl Freeze for OutputMode
impl RefUnwindSafe for OutputMode
impl Send for OutputMode
impl Sync for OutputMode
impl Unpin for OutputMode
impl UnsafeUnpin for OutputMode
impl UnwindSafe for OutputMode
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