pub struct CrashPingBuilder { /* private fields */ }Implementations§
Source§impl CrashPingBuilder
impl CrashPingBuilder
Sourcepub fn new(crash_uuid: Uuid) -> Self
pub fn new(crash_uuid: Uuid) -> Self
Crash pings should only be initalized and built by the CrashInfoBuilder We require the crash uuid to be passed in because a CrashPing is always associated with a specific crash.
pub fn with_sig_info(self, sig_info: SigInfo) -> Self
pub fn with_custom_message(self, message: String) -> Self
pub fn with_kind(self, kind: ErrorKind) -> Self
pub fn with_metadata(self, metadata: Metadata) -> Self
pub fn build(self) -> Result<CrashPing>
Auto Trait Implementations§
impl Freeze for CrashPingBuilder
impl RefUnwindSafe for CrashPingBuilder
impl Send for CrashPingBuilder
impl Sync for CrashPingBuilder
impl Unpin for CrashPingBuilder
impl UnsafeUnpin for CrashPingBuilder
impl UnwindSafe for CrashPingBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more