[][src]Struct rollbar::FrameBuilder

pub struct FrameBuilder { /* fields omitted */ }

Builder for a frame. A collection of frames identifies a stack trace.

Methods

impl<'a> FrameBuilder[src]

pub fn new() -> Self[src]

Create a new FrameBuilder.

pub fn with_file_name<T: Into<String>>(
    &'a mut self,
    file_name: T
) -> &'a mut Self
[src]

Tell the origin of the error by adding the file name to the report.

pub fn with_line_number(&mut self, val: u32) -> &mut Self[src]

pub fn with_column_number(&mut self, val: u32) -> &mut Self[src]

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

pub fn build(&self) -> Self[src]

Conclude the creation of the frame.

Trait Implementations

impl Clone for FrameBuilder[src]

impl Debug for FrameBuilder[src]

impl Default for FrameBuilder[src]

impl Serialize for FrameBuilder[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.