[−][src]Struct replicante_util_tracing::Opts
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]
service_name: S,
logger: Logger,
upkeep: &'a mut Upkeep
) -> Opts<'a> where
S: Into<&'a str>,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,