pub struct ServiceDeploymentContainer<S> { /* private fields */ }Expand description
Manages the deployment lifecycle of an individual service.
This struct handles both the currently committed service and any precommit service waiting to be deployed. It supports the two-stage deployment process by maintaining separate slots for the commit and precommit services.
§Type Parameters
S: The type of the service being managed.
§Fields
deployed_service: The currently deployed service, if any.staged_service: A service that has been prepared but not yet deployed.
Auto Trait Implementations§
impl<S> !Freeze for ServiceDeploymentContainer<S>
impl<S> !RefUnwindSafe for ServiceDeploymentContainer<S>
impl<S> !Send for ServiceDeploymentContainer<S>
impl<S> !Sync for ServiceDeploymentContainer<S>
impl<S> Unpin for ServiceDeploymentContainer<S>where
S: Unpin,
impl<S> !UnwindSafe for ServiceDeploymentContainer<S>
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