pub enum Io {
Error(String),
SpawnThenWait(Result<SpawnOutput, Command>),
SpawnThenWaitWithOutput(Result<Output, Command>),
}
Variants§
Error(String)
SpawnThenWait(Result<SpawnOutput, Command>)
I/O for spawning a process and waiting for its exit status.
SpawnThenWaitWithOutput(Result<Output, Command>)
I/O for spawning a process and waiting for its exit status and any potential output from stdout or stderr.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Io
impl RefUnwindSafe for Io
impl Send for Io
impl Sync for Io
impl Unpin for Io
impl UnwindSafe for Io
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