pub enum StdioMode {
Capture,
Inherit,
}Expand description
How child stdio is connected.
Variants§
Capture
Pipe stdout/stderr so the parent can read them (probes, downloads).
Inherit
Inherit stdin/stdout/stderr so OpenSSH can prompt on a TTY.
Trait Implementations§
impl Copy for StdioMode
impl Eq for StdioMode
impl StructuralPartialEq for StdioMode
Auto Trait Implementations§
impl Freeze for StdioMode
impl RefUnwindSafe for StdioMode
impl Send for StdioMode
impl Sync for StdioMode
impl Unpin for StdioMode
impl UnsafeUnpin for StdioMode
impl UnwindSafe for StdioMode
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