pub struct BasicCmdBuilder { /* private fields */ }
Expand description
Builder for BasicCmd
.
Implementations§
Source§impl BasicCmdBuilder
impl BasicCmdBuilder
pub fn new() -> Self
pub fn set_executable(self, executable: &str) -> Self
pub fn add_arg(self, arg: &str) -> Self
pub fn set_input_redirect_path(self, input_redirect_path: &str) -> Self
pub fn set_output_redirect_path(self, output_redirect_path: &str) -> Self
Trait Implementations§
Source§impl Builder<BasicCmd> for BasicCmdBuilder
impl Builder<BasicCmd> for BasicCmdBuilder
Auto Trait Implementations§
impl Freeze for BasicCmdBuilder
impl RefUnwindSafe for BasicCmdBuilder
impl Send for BasicCmdBuilder
impl Sync for BasicCmdBuilder
impl Unpin for BasicCmdBuilder
impl UnwindSafe for BasicCmdBuilder
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