Struct gelf_logger::BatchProcessor
source · pub struct BatchProcessor { /* private fields */ }
Expand description
Struct to send event in thread
Implementations§
source§impl BatchProcessor
impl BatchProcessor
sourcepub fn new(
tx: SyncSender<Event>,
level: GelfLevel,
full_buffer_policy: FullBufferPolicy
) -> BatchProcessor
pub fn new( tx: SyncSender<Event>, level: GelfLevel, full_buffer_policy: FullBufferPolicy ) -> BatchProcessor
Create a ne processor
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BatchProcessor
impl Send for BatchProcessor
impl Sync for BatchProcessor
impl Unpin for BatchProcessor
impl UnwindSafe for BatchProcessor
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