Trait cloudformatious::Status[][src]

pub trait Status: Debug + Display + Sealed {
    fn is_terminal(&self) -> bool;
fn sentiment(&self) -> StatusSentiment; }

Common operations for statuses.

Required methods

fn is_terminal(&self) -> bool[src]

Indicates whether or not a status is terminal.

A terminal status is one that won’t change again during the current stack operation.

fn sentiment(&self) -> StatusSentiment[src]

Indicates the sentiment of the status.

This is obviously a bit fuzzy, but in general:

  • Successful terminal statuses are positive.
  • Failed terminal statuses and rollback statuses are negative.
  • All other statuses are neutral.
Loading content...

Implementors

Loading content...