pub struct Capture<T>(/* private fields */);Expand description
A captured path segment of type T.
Parsed from the URL at runtime using FromStr. The captured value
appears in the handler’s arguments.
Auto Trait Implementations§
impl<T> Freeze for Capture<T>
impl<T> RefUnwindSafe for Capture<T>where
T: RefUnwindSafe,
impl<T> Send for Capture<T>where
T: Send,
impl<T> Sync for Capture<T>where
T: Sync,
impl<T> Unpin for Capture<T>where
T: Unpin,
impl<T> UnsafeUnpin for Capture<T>
impl<T> UnwindSafe for Capture<T>where
T: UnwindSafe,
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