[−][src]Struct rollbar::FrameBuilder
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]
&'a mut self,
file_name: T
) -> &'a mut Self
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]
fn clone(&self) -> FrameBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FrameBuilder
[src]
impl Default for FrameBuilder
[src]
fn default() -> FrameBuilder
[src]
impl Serialize for FrameBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for FrameBuilder
impl Send for FrameBuilder
impl Sync for FrameBuilder
impl Unpin for FrameBuilder
impl UnwindSafe for FrameBuilder
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,