Module zebrad::prelude

source ·
Expand description

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



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

Derive Macros§