pub fn query(&mut self, data: Vec<QueryData>) -> Result<MsgQueryResponse> {
        match self.send_message(
            Method::Get,
            "vap/skillRegistry/query",
            MsgQuery {
                skill_id: self.id.clone(),
                data,
            },
        )? {
            (ResponseType::Content, d) => Ok(rmp_serde::from_read(Cursor::new(d))
                .expect("Failed to create MsgQuery, report this")),
            (ResponseType::BadRequest, _) => Err(Error::BadRequest),

            _ => Err(Error::Unknown),
        }
    }
/// Send queries to any number of IDs (clients or the system itself).
Send queries to any number of IDs (clients or the system itself).
Send queries to any number of IDs ( clients or the system itself ) .
pub fn query(&mut self, data: Vec<QueryData>) -> Result<MsgQueryResponse> {
        match self.send_message(
            Method::Get,
            "vap/skillRegistry/query",
            MsgQuery {
                skill_id: self.id.clone(),
                data,
            },
        )? {
            (ResponseType::Content, d) => Ok(rmp_serde::from_read(Cursor::new(d))
                .expect("Failed to create MsgQuery, report this")),
            (ResponseType::BadRequest, _) => Err(Error::BadRequest),
            _ => Err(Error::Unknown),
        }
    }
pub fn query ( & mut self , data : Vec < QueryData > ) -> Result < MsgQueryResponse > { match self . send_message ( Method :: Get , " " , MsgQuery { skill_id : self . id . clone ( ) , data , } , ) ? { ( ResponseType :: Content , d ) => Ok ( rmp_serde :: from_read ( Cursor :: new ( d ) ) . expect ( " " ) ) , ( ResponseType :: BadRequest , _ ) => Err ( Error :: BadRequest ) , _ => Err ( Error :: Unknown ) , } }
Send queries to any number of IDs (clients or the system itself).
Send queries to any number of IDs ( clients or the system itself ) .
&mut self
data
Vec<QueryData>