Struct rados_hi::Rados [] [src]

pub struct Rados(pub rados_t);

A handle for interacting with a RADOS cluster.

It encapsulates all RADOS client configuration, including username, key for authentication, logging, and debugging. Talking different clusters -- or to the same cluster with different users -- requires different cluster handles.

Methods

impl Rados
[src]

Create a pool with default settings.

The default owner is the admin user (auid 0). The default crush rule is rule 0.

Delete a pool and all data inside it.

The pool is removed from the cluster immediately, but the actual data is deleted in the background.

Trait Implementations

impl Drop for Rados
[src]

A method called when the value goes out of scope. Read more