Function cassandra_cpp_sys::cass_future_get_prepared [] [src]

pub unsafe extern "C" fn cass_future_get_prepared(
    future: *mut CassFuture
) -> *const CassPrepared

Gets the result of a successful future. If the future is not ready this method will wait for the future to be set. The first successful call consumes the future, all subsequent calls will return NULL.

@public @memberof CassFuture

@param[in] future @return CassPrepared instance if successful, otherwise NULL for error. The return instance must be freed using cass_prepared_free().

@see cass_session_prepare()