Enum protos::registered_events::registered_event::Event
source · #[non_exhaustive]pub enum Event {
Resize(VirtioBalloonResize),
OomDeflation(VirtioBalloonOOMDeflation),
WsReport(VirtioBalloonWsReport),
}
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.
Resize(VirtioBalloonResize)
OomDeflation(VirtioBalloonOOMDeflation)
WsReport(VirtioBalloonWsReport)
Implementations§
source§impl Event
impl Event
pub(super) fn generated_oneof_descriptor_data() -> GeneratedOneofDescriptorData
Trait Implementations§
source§impl OneofFull for Event
impl OneofFull for Event
source§fn descriptor() -> OneofDescriptor
fn descriptor() -> OneofDescriptor
Descriptor object for this oneof.
source§impl PartialEq<Event> for Event
impl PartialEq<Event> for Event
impl Oneof for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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