pub trait AsLocation: Sealed { }Expand description
Trait for redirect locations. Currently only a Uri can be used in
redirect.
This sealed trait exists to allow adding possibly new impls so other
arguments could be accepted, like maybe just warp::redirect("/v2").
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".