Struct rillrate::RillRate[][src]

pub struct RillRate { /* fields omitted */ }

The tracer.

Implementations

impl RillRate[src]

pub fn from_env(app_name: impl ToString) -> Result<Self, Error>[src]

Creates an instance of RillRate tracer using environment vars.

pub fn install(app_name: impl ToString) -> Result<(), Error>[src]

Create and install an instance of RillRate into the global cell. The provider will be alive and available until the uninstall method call.

pub fn uninstall() -> Result<(), Error>[src]

Uninstalling of the installed RillRate instance.

Auto Trait Implementations

impl !RefUnwindSafe for RillRate

impl Send for RillRate

impl Sync for RillRate

impl Unpin for RillRate

impl !UnwindSafe for RillRate

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,