Function cassandra_cpp_sys::cass_uuid_gen_new [] [src]

pub unsafe extern "C" fn cass_uuid_gen_new() -> *mut CassUuidGen

Creates a new UUID generator.

Note: This object is thread-safe. It is best practice to create and reuse a single object per application.

Note: If unique node information (IP address) is unable to be determined then random node information will be generated.

@public @memberof CassUuidGen

@return Returns a UUID generator that must be freed.

@see cass_uuid_gen_free() @see cass_uuid_gen_new_with_node()