pub struct Meta<MD = NoMeta> { /* private fields */ }Expand description
Meta data that can be associated with log sources.
Implementations§
source§impl<MD> Meta<MD>
impl<MD> Meta<MD>
sourcepub fn source(&self) -> Option<&SourceLocation>
pub fn source(&self) -> Option<&SourceLocation>
Retrieves a reference to the source location, if this crate was
built with feature = "log-source".
sourcepub fn time(&self) -> SystemTime
pub fn time(&self) -> SystemTime
Retrieves the time that the meta object was created.
Auto Trait Implementations§
impl<MD> Freeze for Meta<MD>where
MD: Freeze,
impl<MD> RefUnwindSafe for Meta<MD>where
MD: RefUnwindSafe,
impl<MD> Send for Meta<MD>where
MD: Send,
impl<MD> Sync for Meta<MD>where
MD: Sync,
impl<MD> Unpin for Meta<MD>where
MD: Unpin,
impl<MD> UnwindSafe for Meta<MD>where
MD: UnwindSafe,
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