Struct rillrate::selector::Selector [−][src]
pub struct Selector { /* fields omitted */ }
Implementations
Methods from Deref<Target = Tracer<SelectorState>>
pub fn description(&self) -> &Description
pub fn description(&self) -> &Description
Returns a reference to a Description
of the Tracer
.
Send an event to a Recorder
.
pub fn flush(&self)
pub fn flush(&self)
Ask recorder to resend a state in the Pull
mode.
pub fn sync_callback<F>(&self, callback: F) where
F: Fn(ActionEnvelope<T>) -> Result<(), Error> + Send + Sync + 'static,
pub fn sync_callback<F>(&self, callback: F) where
F: Fn(ActionEnvelope<T>) -> Result<(), Error> + Send + Sync + 'static,
Assign a callback
pub fn detach_callback(&self)
pub fn detach_callback(&self)
Removes the callback
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Selector
impl !UnwindSafe for Selector
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self