Struct rillrate::Switch [−][src]
pub struct Switch { /* fields omitted */ }
Implementations
pub fn new(
auto_path: impl Into<AutoPath>,
caption: impl ToString,
sender: UnboundedSender<ActionEnvelope<SwitchState>>
) -> Switch
Methods from Deref<Target = Tracer<SwitchState>>
pub fn description(&self) -> &Description
pub fn description(&self) -> &Description
Returns a reference to a Description
of the Tracer
.
pub fn flush(&self)
pub fn flush(&self)
Ask recorder to resend a state in the Pull
mode.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Switch
impl !UnwindSafe for Switch
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