[][src]Struct rollbar::ReportBuilder

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

Builder for a generic request to Rollbar.

Methods

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

pub fn from_panic(
    &'a mut self,
    panic_info: &'a PanicInfo
) -> ReportErrorBuilder<'a>
[src]

To be used when a panic report must be sent.

pub fn from_error<E: Error>(
    &'a mut self,
    error: &'a E
) -> ReportErrorBuilder<'a>
[src]

To be used when an error::Error must be reported.

pub fn from_error_message<T: Display>(
    &'a mut self,
    error_message: &'a T
) -> ReportErrorBuilder<'a>
[src]

To be used when a error message must be reported.

pub fn from_message(&'a mut self, message: &'a str) -> ReportMessageBuilder<'a>[src]

To be used when a message must be tracked by Rollbar.

pub fn with_send_strategy(
    &mut self,
    val: Box<dyn Fn(Arc<Client<HttpsConnector<HttpConnector>>>, String) -> JoinHandle<Option<ResponseStatus>>>
) -> &mut Self
[src]

Auto Trait Implementations

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

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

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

impl<'a> Unpin for ReportBuilder<'a>

impl<'a> !UnwindSafe for ReportBuilder<'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, 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.