gauc 0.8.1

Couchbase Rust Adapter / CLI
Documentation
#[derive(Debug, Clone, Copy)]
pub enum InstanceInternal {}

unsafe impl Send for InstanceInternal {}
unsafe impl Sync for InstanceInternal {}

#[derive(Debug, Clone, Copy)]
#[repr(C)]
pub struct InstancePtr {
    ptr: *mut InstanceInternal
}


impl InstancePtr {
    pub fn new() -> InstancePtr {
        unsafe {
            InstancePtr {
                ptr: ::std::mem::zeroed()
            }
        }
    }
}
unsafe impl Send for InstancePtr {}
unsafe impl Sync for InstancePtr {}

pub type Instance = InstancePtr;