Struct rollbar::FrameBuilder
[−]
[src]
pub struct FrameBuilder { /* fields omitted */ }
Builder for a frame. A collection of frames identifies a stack trace.
Methods
impl<'a> FrameBuilder
[src]
fn new() -> Self
Create a new FrameBuilder.
fn with_file_name<T: Into<String>>(&'a mut self, file_name: T) -> &'a mut Self
Tell the origin of the error by adding the file name to the report.
fn with_line_number(&mut self, val: u32) -> &mut Self
fn with_column_number(&mut self, val: u32) -> &mut Self
fn with_function_name<T: Into<String>>(&mut self, val: T) -> &mut Self
fn with_function_code_line<T: Into<String>>(&mut self, val: T) -> &mut Self
fn build(&self) -> Self
Conclude the creation of the frame.
Trait Implementations
impl Default for FrameBuilder
[src]
fn default() -> FrameBuilder
Returns the "default value" for a type. Read more
impl Clone for FrameBuilder
[src]
fn clone(&self) -> FrameBuilder
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more