pub fn invoke_ado(
        &mut self,
        key: &str,
        request: &str,
        value_size: size_t,
    ) -> Result<AdoResponse, Status> {
        let (_key, key_cstr) = c_convert(key);
        let (_request, request_c_void) = c_convert_void(request);
        let mut response_vector: mcas_response_array_t = std::ptr::null_mut();
        let mut response_vector_len: size_t = 0;

        let rc = unsafe {
            mcas_invoke_ado(
                self.pool,
                key_cstr,
                request_c_void,
                request.len() as u64,
                0, // flags
                value_size,
                &mut response_vector,
                &mut response_vector_len,
            )
        };
        if rc != 0 {
            return Err(rc);
        }

        Ok(AdoResponse::new(response_vector, response_vector_len))
    }
/// Invoke ADO (Active Data Object)
///
///
Invoke ADO (Active Data Object)
Invoke ADO ( Active Data Object )
pub fn invoke_ado(
        &mut self,
        key: &str,
        request: &str,
        value_size: size_t,
    ) -> Result<AdoResponse, Status> {
        let (_key, key_cstr) = c_convert(key);
        let (_request, request_c_void) = c_convert_void(request);
        let mut response_vector: mcas_response_array_t = std::ptr::null_mut();
        let mut response_vector_len: size_t = 0;
        let rc = unsafe {
            mcas_invoke_ado(
                self.pool,
                key_cstr,
                request_c_void,
                request.len() as u64,
                0, // flags
                value_size,
                &mut response_vector,
                &mut response_vector_len,
            )
        };
        if rc != 0 {
            return Err(rc);
        }
        Ok(AdoResponse::new(response_vector, response_vector_len))
    }
pub fn invoke_ado ( & mut self , key : & str , request : & str , value_size : size_t , ) -> Result < AdoResponse , Status > { let ( _key , key_cstr ) = c_convert ( key ) ; let ( _request , request_c_void ) = c_convert_void ( request ) ; let mut response_vector : mcas_response_array_t = std :: ptr :: null_mut ( ) ; let mut response_vector_len : size_t = 0 ; let rc = unsafe { mcas_invoke_ado ( self . pool , key_cstr , request_c_void , request . len ( ) as u64 , 0 , // flags value_size , & mut response_vector , & mut response_vector_len , ) } ; if rc != 0 { return Err ( rc ) ; } Ok ( AdoResponse :: new ( response_vector , response_vector_len ) ) }
Invoke ADO (Active Data Object)
Invoke ADO ( Active Data Object )
&mut self
key
&str
request
&str
value_size
size_t