Crate ceph_rust [] [src]

Ceph-rust is a thin layer over the librados C interface.

Only works on Linux

By default Ceph names librados as the following for the given platforms: Hammer release: RHEL/CentOS: /usr/lib64/librados.so.2.0.0

Ubuntu: /usr/lib/librados.so.2.0.0

You will need to do a symlink of the above link to the following: RHEL/CentOS: sudo ln -s /usr/lib64/librados.so.2.0.0 /usr/lib64/librados.so

Ubuntu: sudo ln -s /usr/lib/librados.so.2.0.0 /usr/lib/librados.so

NOTE: If someone know of another way for Rust to find the librados file then please issue a PR for it. Thanks!

See the /examples/ceph.rs for how to use the library.

Structs

Struct_rados_cluster_stat_t
Struct_rados_pool_stat_t

Constants

LIBRADOS_CMPXATTR_OP_EQ
LIBRADOS_CMPXATTR_OP_GT
LIBRADOS_CMPXATTR_OP_GTE
LIBRADOS_CMPXATTR_OP_LT
LIBRADOS_CMPXATTR_OP_LTE
LIBRADOS_CMPXATTR_OP_NE
LIBRADOS_OPERATION_BALANCE_READS
LIBRADOS_OPERATION_IGNORE_CACHE
LIBRADOS_OPERATION_IGNORE_OVERLAY
LIBRADOS_OPERATION_LOCALIZE_READS
LIBRADOS_OPERATION_NOFLAG
LIBRADOS_OPERATION_ORDER_READS_WRITES
LIBRADOS_OPERATION_SKIPRWLOCKS
LIBRADOS_OP_FLAG_EXCL
LIBRADOS_OP_FLAG_FADVISE_DONTNEED
LIBRADOS_OP_FLAG_FADVISE_NOCACHE
LIBRADOS_OP_FLAG_FADVISE_RANDOM
LIBRADOS_OP_FLAG_FADVISE_SEQUENTIAL
LIBRADOS_OP_FLAG_FADVISE_WILLNEED
LIBRADOS_OP_FLAG_FAILOK

Type Definitions

Enum_Unnamed1
Enum_Unnamed2
Enum_Unnamed3
rados_callback_t
rados_completion_t
rados_config_t
rados_ioctx_t
rados_list_ctx_t
rados_log_callback_t
rados_omap_iter_t
rados_read_op_t
rados_snap_t
rados_t
rados_watchcb2_t
rados_watchcb_t
rados_watcherrcb_t
rados_write_op_t
rados_xattrs_iter_t