ceph_rust::ceph

Function rados_object_write_full

Source
pub fn rados_object_write_full(
    ctx: rados_ioctx_t,
    object_name: &str,
    buffer: &[u8],
) -> RadosResult<()>
Expand description

The object is filled with the provided data. If the object exists, it is atomically truncated and then written.