[][src]Struct replicante_util_tracing::Opts

pub struct Opts<'a> { /* fields omitted */ }

Additional options passed to tracer configuration.

Implementations

impl<'a> Opts<'a>[src]

pub fn new<S>(
    service_name: S,
    logger: Logger,
    upkeep: &'a mut Upkeep
) -> Opts<'a> where
    S: Into<&'a str>, 
[src]

pub fn flush_timeout(self, timeout: Duration) -> Opts<'a>[src]

Set the muximum delay between span flushes.

Some tracers' collectors allow this option to be set through the configuration. In that case, the value from the user configuration overrides this option.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Opts<'a>

impl<'a> !Send for Opts<'a>

impl<'a> !Sync for Opts<'a>

impl<'a> Unpin for Opts<'a>

impl<'a> !UnwindSafe for Opts<'a>

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, 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>,