pub struct DedupSinkBuilder<ArgS> { /* private fields */ }
Expand description
Implementations§
Source§impl<ArgS> DedupSinkBuilder<ArgS>
impl<ArgS> DedupSinkBuilder<ArgS>
Sourcepub fn skip_duration(self, duration: Duration) -> DedupSinkBuilder<Duration>
pub fn skip_duration(self, duration: Duration) -> DedupSinkBuilder<Duration>
Only consecutive repeated records within the given duration will be skipped.
This parameter is required.
Sourcepub fn level_filter(self, level_filter: LevelFilter) -> Self
pub fn level_filter(self, level_filter: LevelFilter) -> Self
Specifies a log level filter.
This parameter is optional.
Sourcepub fn formatter<F>(self, formatter: F) -> Selfwhere
F: Formatter + 'static,
pub fn formatter<F>(self, formatter: F) -> Selfwhere
F: Formatter + 'static,
Specifies a formatter.
This parameter is optional.
Sourcepub fn error_handler<F: Into<ErrorHandler>>(self, handler: F) -> Self
pub fn error_handler<F: Into<ErrorHandler>>(self, handler: F) -> Self
Specifies an error handler.
This parameter is optional.
Auto Trait Implementations§
impl<ArgS> !Freeze for DedupSinkBuilder<ArgS>
impl<ArgS> !RefUnwindSafe for DedupSinkBuilder<ArgS>
impl<ArgS> Send for DedupSinkBuilder<ArgS>where
ArgS: Send,
impl<ArgS> Sync for DedupSinkBuilder<ArgS>where
ArgS: Sync,
impl<ArgS> Unpin for DedupSinkBuilder<ArgS>where
ArgS: Unpin,
impl<ArgS> !UnwindSafe for DedupSinkBuilder<ArgS>
Blanket Implementations§
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