pub struct Service { /* private fields */ }Expand description
A docker service.
Docker services are used to run tasks when Docker is configured to use a swarm.
This allows the swarm manager to schedule the task on available resources.
The service will always have a single replica of the task and the task will not restart.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Service
impl !UnwindSafe for Service
impl Freeze for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Service
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