pub struct PdgEntry {
pub framework: String,
pub method: String,
pub route: String,
pub handler: String,
pub line: usize,
pub registered_at: usize,
}Expand description
An entry point: a function the outside world calls, so the place to start tracing from.
Fields§
§framework: Stringmain, axum or actix_web.
method: StringThe registering call (get, post, to), empty for main.
route: StringThe route it is registered under (/users/{id}), when a string literal names it.
handler: StringThe handler, as the graphs name it (api::list_users).
line: usizeThe handler’s line, and the line of the call that registers it (0 for main).
registered_at: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for PdgEntry
impl<'de> Deserialize<'de> for PdgEntry
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
impl Eq for PdgEntry
impl StructuralPartialEq for PdgEntry
Auto Trait Implementations§
impl Forget for PdgEntry
impl Freeze for PdgEntry
impl Move for PdgEntry
impl RefUnwindSafe for PdgEntry
impl Send for PdgEntry
impl Sync for PdgEntry
impl Unpin for PdgEntry
impl UnsafeUnpin for PdgEntry
impl UnwindSafe for PdgEntry
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