pub enum RedirectCode {
Http307,
Http308,
}Variants§
Http307
Reply with an http 307 (temporary redirect)
Http308
Reply with an http 308 (permanent redirect)
Trait Implementations§
Source§impl Clone for RedirectCode
impl Clone for RedirectCode
Source§fn clone(&self) -> RedirectCode
fn clone(&self) -> RedirectCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RedirectCode
impl Debug for RedirectCode
Source§impl PartialEq for RedirectCode
impl PartialEq for RedirectCode
impl Copy for RedirectCode
impl Eq for RedirectCode
impl StructuralPartialEq for RedirectCode
Auto Trait Implementations§
impl Freeze for RedirectCode
impl RefUnwindSafe for RedirectCode
impl Send for RedirectCode
impl Sync for RedirectCode
impl Unpin for RedirectCode
impl UnwindSafe for RedirectCode
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