pub enum HttpsVerdict {
Allowed,
Redirect {
route_scoped: bool,
},
}Expand description
What decide decided.
Variants§
Allowed
The request stays on its scheme (already https, or not required).
Redirect
The request must be redirected to its https form (the reference’s
create_https_redirect shape: a HTTPS_REDIRECT_STATUS to the
scheme-upgraded URL). route_scoped splits the reference’s two
event paths (decorator_violation when a route required HTTPS,
https_enforced for the global arm).
Trait Implementations§
Source§impl Clone for HttpsVerdict
impl Clone for HttpsVerdict
impl Copy for HttpsVerdict
Source§impl Debug for HttpsVerdict
impl Debug for HttpsVerdict
impl Eq for HttpsVerdict
Source§impl PartialEq for HttpsVerdict
impl PartialEq for HttpsVerdict
impl StructuralPartialEq for HttpsVerdict
Auto Trait Implementations§
impl Freeze for HttpsVerdict
impl RefUnwindSafe for HttpsVerdict
impl Send for HttpsVerdict
impl Sync for HttpsVerdict
impl Unpin for HttpsVerdict
impl UnsafeUnpin for HttpsVerdict
impl UnwindSafe for HttpsVerdict
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.