Crate rustic_rs

Source
Expand description

rustic

Application based on the Abscissa framework.

Re-exports§

pub use crate::application::RUSTIC_APP;

Modules§

application
Rustic Abscissa Application
commands 🔒
Rustic Subcommands
config 🔒
Rustic Config
error 🔒
Error types
event
Abscissa core prelude Events represent single points in time during the execution of a program.
filtering 🔒
helpers 🔒
repository 🔒
Rustic Config
span
Abscissa core prelude Spans represent periods of time in which a program was executing in a particular context.

Macros§

debug
Abscissa core prelude Constructs an event at the debug level.
ensure
Abscissa core prelude Ensure a condition holds, returning an error if it doesn’t (ala assert)
error
Abscissa core prelude Constructs an event at the error level.
event
Abscissa core prelude Constructs a new Event.
fail
Abscissa core prelude Create and return an error with a formatted message
fatal
Abscissa core prelude Terminate the application with a fatal error, running Abscissa’s shutdown hooks.
format_err
Abscissa core prelude Create a new error (of a given kind) with a formatted message
info
Abscissa core prelude Constructs an event at the info level.
span
Abscissa core prelude Constructs a new span.
status_err
Abscissa core prelude Print an error message (in red if colors are enabled)
status_info
Abscissa core prelude Print an informational status message (in cyan if colors are enabled)
status_ok
Abscissa core prelude Print a success status message (in green if colors are enabled)
status_warn
Abscissa core prelude Print a warning status message (in yellow if colors are enabled)
trace
Abscissa core prelude Constructs an event at the trace level.
warn
Abscissa core prelude Constructs an event at the warn level.

Structs§

Level
Abscissa core prelude Describes the level of verbosity of a span or event.
RusticConfig
Rustic config Rustic Configuration

Traits§

Application
Abscissa core prelude Application types implementing this trait own global application state, including configuration and arbitrary other values stored within application components.
Command
Abscissa core prelude Subcommand of an application: derives or otherwise implements the Options trait, but also has a run() method which can be used to invoke the given (sub)command.
Runnable
Abscissa core prelude Runnable is a common trait for things which can be run without any arguments.

Functions§

generate_completion
Completions

Derive Macros§

Command
Abscissa core prelude
Runnable
Abscissa core prelude