-
Notifications
You must be signed in to change notification settings - Fork 45
Open
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels