Trait StatusRole

Source
pub trait StatusRole: ColorRole { }
Expand description

Marker trait for status indication colors.

Status colors communicate state to the user:

  • Errors and failures
  • Warnings and cautions
  • Success and confirmations
  • Informational messages

§Implementors

  • Error — Error/failure states
  • Warning — Warning/caution states
  • Success — Success/confirmation states
  • Info — Informational states

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§