Struct create_rust_github_repo::Shell
source · pub struct Shell { /* private fields */ }
Implementations§
source§impl Shell
impl Shell
pub fn spawn_and_wait( &self, command: impl AsRef<OsStr>, current_dir: impl AsRef<Path>, ) -> Result<ExitStatus>
pub fn exec( &self, command: impl AsRef<OsStr>, current_dir: impl AsRef<Path>, ) -> Result<ExitStatus>
pub fn is_success( &self, command: impl AsRef<OsStr>, current_dir: impl AsRef<Path>, ) -> Result<bool>
Trait Implementations§
impl Eq for Shell
impl StructuralPartialEq for Shell
Auto Trait Implementations§
impl Freeze for Shell
impl RefUnwindSafe for Shell
impl Send for Shell
impl Sync for Shell
impl Unpin for Shell
impl UnwindSafe for Shell
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)