Type Alias FileWorkerGuard

Source
pub type FileWorkerGuard = WorkerGuard;
Expand description

A worker guard returned by the file layer.

When a guard is dropped, all events currently in-memory are flushed to the log file this guard belongs to.

Aliased Type§

struct FileWorkerGuard { /* private fields */ }

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 56 bytes

Trait Implementations

§

impl Debug for WorkerGuard

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Drop for WorkerGuard

§

fn drop(&mut self)

Executes the destructor for this type. Read more