pub struct Runner<M: ProcessManager> { /* private fields */ }Implementations§
Source§impl<M: ProcessManager> Runner<M>
impl<M: ProcessManager> Runner<M>
pub fn new(project: Project, pm: M, config: RunnerConfig) -> Self
Sourcepub async fn up(&mut self, services: Vec<String>) -> Result<Receiver<LogEvent>>
pub async fn up(&mut self, services: Vec<String>) -> Result<Receiver<LogEvent>>
Starts the services defined in the project configuration.
§Errors
Returns an error if any of the services fail to start.
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for Runner<M>where
M: Freeze,
impl<M> RefUnwindSafe for Runner<M>where
M: RefUnwindSafe,
impl<M> Send for Runner<M>
impl<M> Sync for Runner<M>
impl<M> Unpin for Runner<M>where
M: Unpin,
impl<M> UnwindSafe for Runner<M>where
M: UnwindSafe,
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