fn conn_setup() -> UniquePtr<ffi::PlasmaClient> {
    let pc: UniquePtr<ffi::PlasmaClient> = ffi::new_plasma_client();
    let res1 = ffi::connect(pc.as_ref().unwrap(), "/tmp/plasma", 0);
    assert_eq!(res1.code, ffi::StatusCode::OK);
    pc
}
// TODO: automate setting up this connection for tests
automate setting up this connection for tests
automate setting up this connection for tests
fn conn_setup() -> UniquePtr<ffi::PlasmaClient> {
    let pc: UniquePtr<ffi::PlasmaClient> = ffi::new_plasma_client();
    let res1 = ffi::connect(pc.as_ref().unwrap(), "/tmp/plasma", 0);
    assert_eq!(res1.code, ffi::StatusCode::OK);
    pc
}
fn conn_setup ( ) -> UniquePtr < ffi :: PlasmaClient > { let pc : UniquePtr < ffi :: PlasmaClient > = ffi :: new_plasma_client ( ) ; let res1 = ffi :: connect ( pc . as_ref ( ) . unwrap ( ) , " " , 0 ) ; assert_eq ! ( res1 code ffi StatusCode OK ) ; pc }
TODO: automate setting up this connection for tests
TODO : automate setting up this connection for tests