pub enum Rewrite {
Uri(Uri),
Redirect(HttpResponse),
Response(HttpResponse),
}Expand description
Actix-Web compatible wrapper on Rewrite
Variants§
Auto Trait Implementations§
impl !Freeze for Rewrite
impl !RefUnwindSafe for Rewrite
impl !Send for Rewrite
impl !Sync for Rewrite
impl Unpin for Rewrite
impl !UnwindSafe for Rewrite
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