pub struct Log { /* private fields */ }
Expand description

A ring-buffered log structure

Implementations

Allocate a log on the heap unreclaimably, and set it up

Trait Implementations

Determines if a log message with the specified metadata would be logged. Read more

Logs the Record. Read more

Flushes any buffered records.

If something is returned, GETs with differing Accept options will be rejecected, and the value will be set in responses. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.