[][src]Module rubbl_core::notify

A framework for notifying users about what tools are doing.

This module provides a way for Rubbl programs to notify the user about actions taken, problems, and so on. It is very narrowly targeted at the command-line use case.

This module is ripped off from the status module used by the Tectonic typesetting engine. (Which the author of this module also wrote.)

Modules

termcolor

A notification backend that sends colorized output to the terminal.

Structs

BufferingNotificationBackend

A notification backend that buffers notifications and emits them later.

NoopNotificationBackend

A no-op notification backend.

Enums

ChatterLevel

How chatty the notification system should be.

NotificationKind

The kind of notification that is being produced.

Traits

ClapNotificationArgsExt

An extension trait for adding standard notification arguments to a clap App object.

NotificationBackend

Trait for type that handle notifications to the user.

Functions

run_with_notifications

Run a function with colorized reporting of errors.