pub struct DecodedCallsiteMetadata {
pub id: u32,
pub name: String,
pub target: String,
pub level: Level,
pub file: Option<String>,
pub line: Option<u32>,
pub module_path: Option<String>,
pub fields: SmallVec<[String; 8]>,
pub kind: CallsiteKind,
}Expand description
Decoded callsite metadata from a binary metadata frame.
Fields§
§id: u32§name: String§target: String§level: Level§file: Option<String>§line: Option<u32>§module_path: Option<String>§fields: SmallVec<[String; 8]>§kind: CallsiteKindTrait Implementations§
Source§impl Clone for DecodedCallsiteMetadata
impl Clone for DecodedCallsiteMetadata
Source§fn clone(&self) -> DecodedCallsiteMetadata
fn clone(&self) -> DecodedCallsiteMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecodedCallsiteMetadata
impl Debug for DecodedCallsiteMetadata
Source§impl PartialEq for DecodedCallsiteMetadata
impl PartialEq for DecodedCallsiteMetadata
impl Eq for DecodedCallsiteMetadata
impl StructuralPartialEq for DecodedCallsiteMetadata
Auto Trait Implementations§
impl Freeze for DecodedCallsiteMetadata
impl RefUnwindSafe for DecodedCallsiteMetadata
impl Send for DecodedCallsiteMetadata
impl Sync for DecodedCallsiteMetadata
impl Unpin for DecodedCallsiteMetadata
impl UnsafeUnpin for DecodedCallsiteMetadata
impl UnwindSafe for DecodedCallsiteMetadata
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