pub struct ServiceStopOptsBuilder { /* private fields */ }
Expand description
Builder for ServiceStopOpts
.
Implementations§
Source§impl ServiceStopOptsBuilder
impl ServiceStopOptsBuilder
Sourcepub fn kill<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn kill<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Immediately kill the service without waiting for a graceful exit
Sourcepub fn build(&self) -> Result<ServiceStopOpts, ServiceStopOptsBuilderError>
pub fn build(&self) -> Result<ServiceStopOpts, ServiceStopOptsBuilderError>
Trait Implementations§
Source§impl Clone for ServiceStopOptsBuilder
impl Clone for ServiceStopOptsBuilder
Source§fn clone(&self) -> ServiceStopOptsBuilder
fn clone(&self) -> ServiceStopOptsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ServiceStopOptsBuilder
impl RefUnwindSafe for ServiceStopOptsBuilder
impl Send for ServiceStopOptsBuilder
impl Sync for ServiceStopOptsBuilder
impl Unpin for ServiceStopOptsBuilder
impl UnwindSafe for ServiceStopOptsBuilder
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