pub struct RouteNavigationFailed {
pub path: String,
pub route_pattern: Option<&'static str>,
pub component: Option<&'static str>,
pub reason: &'static str,
pub duration_ms: f64,
}Expand description
Emitted when route matching succeeds but the router cannot paint
the route. reason is a stable identifier: "missing_window",
"missing_outlet", "missing_document", "create_element_failed",
"guard_pending", "guard_redirected".
Fields§
§path: String§route_pattern: Option<&'static str>§component: Option<&'static str>§reason: &'static str§duration_ms: f64Trait Implementations§
Source§fn clone(&self) -> RouteNavigationFailed
fn clone(&self) -> RouteNavigationFailed
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 moreAuto Trait Implementations§
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