#[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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more