Enum protos::plugin::vcpu_response::Message
source · #[non_exhaustive]pub enum Message {
Wait(Wait),
GetState(GetState),
SetState(SetState),
GetMsrs(GetMsrs),
SetMsrs(SetMsrs),
SetCpuid(SetCpuid),
GetHypervCpuid(CpuidResponse),
EnableCapability(EnableCapability),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Wait(Wait)
GetState(GetState)
SetState(SetState)
GetMsrs(GetMsrs)
SetMsrs(SetMsrs)
SetCpuid(SetCpuid)
GetHypervCpuid(CpuidResponse)
EnableCapability(EnableCapability)
Implementations§
source§impl Message
impl Message
pub(super) fn generated_oneof_descriptor_data() -> GeneratedOneofDescriptorData
Trait Implementations§
source§impl OneofFull for Message
impl OneofFull for Message
source§fn descriptor() -> OneofDescriptor
fn descriptor() -> OneofDescriptor
Descriptor object for this oneof.
source§impl PartialEq for Message
impl PartialEq for Message
impl Oneof for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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