pub struct Poller { /* private fields */ }Expand description
The poller drives the logging process.
You’re expected to periodically call poll() to asynchronously
move log messages from memory to your peripheral. poll() never
blocks on I/O or data.
Poller logically owns static, mutable state that’s allocated behind
this package’s API. The specific state depends on the selected backend.
Since it manages static, mutable state, there can only be one instance
of a Poller in any program.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Poller
impl RefUnwindSafe for Poller
impl !Sync for Poller
impl Unpin for Poller
impl UnwindSafe for Poller
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more