#[repr(C)]pub struct CreateDomain {
pub ssidref: u32,
pub handle: [u8; 16],
pub flags: u32,
pub iommu_opts: u32,
pub max_vcpus: u32,
pub max_evtchn_port: u32,
pub max_grant_frames: i32,
pub max_maptrack_frames: i32,
pub grant_opts: u32,
pub vmtrace_size: u32,
pub cpupool_id: u32,
pub arch_domain_config: ArchDomainConfig,
}Fields§
§ssidref: u32§handle: [u8; 16]§flags: u32§iommu_opts: u32§max_vcpus: u32§max_evtchn_port: u32§max_grant_frames: i32§max_maptrack_frames: i32§grant_opts: u32§vmtrace_size: u32§cpupool_id: u32§arch_domain_config: ArchDomainConfigImplementations§
Source§impl CreateDomain
impl CreateDomain
pub fn to_cd_2(self) -> CreateDomain2
Trait Implementations§
Source§impl Clone for CreateDomain
impl Clone for CreateDomain
Source§fn clone(&self) -> CreateDomain
fn clone(&self) -> CreateDomain
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateDomain
impl Debug for CreateDomain
Source§impl Default for CreateDomain
impl Default for CreateDomain
impl Copy for CreateDomain
Auto Trait Implementations§
impl Freeze for CreateDomain
impl RefUnwindSafe for CreateDomain
impl Send for CreateDomain
impl Sync for CreateDomain
impl Unpin for CreateDomain
impl UnwindSafe for CreateDomain
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