Trait warp::redirect::sealed::AsLocation

source ·
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").

Implementations on Foreign Types§

source§

impl AsLocation for Uri

Implementors§