Enum protos::generated::plugin::main_request::create::Constructor
source · #[non_exhaustive]pub enum Constructor {
IoEvent(IoEvent),
Memory(Memory),
IrqEvent(IrqEvent),
}
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.
Implementations§
source§impl Constructor
impl Constructor
pub(in generated::plugin) fn generated_oneof_descriptor_data( ) -> GeneratedOneofDescriptorData
Trait Implementations§
source§impl Clone for Constructor
impl Clone for Constructor
source§fn clone(&self) -> Constructor
fn clone(&self) -> Constructor
Returns a copy 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 Constructor
impl Debug for Constructor
source§impl OneofFull for Constructor
impl OneofFull for Constructor
source§fn descriptor() -> OneofDescriptor
fn descriptor() -> OneofDescriptor
Descriptor object for this oneof.
source§impl PartialEq for Constructor
impl PartialEq for Constructor
source§fn eq(&self, other: &Constructor) -> bool
fn eq(&self, other: &Constructor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Oneof for Constructor
impl StructuralPartialEq for Constructor
Auto Trait Implementations§
impl RefUnwindSafe for Constructor
impl Send for Constructor
impl Sync for Constructor
impl Unpin for Constructor
impl UnwindSafe for Constructor
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