[][src]Struct rustsec_admin::application::AdminApp

pub struct AdminApp { /* fields omitted */ }

rustsec-admin Abscissa Application type

Trait Implementations

impl Application for AdminApp[src]

type Cmd = EntryPoint<AdminCmd>

Entrypoint command for this application.

type Cfg = AppConfig

Application configuration.

type Paths = StandardPaths

Paths to resources within the application.

fn config(&self) -> &AppConfig[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.

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

Post-configuration lifecycle callback.

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

Get tracing configuration from command-line options

impl Debug for AdminApp[src]

impl Default for AdminApp[src]

Auto Trait Implementations

impl !RefUnwindSafe for AdminApp

impl Send for AdminApp

impl Sync for AdminApp

impl Unpin for AdminApp

impl !UnwindSafe for AdminApp

Blanket Implementations

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

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

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

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

impl<T> Erased for T

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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, U> TryInto<U> for T where
    U: TryFrom<T>, 

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