#[repr(C)]pub struct Metadata<'a> {
pub name: &'static str,
pub target: &'a str,
pub level: Level,
pub file: &'static str,
pub line: u32,
pub fields: &'static [&'static str],
pub callsite: &'static Callsite,
pub kind: Kind,
}Fields§
§name: &'static str§target: &'a str§level: Level§file: &'static str§line: u32§fields: &'static [&'static str]§callsite: &'static Callsite§kind: KindTrait Implementations§
Source§impl<'a> ExternType for Metadata<'a>
impl<'a> ExternType for Metadata<'a>
Auto Trait Implementations§
impl<'a> Freeze for Metadata<'a>
impl<'a> RefUnwindSafe for Metadata<'a>
impl<'a> Send for Metadata<'a>
impl<'a> Sync for Metadata<'a>
impl<'a> Unpin for Metadata<'a>
impl<'a> UnwindSafe for Metadata<'a>
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