pub struct ExternalStage {
pub argv: Vec<String>,
pub shell: bool,
pub stderr: StderrMode,
pub name: String,
}Expand description
A subprocess to run as a stage, with the relay’s bytes on its stdin and its stdout continuing downstream.
Always its own segment: it cannot share a task with inline stages, and
detach = false on one is a contradiction.
Fields§
§argv: Vec<String>Program and arguments, or a single shell command when shell is set.
shell: bool§stderr: StderrMode§name: StringDisplay name, for logs and for attributing the child’s stderr.
Trait Implementations§
Source§impl Clone for ExternalStage
impl Clone for ExternalStage
Source§fn clone(&self) -> ExternalStage
fn clone(&self) -> ExternalStage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExternalStage
impl Debug for ExternalStage
impl Eq for ExternalStage
Source§impl PartialEq for ExternalStage
impl PartialEq for ExternalStage
impl StructuralPartialEq for ExternalStage
Auto Trait Implementations§
impl Freeze for ExternalStage
impl RefUnwindSafe for ExternalStage
impl Send for ExternalStage
impl Sync for ExternalStage
impl Unpin for ExternalStage
impl UnsafeUnpin for ExternalStage
impl UnwindSafe for ExternalStage
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