Home
last modified time | relevance | path

Searched refs:WorkerGuard (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/tracing/tracing-appender/src/
Dnon_blocking.rs105 pub struct WorkerGuard { struct
149 pub fn new<T: Write + Send + Sync + 'static>(writer: T) -> (NonBlocking, WorkerGuard) { in new() argument
157 ) -> (NonBlocking, WorkerGuard) { in create() argument
164 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() argument
259 impl WorkerGuard { impl
261 WorkerGuard { in new()
269 impl Drop for WorkerGuard { implementation
Dlib.rs152 use crate::non_blocking::{NonBlocking, WorkerGuard};
181 pub fn non_blocking<T: Write + Send + Sync + 'static>(writer: T) -> (NonBlocking, WorkerGuard) { in non_blocking() argument
/third_party/rust/crates/tracing/tracing-appender/
DREADME.md104 **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…