Struct bitbazaar::logging::CreatedSubscriber
source · pub struct CreatedSubscriber {
pub dispatch: Dispatch,
/* private fields */
}Expand description
The created subscriber, returned from create_subscriber.
Fields§
§dispatch: DispatchThe log dispatcher, which can be used to read logging events.
Implementations§
source§impl CreatedSubscriber
impl CreatedSubscriber
sourcepub fn into_global(self)
pub fn into_global(self)
Register the subscriber as the global subscriber, can only be done once during the lifetime of the program.
Auto Trait Implementations§
impl !RefUnwindSafe for CreatedSubscriber
impl Send for CreatedSubscriber
impl Sync for CreatedSubscriber
impl Unpin for CreatedSubscriber
impl !UnwindSafe for CreatedSubscriber
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