pub async fn contact_find_all_by_string(&self, query_str: String) -> Result<Vec<Contact<T>>, WechatyError> {
        debug!("contact_find_all_by_string(query_str = {:?})", query_str);
        if !self.is_logged_in() {
            return Err(WechatyError::NotLoggedIn);
        }
        match self.puppet().contact_search_by_string(query_str, None).await {
            Ok(contact_id_list) => Ok(self.contact_load_batch(contact_id_list).await),
            Err(e) => Err(WechatyError::from(e)),
        }
    }
/// Find all contacts that match the query string
Find all contacts that match the query string
Find all contacts that match the query string
pub async fn contact_find_all_by_string(&self, query_str: String) -> Result<Vec<Contact<T>>, WechatyError> {
        debug!("contact_find_all_by_string(query_str = {:?})", query_str);
        if !self.is_logged_in() {
            return Err(WechatyError::NotLoggedIn);
        }
        match self.puppet().contact_search_by_string(query_str, None).await {
            Ok(contact_id_list) => Ok(self.contact_load_batch(contact_id_list).await),
            Err(e) => Err(WechatyError::from(e)),
        }
    }
pub async fn contact_find_all_by_string ( & self , query_str : String ) -> Result < Vec < Contact < T > > , WechatyError > { debug ! ( " " query_str ) ; if ! self . is_logged_in ( ) { return Err ( WechatyError :: NotLoggedIn ) ; } match self . puppet ( ) . contact_search_by_string ( query_str , None ) . await { Ok ( contact_id_list ) => Ok ( self . contact_load_batch ( contact_id_list ) . await ) , Err ( e ) => Err ( WechatyError :: from ( e ) ) , } }
Find all contacts that match the query string
Find all contacts that match the query string
&self
query_str
String
&self
query_str
String