#[repr(u64)]pub enum CapInt {
NrVcpus,
MaxVcpus,
}
Expand description
Definition of capabilities that return an integer value indicating the amount of the queried capability.
Variants§
NrVcpus
Get the recommended max VPCUs (KVM_CAP_NR_VCPUS
).
MaxVcpus
Get the possible max VPCUs (KVM_CAP_MAX_VCPUS
).
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CapInt
impl Send for CapInt
impl Sync for CapInt
impl Unpin for CapInt
impl UnwindSafe for CapInt
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