Enum get_resources::ged::FirmwareEvent
source · pub enum FirmwareEvent {
BootSuccess,
BootFailed,
NoBootDevice,
BootAttempt,
}
Expand description
Firmware events generated by the guest.
TODO: For now, these mainly represent UEFI events without the corresponding extra information. This should be rethought when HvLite supports Linux Direct, IGVM, and other types.
Variants§
BootSuccess
Boot was successful.
BootFailed
Boot failed.
NoBootDevice
No boot device could be found.
BootAttempt
A boot attempt was made.
Trait Implementations§
source§impl Clone for FirmwareEvent
impl Clone for FirmwareEvent
source§fn clone(&self) -> FirmwareEvent
fn clone(&self) -> FirmwareEvent
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 FirmwareEvent
impl Debug for FirmwareEvent
source§impl DefaultEncoding for FirmwareEvent
impl DefaultEncoding for FirmwareEvent
source§type Encoding = OneofEncoder
type Encoding = OneofEncoder
The encoding to use for the serialization. Read more
source§impl<'encoding, AnyR: 'static> OneofDecode<'encoding, AnyR> for FirmwareEvent
impl<'encoding, AnyR: 'static> OneofDecode<'encoding, AnyR> for FirmwareEvent
source§fn read_variant(
item: &mut InplaceOption<'_, Self>,
n: u32,
field: FieldReader<'encoding, '_, AnyR>,
) -> Result<()>
fn read_variant( item: &mut InplaceOption<'_, Self>, n: u32, field: FieldReader<'encoding, '_, AnyR>, ) -> Result<()>
Read the specified variant from the reader.
source§impl<AnyR: 'static> OneofEncode<AnyR> for FirmwareEvent
impl<AnyR: 'static> OneofEncode<AnyR> for FirmwareEvent
source§fn write_variant(self, writer: MessageWriter<'_, '_, AnyR>)
fn write_variant(self, writer: MessageWriter<'_, '_, AnyR>)
Write the variant to the writer.
source§fn compute_variant_size(&mut self, sizer: MessageSizer<'_>)
fn compute_variant_size(&mut self, sizer: MessageSizer<'_>)
Compute the size of the variant.
source§impl PartialEq for FirmwareEvent
impl PartialEq for FirmwareEvent
impl Copy for FirmwareEvent
impl Downcast<FirmwareEvent> for FirmwareEvent
impl Eq for FirmwareEvent
impl StructuralPartialEq for FirmwareEvent
Auto Trait Implementations§
impl Freeze for FirmwareEvent
impl RefUnwindSafe for FirmwareEvent
impl Send for FirmwareEvent
impl Sync for FirmwareEvent
impl Unpin for FirmwareEvent
impl UnwindSafe for FirmwareEvent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MeshField for Twhere
T: DefaultEncoding + Any + Send + 'static,
<T as DefaultEncoding>::Encoding: FieldEncode<T, Resource> + for<'a> FieldDecode<'a, T, Resource> + Send + Sync,
impl<T> MeshField for Twhere
T: DefaultEncoding + Any + Send + 'static,
<T as DefaultEncoding>::Encoding: FieldEncode<T, Resource> + for<'a> FieldDecode<'a, T, Resource> + Send + Sync,
type Encoding = <T as DefaultEncoding>::Encoding
source§impl<T> MeshPayload for Twhere
T: DefaultEncoding + Any + Send + 'static,
<T as DefaultEncoding>::Encoding: MessageEncode<T, Resource> + for<'a> MessageDecode<'a, T, Resource> + FieldEncode<T, Resource> + for<'a> FieldDecode<'a, T, Resource> + Send + Sync,
impl<T> MeshPayload for Twhere
T: DefaultEncoding + Any + Send + 'static,
<T as DefaultEncoding>::Encoding: MessageEncode<T, Resource> + for<'a> MessageDecode<'a, T, Resource> + FieldEncode<T, Resource> + for<'a> FieldDecode<'a, T, Resource> + Send + Sync,
type Encoding = <T as DefaultEncoding>::Encoding
source§impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
source§type Encoding = <T as DefaultEncoding>::Encoding
type Encoding = <T as DefaultEncoding>::Encoding
The default encoding for
Self
.source§impl<T> SerializeMessage for Twhere
T: MeshPayload,
impl<T> SerializeMessage for Twhere
T: MeshPayload,
source§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in
MessageEncode::compute_message_size
.source§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in
MessageEncode::write_message
.source§fn extract(self) -> <T as SerializeMessage>::Concrete
fn extract(self) -> <T as SerializeMessage>::Concrete
Extract the concrete message.