pub fn is_secure(&self) -> bool {
        match self.scheme {
            Scheme::Http => false,
            Scheme::Https => true,
            Scheme::WebSocket => false,
            Scheme::SecureWebSocket => true,
        }
    }
/// Returns whether or not this URL represents a connection to a secure
/// endpoint.
Returns whether or not this URL represents a connection to a secure
endpoint.
Returns whether or not this URL represents a connection to a secure endpoint .
pub fn is_secure(&self) -> bool {
        match self.scheme {
            Scheme::Http => false,
            Scheme::Https => true,
            Scheme::WebSocket => false,
            Scheme::SecureWebSocket => true,
        }
    }
pub fn is_secure ( & self ) -> bool { match self . scheme { Scheme :: Http => false , Scheme :: Https => true , Scheme :: WebSocket => false , Scheme :: SecureWebSocket => true , } }
Returns whether or not this URL represents a connection to a secure
endpoint.
Returns whether or not this URL represents a connection to a secure endpoint .
&self