pub struct HttpsRedirectService;Expand description
A hyper service that redirects HTTP requests to HTTPS.
Trait Implementations§
Source§impl Clone for HttpsRedirectService
impl Clone for HttpsRedirectService
Source§fn clone(&self) -> HttpsRedirectService
fn clone(&self) -> HttpsRedirectService
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 HttpsRedirectService
impl Debug for HttpsRedirectService
Source§impl Service<Request<Incoming>> for HttpsRedirectService
impl Service<Request<Incoming>> for HttpsRedirectService
Auto Trait Implementations§
impl Freeze for HttpsRedirectService
impl RefUnwindSafe for HttpsRedirectService
impl Send for HttpsRedirectService
impl Sync for HttpsRedirectService
impl Unpin for HttpsRedirectService
impl UnwindSafe for HttpsRedirectService
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