pub struct StartBuilder { /* private fields */ }Expand description
Options for starting a command, applied before awaiting it.
Implementations§
Source§impl StartBuilder
impl StartBuilder
pub fn env(self, name: impl Into<String>, value: impl Into<String>) -> Self
pub fn cwd(self, path: impl Into<String>) -> Self
Trait Implementations§
Source§impl IntoFuture for StartBuilder
impl IntoFuture for StartBuilder
Source§type IntoFuture = Pin<Box<dyn Future<Output = <StartBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <StartBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for StartBuilder
impl !UnwindSafe for StartBuilder
impl Forget for StartBuilder
impl Freeze for StartBuilderwhere
*const ArcInner<Session> is !null: Freeze,
PhantomData<ArcInner<Session>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for StartBuilder
impl Send for StartBuilder
impl Sync for StartBuilder
impl Unpin for StartBuilder
impl UnsafeUnpin for StartBuilderwhere
*const ArcInner<Session> is !null: UnsafeUnpin,
PhantomData<ArcInner<Session>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
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