pub struct Redirect { /* private fields */ }Implementations§
source§impl Redirect
impl Redirect
pub fn found(uri: impl TryInto<HeaderValue>) -> Self
pub fn see_other(uri: impl TryInto<HeaderValue>) -> Self
pub fn temporary(uri: impl TryInto<HeaderValue>) -> Self
pub fn permanent(uri: impl TryInto<HeaderValue>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Redirect
impl Send for Redirect
impl Sync for Redirect
impl Unpin for Redirect
impl UnwindSafe for Redirect
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