pub struct Compose { /* private fields */ }Expand description
The project’s dev environment in Docker.
Implementations§
Source§impl Compose
impl Compose
Sourcepub fn new(
root: &Path,
machine: &dyn Machine,
color: bool,
) -> Result<Compose, Failure>
pub fn new( root: &Path, machine: &dyn Machine, color: bool, ) -> Result<Compose, Failure>
Checks that Docker answers, and reads what compose needs from the project at root.
Sourcepub fn running(&self, machine: &dyn Machine) -> Result<bool, Failure>
pub fn running(&self, machine: &dyn Machine) -> Result<bool, Failure>
Whether the app’s container runs.
Auto Trait Implementations§
impl Freeze for Compose
impl RefUnwindSafe for Compose
impl Send for Compose
impl Sync for Compose
impl Unpin for Compose
impl UnsafeUnpin for Compose
impl UnwindSafe for Compose
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