pub struct MarkerWriterConfig {
pub channel_capacity: usize,
pub max_batch: usize,
pub max_latency: Duration,
}Expand description
Configuration knobs for the data marker writer.
Fields§
§channel_capacity: usizeCapacity of the bounded sync_channel between submit and the writer thread.
max_batch: usizeMaximum marker messages collected before a flush is forced.
max_latency: DurationMaximum time a marker batch may accumulate before a flush is forced.
Trait Implementations§
Source§impl Clone for MarkerWriterConfig
impl Clone for MarkerWriterConfig
Source§fn clone(&self) -> MarkerWriterConfig
fn clone(&self) -> MarkerWriterConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarkerWriterConfig
impl Debug for MarkerWriterConfig
Auto Trait Implementations§
impl Freeze for MarkerWriterConfig
impl RefUnwindSafe for MarkerWriterConfig
impl Send for MarkerWriterConfig
impl Sync for MarkerWriterConfig
impl Unpin for MarkerWriterConfig
impl UnsafeUnpin for MarkerWriterConfig
impl UnwindSafe for MarkerWriterConfig
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more