Struct librbd_sys::rbd_image_info_t
[−]
[src]
#[repr(C)]pub struct rbd_image_info_t { pub size: uint64_t, pub obj_size: uint64_t, pub num_objs: uint64_t, pub order: c_int, pub block_name_prefix: [c_char; 24], pub parent_pool: int64_t, pub parent_name: [c_char; 96], }
Fields
size: uint64_t
The size of the image in bytes
obj_size: uint64_t
The size of each object that comprises the image
num_objs: uint64_t
The number of objects in the image
order: c_int
log_2(object_size)
block_name_prefix: [c_char; 24]
The prefix of the RADOS objects used to store the image
parent_pool: int64_t
deprecated
parent_name: [c_char; 96]
deprecated
Trait Implementations
impl Copy for rbd_image_info_t
[src]
impl Clone for rbd_image_info_t
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more