relay_filter

Trait Filterable

Source
pub trait Filterable {
    // Required methods
    fn csp(&self) -> Option<&Csp>;
    fn exceptions(&self) -> Option<&Values<Exception>>;
    fn ip_addr(&self) -> Option<&str>;
    fn logentry(&self) -> Option<&LogEntry>;
    fn release(&self) -> Option<&str>;
    fn transaction(&self) -> Option<&str>;
    fn url(&self) -> Option<Url>;
    fn user_agent(&self) -> Option<&str>;
}
Expand description

A data item to which filters can be applied.

Required Methods§

Source

fn csp(&self) -> Option<&Csp>

The CSP report contained in the item. Only for CSP reports.

Source

fn exceptions(&self) -> Option<&Values<Exception>>

The exception values of the item. Only for error events.

Source

fn ip_addr(&self) -> Option<&str>

The IP address of the client that sent the data.

Source

fn logentry(&self) -> Option<&LogEntry>

The logentry message. Only for error events.

Source

fn release(&self) -> Option<&str>

The release string of the data item.

Source

fn transaction(&self) -> Option<&str>

The transaction name. Only for transaction events.

Source

fn url(&self) -> Option<Url>

The URL from which the request originates. Used for localhost filtering.

Source

fn user_agent(&self) -> Option<&str>

The user agent of the client that sent the data.

Implementations on Foreign Types§

Source§

impl Filterable for Event

Source§

impl Filterable for Replay

Source§

impl Filterable for Span

Implementors§