Skip to main content

Crate rustic_rs

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 Tracing macros Events represent single points in time during the execution of a program.
filtering 🔒
helpers 🔒
metrics 🔒
repository 🔒
Rustic Config
span
Abscissa core prelude Tracing macros Spans represent periods of time in which a program was executing in a particular context.

Macros§

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

Structs§

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

Traits§

Application
Abscissa core prelude Commonly used Abscissa traits Application types implementing this trait own global application state, including configuration and arbitrary other values stored within application components.
Command
Abscissa core prelude Commonly used Abscissa traits 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 Commonly used Abscissa traits Runnable is a common trait for things which can be run without any arguments.

Functions§

generate_completion
Completions

Derive Macros§

Command
Abscissa core prelude Commonly used Abscissa traits
Runnable
Abscissa core prelude Commonly used Abscissa traits