[−][src]Struct abscissa_core::logging::component::LoggingComponent
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]
A: Application,
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]
fn default() -> LoggingComponent
[src]
impl Debug for LoggingComponent
[src]
Auto Trait Implementations
impl Unpin for LoggingComponent
impl Sync for LoggingComponent
impl Send for LoggingComponent
impl RefUnwindSafe for LoggingComponent
impl UnwindSafe for LoggingComponent
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,