pub struct Drain;
A simple Drain to log any event directly.
Drain
Create a new Drain
Log the given record to the main tui-logger
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U