Module ibc_relayer_cli::prelude
source · Expand description
Application-local prelude.
Conveniently import types/functions/macros which are generally useful and should be available in every module with `use crate::prelude::*;
Re-exports§
pub use crate::application::app_config;
pub use crate::application::app_reader;
Modules§
- Abscissa core prelude Events represent single points in time during the execution of a program.
- Abscissa core prelude Spans represent periods of time in which a program was executing in a particular context.
Macros§
- Abscissa core prelude Constructs an event at the debug level.
- Abscissa core prelude Ensure a condition holds, returning an error if it doesn’t (ala assert)
- Abscissa core prelude Constructs an event at the error level.
- Abscissa core prelude Constructs a new
Event
. - Abscissa core prelude Create and return an error with a formatted message
- Abscissa core prelude Terminate the application with a fatal error, running Abscissa’s shutdown hooks.
- Abscissa core prelude Create a new error (of a given kind) with a formatted message
- Abscissa core prelude Constructs an event at the info level.
- Abscissa core prelude Constructs a new span.
- Abscissa core prelude Print an error message (in red if colors are enabled)
- Abscissa core prelude Print an informational status message (in cyan if colors are enabled)
- Abscissa core prelude Print a success status message (in green if colors are enabled)
- Abscissa core prelude Print a warning status message (in yellow if colors are enabled)
- Abscissa core prelude Constructs an event at the trace level.
- Abscissa core prelude Constructs an event at the warn level.
Structs§
- Abscissa core prelude Describes the level of verbosity of a span or event.
Traits§
- Abscissa core prelude Application types implementing this trait own global application state, including configuration and arbitrary other values stored within application components.
- Subcommand of an application: derives or otherwise implements the
Options
trait, but also has arun()
method which can be used to invoke the given (sub)command. - Abscissa core prelude
Runnable
is a common trait for things which can be run without any arguments.
Derive Macros§
- Abscissa core prelude