[][src]Struct cargo_movemint::application::CargoMovemintApp

pub struct CargoMovemintApp { /* fields omitted */ }

CargoMovemint Application

Trait Implementations

impl Default for CargoMovemintApp[src]

Initialize a new application instance.

By default no configuration is loaded, and the framework state is initialized to a default, empty state (no components, threads, etc).

impl Debug for CargoMovemintApp[src]

impl Application for CargoMovemintApp[src]

type Cmd = EntryPoint<CargoMovemintCmd>

Entrypoint command for this application.

type Cfg = CargoMovemintConfig

Application configuration.

type Paths = StandardPaths

Paths to resources within the application.

fn config(&self) -> &CargoMovemintConfig[src]

Accessor for application configuration.

fn state(&self) -> &State<Self>[src]

Borrow the application state immutably.

fn state_mut(&mut self) -> &mut State<Self>[src]

Borrow the application state mutably.

fn register_components(
    &mut self,
    command: &Self::Cmd
) -> Result<(), FrameworkError>
[src]

Register all components used by this application.

If you would like to add additional components to your application beyond the default ones provided by the framework, this is the place to do so.

fn after_config(&mut self, config: Self::Cfg) -> Result<(), FrameworkError>[src]

Post-configuration lifecycle callback.

Called regardless of whether config is loaded to indicate this is the time in app lifecycle when configuration would be loaded if possible.

fn logging_config(&self, command: &EntryPoint<CargoMovemintCmd>) -> Config[src]

Get logging configuration from command-line options

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]