pub struct OwnedCommand { /* private fields */ }Implementations§
Source§impl OwnedCommand
impl OwnedCommand
pub fn new(program: impl AsRef<OsStr>) -> Self
pub fn from_command(command: Command) -> Self
pub fn command_mut(&mut self) -> &mut Command
pub fn windows_hide(&mut self) -> &mut Self
pub fn spawn(self) -> Result<OwnedChild>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OwnedCommand
impl !UnwindSafe for OwnedCommand
impl Freeze for OwnedCommand
impl Send for OwnedCommand
impl Sync for OwnedCommand
impl Unpin for OwnedCommand
impl UnsafeUnpin for OwnedCommand
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