Home
last modified time | relevance | path

Searched defs:WorkerGuard (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/crates/tracing/tracing-appender/src/
Dnon_blocking.rs105 pub struct WorkerGuard { struct
106 _guard: Option<JoinHandle<()>>,
107 sender: Sender<Msg>,
108 shutdown: Sender<()>,
149 pub fn new<T: Write + Send + Sync + 'static>(writer: T) -> (NonBlocking, WorkerGuard) { in new() argument
157 ) -> (NonBlocking, WorkerGuard) { in create() argument
211 pub fn finish<T: Write + Send + Sync + 'static>(self, writer: T) -> (NonBlocking, WorkerGuard) { in finish() argument
259 impl WorkerGuard { impl
269 impl Drop for WorkerGuard { implementation
Dlib.rs181 pub fn non_blocking<T: Write + Send + Sync + 'static>(writer: T) -> (NonBlocking, WorkerGuard) { in non_blocking() argument