stop
Module: stop
Section titled “Module: stop”Contents
Section titled “Contents”Structs
StopOutcome- Result of a [stop] call.
Functions
stop- Stop a running stack.
firma_stack::stop::StopOutcome
Section titled “firma_stack::stop::StopOutcome”Struct
Result of a [stop] call.
Fields:
forced: bool-trueif at least one component required a hard kill
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Clone
fn clone(self: &Self) -> StopOutcome
firma_stack::stop::stop
Section titled “firma_stack::stop::stop”Function
Stop a running stack.
Errors
Section titled “Errors”Returns pidfile or cleanup errors.
fn stop(state_dir: &std::path::Path, timeout: std::time::Duration) -> crate::error::Result<StopOutcome>