pub trait RequestExt {
// Required methods
fn tag(&self) -> Option<&Tag>;
fn depth(&self) -> Depth;
fn attempt(&self) -> Attempt;
}Expand description
Required Methods§
Sourcefn depth(&self) -> Depth
fn depth(&self) -> Depth
Returns the depth, defaulting to Depth::ROOT.
Sourcefn attempt(&self) -> Attempt
fn attempt(&self) -> Attempt
Returns the attempt, defaulting to Attempt::FIRST.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".