fn alloc_iocb(&mut self, init: Iocb<T, Wb, Rb>) -> Result<*mut Iocb<T, Wb, Rb>, Iocb<T, Wb, Rb>> {

        match self.iocb.allocidx(init) {
            Err(v) => Err(v),
            Ok(idx) => unsafe {
                let ptr = as_mut_ptr(Some(&mut self.iocb[idx]));
                self.iocbp.push(as_mut_ptr(Some(&mut (*ptr).iocb)));
                Ok(ptr)
            },
        }
    }
// Allocate a new Iocb and also add the aio::Struct_iocb onto the current batch
Allocate a new Iocb and also add the aio::Struct_iocb onto the current batch
Allocate a new Iocb and also add the aio :: Struct_iocb onto the current batch
fn alloc_iocb(&mut self, init: Iocb<T, Wb, Rb>) -> Result<*mut Iocb<T, Wb, Rb>, Iocb<T, Wb, Rb>> {
        match self.iocb.allocidx(init) {
            Err(v) => Err(v),
            Ok(idx) => unsafe {
                let ptr = as_mut_ptr(Some(&mut self.iocb[idx]));
                self.iocbp.push(as_mut_ptr(Some(&mut (*ptr).iocb)));
                Ok(ptr)
            },
        }
    }
fn alloc_iocb ( & mut self , init : Iocb < T , Wb , Rb > ) -> Result < * mut Iocb < T , Wb , Rb > , Iocb < T , Wb , Rb > > { match self . iocb . allocidx ( init ) { Err ( v ) => Err ( v ) , Ok ( idx ) => unsafe { let ptr = as_mut_ptr ( Some ( & mut self . iocb [ idx ] ) ) ; self . iocbp . push ( as_mut_ptr ( Some ( & mut ( * ptr ) . iocb ) ) ) ; Ok ( ptr ) } , } }
Allocate a new Iocb and also add the aio::Struct_iocb onto the current batch
Allocate a new Iocb and also add the aio :: Struct_iocb onto the current batch
&mut self
init
Iocb<T, Wb, Rb>
&mut self
init
Iocb<T, Wb, Rb>