[][src]Struct abscissa_core::logging::component::LoggingComponent

pub struct LoggingComponent { /* fields omitted */ }

Abscissa component for initializing the logging subsystem

Methods

impl LoggingComponent[src]

pub fn new(config: Config) -> Result<Self, FrameworkError>[src]

Create a new logging component

Trait Implementations

impl<A> Component<A> for LoggingComponent where
    A: Application
[src]

fn name(&self) -> Name[src]

Name of this component

fn version(&self) -> Version[src]

Version of this component

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

Initialize this component at the time the framework boots

fn dependencies(&self) -> Iter<Name>[src]

Names of the components this components depends on

fn before_shutdown(&self, kind: Shutdown) -> Result<(), FrameworkError>[src]

Perform any tasks which should occur before the app exits

impl Default for LoggingComponent[src]

impl Debug for LoggingComponent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> 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> 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]