pub struct Route<State> { /* private fields */ }
Expand description
Defines a route.
You should not use this directly.
It will be created automatically when using crate::Server::route
or crate::Server::stateful_route
.
Trait Implementations§
Auto Trait Implementations§
impl<State> !RefUnwindSafe for Route<State>
impl<State> Send for Route<State>
impl<State> Sync for Route<State>
impl<State> Unpin for Route<State>
impl<State> !UnwindSafe for Route<State>
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