pub struct MatchedRouteCapture { /* private fields */ }Expand description
Capture for root middleware: filled when a route matches (low-cardinality metrics).
Implementations§
Trait Implementations§
Source§impl Clone for MatchedRouteCapture
impl Clone for MatchedRouteCapture
Source§fn clone(&self) -> MatchedRouteCapture
fn clone(&self) -> MatchedRouteCapture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for MatchedRouteCapture
impl Default for MatchedRouteCapture
Source§fn default() -> MatchedRouteCapture
fn default() -> MatchedRouteCapture
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MatchedRouteCapture
impl RefUnwindSafe for MatchedRouteCapture
impl Send for MatchedRouteCapture
impl Sync for MatchedRouteCapture
impl Unpin for MatchedRouteCapture
impl UnsafeUnpin for MatchedRouteCapture
impl UnwindSafe for MatchedRouteCapture
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