pub struct RlgSubscriber;Expand description
A tracing::Subscriber that routes events to the RLG engine.
Implementations§
Source§impl RlgSubscriber
impl RlgSubscriber
Trait Implementations§
Source§impl Clone for RlgSubscriber
impl Clone for RlgSubscriber
impl Copy for RlgSubscriber
Source§impl Debug for RlgSubscriber
impl Debug for RlgSubscriber
Source§impl Default for RlgSubscriber
impl Default for RlgSubscriber
Source§impl Subscriber for RlgSubscriber
impl Subscriber for RlgSubscriber
Source§fn record(&self, _span: &Id, _values: &Record<'_>)
fn record(&self, _span: &Id, _values: &Record<'_>)
Record a set of values on a span. Read more
Source§fn record_follows_from(&self, _span: &Id, _follows: &Id)
fn record_follows_from(&self, _span: &Id, _follows: &Id)
§fn on_register_dispatch(&self, subscriber: &Dispatch)
fn on_register_dispatch(&self, subscriber: &Dispatch)
Invoked when this subscriber becomes a [
Dispatch]. Read more§fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
§fn max_level_hint(&self) -> Option<LevelFilter>
fn max_level_hint(&self) -> Option<LevelFilter>
Returns the highest verbosity level that this
Subscriber will
enable, or None, if the subscriber does not implement level-based
filtering or chooses not to implement this method. Read more§fn event_enabled(&self, event: &Event<'_>) -> bool
fn event_enabled(&self, event: &Event<'_>) -> bool
Determine if an [
Event] should be recorded. Read more§fn clone_span(&self, id: &Id) -> Id
fn clone_span(&self, id: &Id) -> Id
§fn drop_span(&self, _id: Id)
fn drop_span(&self, _id: Id)
👎Deprecated since 0.1.2:
use Subscriber::try_close instead
This method is deprecated. Read more
§fn current_span(&self) -> Current
fn current_span(&self) -> Current
Returns a type representing this subscriber’s view of the current span. Read more
Auto Trait Implementations§
impl Freeze for RlgSubscriber
impl RefUnwindSafe for RlgSubscriber
impl Send for RlgSubscriber
impl Sync for RlgSubscriber
impl Unpin for RlgSubscriber
impl UnsafeUnpin for RlgSubscriber
impl UnwindSafe for RlgSubscriber
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<S> SubscriberExt for Swhere
S: Subscriber,
impl<S> SubscriberExt for Swhere
S: Subscriber,
§impl<T> SubscriberInitExt for Twhere
T: Into<Dispatch>,
impl<T> SubscriberInitExt for Twhere
T: Into<Dispatch>,
§fn set_default(self) -> DefaultGuard
fn set_default(self) -> DefaultGuard
Available on crate feature
std only.Sets
self as the default subscriber in the current scope, returning a
guard that will unset it when dropped. Read more§fn try_init(self) -> Result<(), TryInitError>
fn try_init(self) -> Result<(), TryInitError>
Attempts to set
self as the global default subscriber in the current
scope, returning an error if one is already set. Read more§fn init(self)
fn init(self)
Attempts to set
self as the global default subscriber in the current
scope, panicking if this fails. Read more