Skip to content

stop

Structs

Functions

  • stop - Stop a running stack.

Struct

Result of a [stop] call.

Fields:

  • forced: bool - true if 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

Function

Stop a running stack.

Returns pidfile or cleanup errors.

fn stop(state_dir: &std::path::Path, timeout: std::time::Duration) -> crate::error::Result<StopOutcome>