ceph-rs:用于Ceph的Rust库(当前,仅librados)

时间:2021-05-19 14:14:05
【文件属性】:
文件名称:ceph-rs:用于Ceph的Rust库(当前,仅librados)
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-19 14:14:05
Rust 头孢 librados -rs是Ceph的librados的惯用包装。 用法 extern crate ceph; use std :: env; use ceph :: rados :: version; use ceph :: rados :: Cluster; fn main () { let args: Vec < _ > = env :: args (). collect (); println! ( "rados::version() => {}" , ceph :: rados :: version ()); /* Initialize the cluster handle with the "ceph" cluster name and the "client.admin" user */ let cluster = Cluster :: cre
【文件预览】:
ceph-rs-develop
----.gitignore(62B)
----README.md(2KB)
----.gitmodules(217B)
----library()
----Cargo.toml(140B)
----Vagrantfile(3KB)
----ceph-ansible()
----src()
--------ceph()
--------main.rs(3KB)
----rust.yml(264B)
----LICENSE.txt(1KB)
----Cargo.lock(125B)
----playbook.yml(2KB)

网友评论