pub enum RewriteAction {
CancelRequest,
NoOp,
RewriteUrl(String),
}Expand description
A RewriteAction is used to indicate an action to take, returned by the rewrite_url method on the Rewriter struct
Variants§
Trait Implementations§
Source§impl Debug for RewriteAction
impl Debug for RewriteAction
Source§impl PartialEq for RewriteAction
impl PartialEq for RewriteAction
Source§fn eq(&self, other: &RewriteAction) -> bool
fn eq(&self, other: &RewriteAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RewriteAction
Auto Trait Implementations§
impl Freeze for RewriteAction
impl RefUnwindSafe for RewriteAction
impl Send for RewriteAction
impl Sync for RewriteAction
impl Unpin for RewriteAction
impl UnsafeUnpin for RewriteAction
impl UnwindSafe for RewriteAction
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