pub struct CanisterDiagnosticsBatchReport {
pub entries: Vec<CanisterDiagnosticsBatchEntry>,
pub total: Duration,
}Expand description
Ordered entries from a sequential collect-all diagnostics batch.
Fields§
§entries: Vec<CanisterDiagnosticsBatchEntry>Entries in the supplied request order.
total: DurationComplete wall-clock time for the sequential collect-all batch.
Implementations§
Source§impl CanisterDiagnosticsBatchReport
impl CanisterDiagnosticsBatchReport
Sourcepub fn failures(&self) -> impl Iterator<Item = &CanisterDiagnosticsBatchEntry>
pub fn failures(&self) -> impl Iterator<Item = &CanisterDiagnosticsBatchEntry>
Entries with at least one failed status or log operation.
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Whether every entry collected both status and logs successfully.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CanisterDiagnosticsBatchReport
impl RefUnwindSafe for CanisterDiagnosticsBatchReport
impl Send for CanisterDiagnosticsBatchReport
impl Sync for CanisterDiagnosticsBatchReport
impl Unpin for CanisterDiagnosticsBatchReport
impl UnsafeUnpin for CanisterDiagnosticsBatchReport
impl UnwindSafe for CanisterDiagnosticsBatchReport
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