pub struct CallSite { /* fields omitted */ }Expand description
A CallSite identify uniquely a location in the source code, and record
multiple attributes associated with this location.
The only way to create a CallSite is with the callsite macro,
which also takes care of registering the call site globally.
Get the user-provided name for this call site
Get the rust module path to the source code location of this call site
Get the path to the file containing this call site
Get the line of the source file containing this call site
Get the full name of this call site, containing both the name and the
module path.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.