pub struct CrashtrackerConfigurationBuilder { /* private fields */ }Implementations§
Source§impl CrashtrackerConfigurationBuilder
impl CrashtrackerConfigurationBuilder
pub fn additional_files(self, files: Vec<String>) -> Self
pub fn collect_all_threads(self, collect: bool) -> Self
pub fn create_alt_stack(self, create: bool) -> Self
pub fn use_alt_stack(self, use_it: bool) -> Self
pub fn demangle_names(self, demangle: bool) -> Self
pub fn endpoint_url(self, url: &str) -> Self
pub fn endpoint_api_key(self, api_key: &str) -> Self
pub fn endpoint_timeout_ms(self, timeout_ms: u64) -> Self
pub fn endpoint_test_token(self, test_token: &str) -> Self
pub fn endpoint_use_system_resolver(self, use_system_resolver: bool) -> Self
pub fn max_threads(self, max: usize) -> Self
pub fn resolve_frames(self, resolve: StacktraceCollection) -> Self
pub fn signals(self, signals: Vec<i32>) -> Self
pub fn timeout(self, timeout: Duration) -> Self
pub fn unix_socket_path(self, path: String) -> Self
pub fn unix_socket_connector(self, connector: fn(&str) -> RawFd) -> Self
pub fn build(self) -> Result<CrashtrackerConfiguration>
Trait Implementations§
Source§impl Default for CrashtrackerConfigurationBuilder
impl Default for CrashtrackerConfigurationBuilder
Source§fn default() -> CrashtrackerConfigurationBuilder
fn default() -> CrashtrackerConfigurationBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CrashtrackerConfigurationBuilder
impl RefUnwindSafe for CrashtrackerConfigurationBuilder
impl Send for CrashtrackerConfigurationBuilder
impl Sync for CrashtrackerConfigurationBuilder
impl Unpin for CrashtrackerConfigurationBuilder
impl UnsafeUnpin for CrashtrackerConfigurationBuilder
impl UnwindSafe for CrashtrackerConfigurationBuilder
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