Struct simics_api_sys::vhdx_info_t
source · #[repr(C)]pub struct vhdx_info_t {
pub creator: [c_char; 512],
pub size: uint64,
pub logical_sector_size: uint32,
pub physical_sector_size: uint32,
pub virtual_disk_id: vhdx_muuid_t,
pub file_write_guid: vhdx_muuid_t,
pub data_write_guid: vhdx_muuid_t,
pub version: uint16,
pub has_parent: bool,
pub block_size: uint32,
}
Fields§
§creator: [c_char; 512]
From VHDX specification: “Contains a UTF-16 string that can be null terminated. This field is optional; the implementation fills it in during the creation of the VHDX file to identify, uniquely, the creator of the VHDX file. Implementation MUST NOT use this field as a mechanism to influence implementation behavior; it exists for diagnostic purposes only.”
size: uint64
the size of the virtual disk, in bytes
logical_sector_size: uint32
the virtual disk’s sector size, in bytes
physical_sector_size: uint32
the virtual disk’s physical sector size, in bytes
virtual_disk_id: vhdx_muuid_t
A GUID that specifies the identification of the disk.
file_write_guid: vhdx_muuid_t
A GUID that identifies the file’s contents.
data_write_guid: vhdx_muuid_t
A GUID that identifies the contents of user visible data. It is used for the validation of a differential VHDX chain.
version: uint16
Specifies the version of the VHDX format used within the VHDX file.
has_parent: bool
Specifies whether this file has a parent VHDX file. If set, the file is a differencing file, and one or more parent locators specify the location and identity of the parent.
block_size: uint32
the size of each payload block in bytes
Trait Implementations§
source§impl Clone for vhdx_info_t
impl Clone for vhdx_info_t
source§fn clone(&self) -> vhdx_info_t
fn clone(&self) -> vhdx_info_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for vhdx_info_t
impl Debug for vhdx_info_t
source§impl Default for vhdx_info_t
impl Default for vhdx_info_t
source§impl Hash for vhdx_info_t
impl Hash for vhdx_info_t
source§impl Ord for vhdx_info_t
impl Ord for vhdx_info_t
source§fn cmp(&self, other: &vhdx_info_t) -> Ordering
fn cmp(&self, other: &vhdx_info_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for vhdx_info_t
impl PartialEq for vhdx_info_t
source§impl PartialOrd for vhdx_info_t
impl PartialOrd for vhdx_info_t
impl Copy for vhdx_info_t
impl Eq for vhdx_info_t
impl StructuralPartialEq for vhdx_info_t
Auto Trait Implementations§
impl Freeze for vhdx_info_t
impl RefUnwindSafe for vhdx_info_t
impl Send for vhdx_info_t
impl Sync for vhdx_info_t
impl Unpin for vhdx_info_t
impl UnwindSafe for vhdx_info_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)