Struct actix_tools::sentry::sentry_client::ClientOptions [−][src]
pub struct ClientOptions {
pub in_app_include: Vec<&'static str>,
pub in_app_exclude: Vec<&'static str>,
pub extra_border_frames: Vec<&'static str>,
pub max_breadcrumbs: usize,
pub trim_backtraces: bool,
pub release: Option<Cow<'static, str>>,
pub environment: Option<Cow<'static, str>>,
pub server_name: Option<Cow<'static, str>>,
pub user_agent: Cow<'static, str>,
pub http_proxy: Option<Cow<'static, str>>,
pub https_proxy: Option<Cow<'static, str>>,
pub shutdown_timeout: Option<Duration>,
}Configuration settings for the client.
Fields
in_app_include: Vec<&'static str>
module prefixes that are always considered in_app
in_app_exclude: Vec<&'static str>
module prefixes that are never in_app
extra_border_frames: Vec<&'static str>
border frames which indicate a border from a backtrace to useless internals. Some are automatically included.
Maximum number of breadcrumbs (0 to disable feature).
trim_backtraces: bool
Automatically trim backtraces of junk before sending.
release: Option<Cow<'static, str>>
The release to be sent with events.
environment: Option<Cow<'static, str>>
The environment to be sent with events.
server_name: Option<Cow<'static, str>>
The server name to be reported.
user_agent: Cow<'static, str>
The user agent that should be reported.
http_proxy: Option<Cow<'static, str>>
An optional HTTP proxy to use.
This will default to the http_proxy environment variable.
https_proxy: Option<Cow<'static, str>>
An optional HTTPS proxy to use.
This will default to the HTTPS_PROXY environment variable
or http_proxy if that one exists.
shutdown_timeout: Option<Duration>
The timeout on client drop for draining events.
Trait Implementations
impl Clone for ClientOptions[src]
impl Clone for ClientOptionsfn clone(&self) -> ClientOptions[src]
fn clone(&self) -> ClientOptionsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Default for ClientOptions[src]
impl Default for ClientOptionsfn default() -> ClientOptions[src]
fn default() -> ClientOptionsReturns the "default value" for a type. Read more
impl Debug for ClientOptions[src]
impl Debug for ClientOptionsAuto Trait Implementations
impl Send for ClientOptions
impl Send for ClientOptionsimpl Sync for ClientOptions
impl Sync for ClientOptions