[−][src]Struct abscissa_core::trace::component::Tracing
Abscissa component for initializing the tracing
subsystem
Methods
impl Tracing
[src]
pub fn new(
config: Config,
color_choice: ColorChoice
) -> Result<Self, FrameworkError>
[src]
config: Config,
color_choice: ColorChoice
) -> Result<Self, FrameworkError>
pub fn filter(&self) -> String
[src]
Return the currently-active tracing filter.
pub fn reload_filter(&mut self, filter: impl Into<EnvFilter>)
[src]
Reload the currently-active filter with the supplied value.
This can be used to provide a dynamic tracing filter endpoint.
Trait Implementations
impl<A> Component<A> for Tracing where
A: Application,
[src]
A: Application,
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]
fn dependencies(&self) -> Iter<Id>
[src]
fn register_dependency(
&mut self,
handle: Handle,
dependency: &mut dyn Component<A>
) -> Result<(), FrameworkError>
[src]
&mut self,
handle: Handle,
dependency: &mut dyn Component<A>
) -> Result<(), FrameworkError>
fn before_shutdown(&self, kind: Shutdown) -> Result<(), FrameworkError>
[src]
impl Debug for Tracing
[src]
Auto Trait Implementations
impl RefUnwindSafe for Tracing
impl Send for Tracing
impl Sync for Tracing
impl Unpin for Tracing
impl UnwindSafe for Tracing
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
fn as_any(&Self) -> &(dyn Any + 'static)
[src]
fn as_mut_any(&mut Self) -> &mut (dyn Any + 'static)
[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> Erased for T
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>,