fn query(&self, query: &str) -> Result<Element, AppError> {
        self.query_selector(query)
            .expect("Malformed query selector")
            .ok_or_else(|| AppError::MissingElement(query.to_owned()))
    }
/// Input query should always be well-formed.
Input query should always be well-formed.
Input query should always be well - formed .
fn query(&self, query: &str) -> Result<Element, AppError> {
        self.query_selector(query)
            .expect("Malformed query selector")
            .ok_or_else(|| AppError::MissingElement(query.to_owned()))
    }
fn query ( & self , query : & str ) -> Result < Element , AppError > { self . query_selector ( query ) . expect ( " " ) . ok_or_else ( | | AppError :: MissingElement ( query . to_owned ( ) ) ) }
Input query should always be well-formed.
Input query should always be well - formed .
&self
query
&str