pub struct DiagnosticsServices { /* private fields */ }
Expand description
Definition of the diagnostics services state
Implementations§
Source§impl DiagnosticsServices
impl DiagnosticsServices
Sourcepub fn new() -> DiagnosticsServices
pub fn new() -> DiagnosticsServices
Create a new instance of the diagnostics services
Sourcepub fn process_diagnostics<F>(
&mut self,
gm: &GuestMemory,
log_handler: F,
) -> Result<(), DiagnosticsError>where
F: FnMut(EfiDiagnosticsLog<'_>),
pub fn process_diagnostics<F>(
&mut self,
gm: &GuestMemory,
log_handler: F,
) -> Result<(), DiagnosticsError>where
F: FnMut(EfiDiagnosticsLog<'_>),
Process the diagnostics buffer
Trait Implementations§
Source§impl Inspect for DiagnosticsServices
impl Inspect for DiagnosticsServices
Source§impl SaveRestore for DiagnosticsServices
impl SaveRestore for DiagnosticsServices
Source§type SavedState = SavedState
type SavedState = SavedState
The concrete saved state type.
Source§fn restore(&mut self, state: Self::SavedState) -> Result<(), RestoreError>
fn restore(&mut self, state: Self::SavedState) -> Result<(), RestoreError>
Restores the object’s state.
Auto Trait Implementations§
impl Freeze for DiagnosticsServices
impl RefUnwindSafe for DiagnosticsServices
impl Send for DiagnosticsServices
impl Sync for DiagnosticsServices
impl Unpin for DiagnosticsServices
impl UnwindSafe for DiagnosticsServices
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ProtobufSaveRestore for T
impl<T> ProtobufSaveRestore for T
Source§fn restore(&mut self, state: SavedStateBlob) -> Result<(), RestoreError>
fn restore(&mut self, state: SavedStateBlob) -> Result<(), RestoreError>
Restore the object.