Struct foundationdb::cluster::Cluster
source · pub struct Cluster { /* private fields */ }
Expand description
An opaque type that represents a Cluster in the FoundationDB C API.
Implementations§
source§impl Cluster
impl Cluster
sourcepub fn new(path: &str) -> ClusterGet
pub fn new(path: &str) -> ClusterGet
Returns an FdbFuture which will be set to an FDBCluster object.
Arguments
path
- A string giving a local path of a cluster file (often called ‘fdb.cluster’) which contains connection information for the FoundationDB cluster. Seefoundationdb::default_config_path()
TODO: implement Default for Cluster where: If cluster_file_path is NULL or an empty string, then a default cluster file will be used. see