pub struct VmgsGetDeviceInfo {
pub status: VmgsIoStatus,
pub capacity: u64,
pub bytes_per_logical_sector: u16,
pub bytes_per_physical_sector: u16,
pub maximum_transfer_size_bytes: u32,
}
Expand description
Response fields for VMGS Get Device Info from the host
Fields§
§status: VmgsIoStatus
Status of the request
capacity: u64
Logical sectors
bytes_per_logical_sector: u16
Bytes per logical sector
bytes_per_physical_sector: u16
Bytes per physical sector
maximum_transfer_size_bytes: u32
Maximum transfer size bytes
Auto Trait Implementations§
impl Freeze for VmgsGetDeviceInfo
impl RefUnwindSafe for VmgsGetDeviceInfo
impl Send for VmgsGetDeviceInfo
impl Sync for VmgsGetDeviceInfo
impl Unpin for VmgsGetDeviceInfo
impl UnwindSafe for VmgsGetDeviceInfo
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
Mutably borrows from an owned value. Read more