Searched refs:WorkerGuard (Results 1 – 3 of 3) sorted by relevance
105 pub struct WorkerGuard { struct149 pub fn new<T: Write + Send + Sync + 'static>(writer: T) -> (NonBlocking, WorkerGuard) { in new() argument157 ) -> (NonBlocking, WorkerGuard) { in create() argument164 WorkerGuard::new(worker.worker_thread(), sender.clone(), shutdown_sender); in create()211 pub fn finish<T: Write + Send + Sync + 'static>(self, writer: T) -> (NonBlocking, WorkerGuard) { in finish() argument259 impl WorkerGuard { impl261 WorkerGuard { in new()269 impl Drop for WorkerGuard { implementation
152 use crate::non_blocking::{NonBlocking, WorkerGuard};181 pub fn non_blocking<T: Write + Send + Sync + 'static>(writer: T) -> (NonBlocking, WorkerGuard) { in non_blocking() argument
104 **Note:** `_guard` is a [`WorkerGuard`][guard] which is returned by 107 [`WorkerGuard`][guard] module for more details.142 [guard]: https://docs.rs/tracing-appender/latest/tracing_appender/non_blocking/struct.WorkerGuard.h…