[][src]Module cargo_move::prelude

Application-local prelude: conveniently import types/functions/macros which are generally useful and should be available everywhere.

Re-exports

pub use crate::application::app_config;
pub use crate::application::app_reader;
pub use crate::application::app_writer;

Macros

debug

Logging macros Logs a message at the debug level.

error

Logging macros Logs a message at the error level.

info

Logging macros Logs a message at the info level.

log

Logging macros The standard logging macro.

log_enabled

Logging macros Determines if a message logged at the specified level in that module will be logged.

trace

Logging macros Logs a message at the trace level.

warn

Logging macros Logs a message at the warn level.

Traits

Application

Commonly used Abscissa traits Application types implementing this trait own global application state, including configuration and arbitrary other values stored within application components.

Command

Commonly used Abscissa traits Subcommand of an application: derives or otherwise implements the Options trait, but also has a call() method which can be used to invoke the given (sub)command.

Runnable

Commonly used Abscissa traits Runnable is a common trait for things which can be run without any arguments.

Derive Macros

Command

Commonly used Abscissa traits

Runnable

Commonly used Abscissa traits