Skip to main content

stormchaser_runner_docker/container_machine/transitions/
finished.rs

1use crate::container_machine::{state, ContainerState, DockerContainerMachine};
2
3impl DockerContainerMachine<state::Finished> {
4    /// Consumes the state machine, returning the final `ContainerState` result.
5    pub fn into_result(self) -> ContainerState {
6        self.state.result
7    }
8}