pub enum CallSiteKind {
Span,
Event,
}
Expand description
Kind of CallSiteData
location: either a span, or an event.
Variants§
Trait Implementations§
Source§impl Clone for CallSiteKind
impl Clone for CallSiteKind
Source§fn clone(&self) -> CallSiteKind
fn clone(&self) -> CallSiteKind
Returns a copy 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 CallSiteKind
impl Debug for CallSiteKind
Source§impl<'de> Deserialize<'de> for CallSiteKind
impl<'de> Deserialize<'de> for CallSiteKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<CallSiteKind> for Kind
Available on crate feature receiver
only.
impl From<CallSiteKind> for Kind
Available on crate feature
receiver
only.Source§fn from(kind: CallSiteKind) -> Self
fn from(kind: CallSiteKind) -> Self
Converts to this type from the input type.
Source§impl Hash for CallSiteKind
impl Hash for CallSiteKind
Source§impl Serialize for CallSiteKind
impl Serialize for CallSiteKind
impl Copy for CallSiteKind
Auto Trait Implementations§
impl Freeze for CallSiteKind
impl RefUnwindSafe for CallSiteKind
impl Send for CallSiteKind
impl Sync for CallSiteKind
impl Unpin for CallSiteKind
impl UnwindSafe for CallSiteKind
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)