pub struct CanisterDiagnosticsBatchEntry {
pub label: String,
pub report: CanisterDiagnosticsReport,
pub entry_elapsed: Duration,
}Expand description
One ordered labeled entry in a collect-all diagnostics batch.
Fields§
§label: StringCaller-supplied label.
report: CanisterDiagnosticsReportStructured status and log outcomes for this entry.
entry_elapsed: DurationComplete wall-clock time for this target’s diagnostic collection.
Implementations§
Source§impl CanisterDiagnosticsBatchEntry
impl CanisterDiagnosticsBatchEntry
Sourcepub const fn is_success(&self) -> bool
pub const fn is_success(&self) -> bool
Whether both status and log collection succeeded for this entry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CanisterDiagnosticsBatchEntry
impl RefUnwindSafe for CanisterDiagnosticsBatchEntry
impl Send for CanisterDiagnosticsBatchEntry
impl Sync for CanisterDiagnosticsBatchEntry
impl Unpin for CanisterDiagnosticsBatchEntry
impl UnsafeUnpin for CanisterDiagnosticsBatchEntry
impl UnwindSafe for CanisterDiagnosticsBatchEntry
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