pub enum Callsite {
Event(Metadata),
Span(Metadata),
}Variants§
Implementations§
Source§impl Callsite
impl Callsite
pub fn metadata(&self) -> &Metadata
pub fn kind(&self) -> Kind
pub fn level(&self) -> Level
pub fn name(&self) -> &str
pub fn target(&self) -> &str
pub fn module_path(&self) -> &str
pub fn file(&self) -> Option<&str>
pub fn line(&self) -> Option<u32>
pub fn fields(&self) -> &[Arc<str>]
Trait Implementations§
impl Eq for Callsite
impl StructuralPartialEq for Callsite
Auto Trait Implementations§
impl Freeze for Callsite
impl RefUnwindSafe for Callsite
impl Send for Callsite
impl Sync for Callsite
impl Unpin for Callsite
impl UnwindSafe for Callsite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.