[][src]Struct rollbar::ReportErrorBuilder

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

Builder specialized for reporting errors.

Methods

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

pub fn with_backtrace(&mut self, backtrace: &'a Backtrace) -> &mut Self[src]

Attach a backtrace::Backtrace to the description of the report.

pub fn with_frame(&mut self, frame_builder: FrameBuilder) -> &mut Self[src]

Add a new frame to the collection of stack frames.

pub fn with_level<T: Into<Level>>(&mut self, val: T) -> &mut Self[src]

pub fn with_title<T: Into<String>>(&mut self, val: T) -> &mut Self[src]

pub fn send(&mut self) -> JoinHandle<Option<ResponseStatus>>[src]

Send the report to Rollbar.

Trait Implementations

impl<'a> Serialize for ReportErrorBuilder<'a>[src]

impl<'a> ToString for ReportErrorBuilder<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ReportErrorBuilder<'a>

impl<'a> !Send for ReportErrorBuilder<'a>

impl<'a> !Sync for ReportErrorBuilder<'a>

impl<'a> Unpin for ReportErrorBuilder<'a>

impl<'a> !UnwindSafe for ReportErrorBuilder<'a>

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> ToString for T where
    T: Display + ?Sized
[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.