Enum tracing_tunnel::CallSiteKind
source · 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