[][src]Struct bugreport::BugReport

pub struct BugReport<'a> { /* fields omitted */ }

The main struct for collecting bug report information.

Use the bugreport macro to create one.

Implementations

impl<'a> BugReport<'a>[src]

pub fn info<C: Collector + 'static>(self, collector: C) -> Self[src]

Add a Collector to the bug report.

pub fn format<F: Format>(&mut self) -> String[src]

Assemble the bug report information using the given format.

pub fn print<F: Format>(&mut self)[src]

Print the bug report information using the given format.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for BugReport<'a>[src]

impl<'a> !Send for BugReport<'a>[src]

impl<'a> !Sync for BugReport<'a>[src]

impl<'a> Unpin for BugReport<'a>[src]

impl<'a> !UnwindSafe for BugReport<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.