Struct stakker_log::LogCx
source · [−]pub struct LogCx<'a> { /* private fields */ }
Expand description
Logging context
This encapsulates a stakker::LogID
and a reference to
stakker::Core
. It allows logging to a particular context or
span without having to carry around a reference to a particular
actor. A reference to a LogCx
can be used as the [cx]
argument to any of the logging macros.
Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for LogCx<'a>
impl<'a> !Send for LogCx<'a>
impl<'a> !Sync for LogCx<'a>
impl<'a> Unpin for LogCx<'a>
impl<'a> !UnwindSafe for LogCx<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more