pub struct CanisterDiagnosticsBatchEntry { /* private fields */ }Expand description
One ordered labeled entry in a collect-all diagnostics batch.
Implementations§
Source§impl CanisterDiagnosticsBatchEntry
impl CanisterDiagnosticsBatchEntry
Sourcepub const fn report(&self) -> &CanisterDiagnosticsReport
pub const fn report(&self) -> &CanisterDiagnosticsReport
Structured status and log outcomes for this entry.
Sourcepub const fn is_success(&self) -> bool
pub const fn is_success(&self) -> bool
Whether both status and log collection succeeded for this entry.
Sourcepub fn into_parts(self) -> (String, CanisterDiagnosticsReport)
pub fn into_parts(self) -> (String, CanisterDiagnosticsReport)
Consume the entry into its caller label and structured report.
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