How should read and write operations be used?
- Dominant language
- Rust
- Stars
- 110
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
At the moment there are two exported structures for read/write operations:
```
pub struct ReadOperation {
pub object_name: String,
/// flags are set by calling LIBRADOS_OPERATION_NOFLAG |
/// LIBRADOS_OPERATION_BALANCE_READS
/// all the other flags are documented in rados.rs
pub flags: u32,
read_op_handle: rados_read_op_t,
}
pub struct WriteOperation {
pub object_name: String,
/// flags are set by calling LIBRADOS_OPERATION_NOFLAG |
/// LIBRADOS_OPERATION_ORDER_READS_WRITES
/// all the other flags are documented in rados.rs
pub flags: u32,
pub mtime: time_t,
write_op_handle: rados_write_op_t,
}
```
read_op_handle and write_op_handle are, however, private and there aren't any methods to create the structs in the crate itself. So how are read/write operations supposed to be used, or this is something like a work in progress and they are not usable yet?
Thank you.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.