pub fn open_pool(&mut self, pool_name: &str, flags: mcas_flags_t) -> Result<Pool, Status> {
        let (_name, name_cstr) = c_convert(pool_name);
        let mut mcas_pool = mcas_pool_t {
            session: self.session,
            handle: 0,
        };
        let rc = unsafe { mcas_open_pool(self.session, name_cstr, flags, &mut mcas_pool) };

        if rc != 0 {
            return Err(rc);
        }

        let return_value = Pool { pool: mcas_pool };
        Ok(return_value)
    }
/// Open a pool and return handle
///
Open a pool and return handle
Open a pool and return handle
pub fn open_pool(&mut self, pool_name: &str, flags: mcas_flags_t) -> Result<Pool, Status> {
        let (_name, name_cstr) = c_convert(pool_name);
        let mut mcas_pool = mcas_pool_t {
            session: self.session,
            handle: 0,
        };
        let rc = unsafe { mcas_open_pool(self.session, name_cstr, flags, &mut mcas_pool) };
        if rc != 0 {
            return Err(rc);
        }
        let return_value = Pool { pool: mcas_pool };
        Ok(return_value)
    }
pub fn open_pool ( & mut self , pool_name : & str , flags : mcas_flags_t ) -> Result < Pool , Status > { let ( _name , name_cstr ) = c_convert ( pool_name ) ; let mut mcas_pool = mcas_pool_t { session : self . session , handle : 0 , } ; let rc = unsafe { mcas_open_pool ( self . session , name_cstr , flags , & mut mcas_pool ) } ; if rc != 0 { return Err ( rc ) ; } let return_value = Pool { pool : mcas_pool } ; Ok ( return_value ) }
Open a pool and return handle
Open a pool and return handle
&mut self
pool_name
&str
flags
mcas_flags_t