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

pub struct Logging { /* fields omitted */ }

Abscissa component for initializing the logging subsystem

Methods

impl Logging[src]

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

Create a new logging component

Trait Implementations

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

fn id(&self) -> Id[src]

Identifier for this component

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

Version of this component

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

Lifecycle event called when application configuration should be loaded if it were possible. Read more

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

Names of the components this component depends on. Read more

fn register_dependency(
    &mut self,
    handle: Handle,
    dependency: &mut dyn Component<A>
) -> Result<(), FrameworkError>
[src]

Register a dependency of this component (a.k.a. "dependency injection")

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

Perform any tasks which should occur before the app exits

impl Default for Logging[src]

impl Debug for Logging[src]

Auto Trait Implementations

impl Sync for Logging

impl Send for Logging

impl Unpin for Logging

impl RefUnwindSafe for Logging

impl UnwindSafe for Logging

Blanket Implementations

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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