pub enum ViewerProtocolPolicy {
AllowAll,
RedirectToHttps,
HttpsOnly,
}Variants§
Trait Implementations§
Source§impl From<ViewerProtocolPolicy> for String
impl From<ViewerProtocolPolicy> for String
Source§fn from(value: ViewerProtocolPolicy) -> Self
fn from(value: ViewerProtocolPolicy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ViewerProtocolPolicy
impl RefUnwindSafe for ViewerProtocolPolicy
impl Send for ViewerProtocolPolicy
impl Sync for ViewerProtocolPolicy
impl Unpin for ViewerProtocolPolicy
impl UnwindSafe for ViewerProtocolPolicy
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more