[−][src]Struct rollbar::ReportErrorBuilder
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]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,