diff --git a/relay/all.html b/relay/all.html index de432429b0..9aed90bdbd 100644 --- a/relay/all.html +++ b/relay/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Functions

Statics

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Functions

Statics

Constants

\ No newline at end of file diff --git a/relay/cli/fn.execute.html b/relay/cli/fn.execute.html index c8b2c9384c..fa34657b4f 100644 --- a/relay/cli/fn.execute.html +++ b/relay/cli/fn.execute.html @@ -1,2 +1,2 @@ -execute in relay::cli - Rust
relay::cli

Function execute

source
pub fn execute() -> Result<()>
Expand description

Runs the command line application.

+execute in relay::cli - Rust
relay::cli

Function execute

source
pub fn execute() -> Result<()>
Expand description

Runs the command line application.

\ No newline at end of file diff --git a/relay/cli/fn.extract_config_args.html b/relay/cli/fn.extract_config_args.html index d58a3b2d93..71f8657969 100644 --- a/relay/cli/fn.extract_config_args.html +++ b/relay/cli/fn.extract_config_args.html @@ -1,2 +1,2 @@ -extract_config_args in relay::cli - Rust
relay::cli

Function extract_config_args

source
pub fn extract_config_args(matches: &ArgMatches) -> OverridableConfig
Expand description

Extract config arguments from a parsed command line arguments object

+extract_config_args in relay::cli - Rust
relay::cli

Function extract_config_args

source
pub fn extract_config_args(matches: &ArgMatches) -> OverridableConfig
Expand description

Extract config arguments from a parsed command line arguments object

\ No newline at end of file diff --git a/relay/cli/fn.extract_config_env_vars.html b/relay/cli/fn.extract_config_env_vars.html index 09dd242d23..ab3129b784 100644 --- a/relay/cli/fn.extract_config_env_vars.html +++ b/relay/cli/fn.extract_config_env_vars.html @@ -1,2 +1,2 @@ -extract_config_env_vars in relay::cli - Rust
relay::cli

Function extract_config_env_vars

source
pub fn extract_config_env_vars() -> OverridableConfig
Expand description

Extract config arguments from environment variables

+extract_config_env_vars in relay::cli - Rust
relay::cli

Function extract_config_env_vars

source
pub fn extract_config_env_vars() -> OverridableConfig
Expand description

Extract config arguments from environment variables

\ No newline at end of file diff --git a/relay/cli/fn.generate_completions.html b/relay/cli/fn.generate_completions.html index 8185a945d9..5f5d878d04 100644 --- a/relay/cli/fn.generate_completions.html +++ b/relay/cli/fn.generate_completions.html @@ -1 +1 @@ -generate_completions in relay::cli - Rust
relay::cli

Function generate_completions

source
pub fn generate_completions(matches: &ArgMatches) -> Result<()>
\ No newline at end of file +generate_completions in relay::cli - Rust
relay::cli

Function generate_completions

source
pub fn generate_completions(matches: &ArgMatches) -> Result<()>
\ No newline at end of file diff --git a/relay/cli/fn.init_config.html b/relay/cli/fn.init_config.html index 9fbb6df0e6..573b42a266 100644 --- a/relay/cli/fn.init_config.html +++ b/relay/cli/fn.init_config.html @@ -1,4 +1,4 @@ -init_config in relay::cli - Rust
relay::cli

Function init_config

source
pub fn init_config<P: AsRef<Path>>(
+init_config in relay::cli - Rust
relay::cli

Function init_config

source
pub fn init_config<P: AsRef<Path>>(
     config_path: P,
     _matches: &ArgMatches,
 ) -> Result<()>
\ No newline at end of file diff --git a/relay/cli/fn.load_config.html b/relay/cli/fn.load_config.html index 4449e4eb2b..d69ffa18d3 100644 --- a/relay/cli/fn.load_config.html +++ b/relay/cli/fn.load_config.html @@ -1 +1 @@ -load_config in relay::cli - Rust
relay::cli

Function load_config

source
fn load_config(path: impl AsRef<Path>, require: bool) -> Result<Config>
\ No newline at end of file +load_config in relay::cli - Rust
relay::cli

Function load_config

source
fn load_config(path: impl AsRef<Path>, require: bool) -> Result<Config>
\ No newline at end of file diff --git a/relay/cli/fn.manage_config.html b/relay/cli/fn.manage_config.html index 4075cdac69..e0921b77f3 100644 --- a/relay/cli/fn.manage_config.html +++ b/relay/cli/fn.manage_config.html @@ -1 +1 @@ -manage_config in relay::cli - Rust
relay::cli

Function manage_config

source
pub fn manage_config(config: &Config, matches: &ArgMatches) -> Result<()>
\ No newline at end of file +manage_config in relay::cli - Rust
relay::cli

Function manage_config

source
pub fn manage_config(config: &Config, matches: &ArgMatches) -> Result<()>
\ No newline at end of file diff --git a/relay/cli/fn.manage_credentials.html b/relay/cli/fn.manage_credentials.html index b003da46e1..440c50334e 100644 --- a/relay/cli/fn.manage_credentials.html +++ b/relay/cli/fn.manage_credentials.html @@ -1 +1 @@ -manage_credentials in relay::cli - Rust
relay::cli

Function manage_credentials

source
pub fn manage_credentials(config: Config, matches: &ArgMatches) -> Result<()>
\ No newline at end of file +manage_credentials in relay::cli - Rust
relay::cli

Function manage_credentials

source
pub fn manage_credentials(config: Config, matches: &ArgMatches) -> Result<()>
\ No newline at end of file diff --git a/relay/cli/fn.run.html b/relay/cli/fn.run.html index 25e9f4ab48..cf5f374f44 100644 --- a/relay/cli/fn.run.html +++ b/relay/cli/fn.run.html @@ -1 +1 @@ -run in relay::cli - Rust
relay::cli

Function run

source
pub fn run(config: Config, _matches: &ArgMatches) -> Result<()>
\ No newline at end of file +run in relay::cli - Rust
relay::cli

Function run

source
pub fn run(config: Config, _matches: &ArgMatches) -> Result<()>
\ No newline at end of file diff --git a/relay/cli/index.html b/relay/cli/index.html index 2e39d434d3..6285645278 100644 --- a/relay/cli/index.html +++ b/relay/cli/index.html @@ -1 +1 @@ -relay::cli - Rust
relay

Module cli

source

Functionsยง

\ No newline at end of file +relay::cli - Rust
relay

Module cli

source

Functionsยง

\ No newline at end of file diff --git a/relay/cliapp/constant.ABOUT.html b/relay/cliapp/constant.ABOUT.html index d6f4333205..c575bedc98 100644 --- a/relay/cliapp/constant.ABOUT.html +++ b/relay/cliapp/constant.ABOUT.html @@ -1 +1 @@ -ABOUT in relay::cliapp - Rust
relay::cliapp

Constant ABOUT

source
pub const ABOUT: &str = "The official Sentry Relay.";
\ No newline at end of file +ABOUT in relay::cliapp - Rust
relay::cliapp

Constant ABOUT

source
pub const ABOUT: &str = "The official Sentry Relay.";
\ No newline at end of file diff --git a/relay/cliapp/constant.VERSION.html b/relay/cliapp/constant.VERSION.html index b95dce7931..267d9f9ded 100644 --- a/relay/cliapp/constant.VERSION.html +++ b/relay/cliapp/constant.VERSION.html @@ -1 +1 @@ -VERSION in relay::cliapp - Rust
relay::cliapp

Constant VERSION

source
pub const VERSION: &str = "24.12.0";
\ No newline at end of file +VERSION in relay::cliapp - Rust
relay::cliapp

Constant VERSION

source
pub const VERSION: &str = "24.12.1";
\ No newline at end of file diff --git a/relay/cliapp/fn.make_app.html b/relay/cliapp/fn.make_app.html index cce8238d7b..07ee91f4a3 100644 --- a/relay/cliapp/fn.make_app.html +++ b/relay/cliapp/fn.make_app.html @@ -1 +1 @@ -make_app in relay::cliapp - Rust
relay::cliapp

Function make_app

source
pub fn make_app() -> Command
\ No newline at end of file +make_app in relay::cliapp - Rust
relay::cliapp

Function make_app

source
pub fn make_app() -> Command
\ No newline at end of file diff --git a/relay/cliapp/index.html b/relay/cliapp/index.html index a3d37716c7..52dcf593ad 100644 --- a/relay/cliapp/index.html +++ b/relay/cliapp/index.html @@ -1,2 +1,2 @@ -relay::cliapp - Rust
relay

Module cliapp

source
Expand description

This module implements the definition of the command line app.

+relay::cliapp - Rust
relay

Module cliapp

source
Expand description

This module implements the definition of the command line app.

Constantsยง

Functionsยง

\ No newline at end of file diff --git a/relay/fn.main.html b/relay/fn.main.html index c5d760fca4..6b39d5d444 100644 --- a/relay/fn.main.html +++ b/relay/fn.main.html @@ -1 +1 @@ -main in relay - Rust
relay

Function main

source
pub fn main()
\ No newline at end of file +main in relay - Rust
relay

Function main

source
pub fn main()
\ No newline at end of file diff --git a/relay/index.html b/relay/index.html index 4f034b8758..f466aafc4a 100644 --- a/relay/index.html +++ b/relay/index.html @@ -1,4 +1,4 @@ -relay - Rust

Crate relay

source
Expand description

+relay - Rust

Crate relay

source
Expand description

Relay

Relay is a standalone service for scrubbing personal information and improving event submission diff --git a/relay/setup/fn.check_config.html b/relay/setup/fn.check_config.html index e1817c6994..113868c014 100644 --- a/relay/setup/fn.check_config.html +++ b/relay/setup/fn.check_config.html @@ -1 +1 @@ -check_config in relay::setup - Rust

relay::setup

Function check_config

source
pub fn check_config(config: &Config) -> Result<()>
\ No newline at end of file +check_config in relay::setup - Rust
relay::setup

Function check_config

source
pub fn check_config(config: &Config) -> Result<()>
\ No newline at end of file diff --git a/relay/setup/fn.dump_credentials.html b/relay/setup/fn.dump_credentials.html index 54e164f667..a16703ba69 100644 --- a/relay/setup/fn.dump_credentials.html +++ b/relay/setup/fn.dump_credentials.html @@ -1,2 +1,2 @@ -dump_credentials in relay::setup - Rust
relay::setup

Function dump_credentials

source
pub fn dump_credentials(config: &Config)
Expand description

Dumps out credential info.

+dump_credentials in relay::setup - Rust
relay::setup

Function dump_credentials

source
pub fn dump_credentials(config: &Config)
Expand description

Dumps out credential info.

\ No newline at end of file diff --git a/relay/setup/fn.dump_spawn_infos.html b/relay/setup/fn.dump_spawn_infos.html index 046ab0ba2b..890351fa0e 100644 --- a/relay/setup/fn.dump_spawn_infos.html +++ b/relay/setup/fn.dump_spawn_infos.html @@ -1,2 +1,2 @@ -dump_spawn_infos in relay::setup - Rust
relay::setup

Function dump_spawn_infos

source
pub fn dump_spawn_infos(config: &Config)
Expand description

Print spawn infos to the log.

+dump_spawn_infos in relay::setup - Rust
relay::setup

Function dump_spawn_infos

source
pub fn dump_spawn_infos(config: &Config)
Expand description

Print spawn infos to the log.

\ No newline at end of file diff --git a/relay/setup/fn.init_metrics.html b/relay/setup/fn.init_metrics.html index 427db2de9c..8da8176ef9 100644 --- a/relay/setup/fn.init_metrics.html +++ b/relay/setup/fn.init_metrics.html @@ -1,2 +1,2 @@ -init_metrics in relay::setup - Rust
relay::setup

Function init_metrics

source
pub fn init_metrics(config: &Config) -> Result<()>
Expand description

Initialize the metric system.

+init_metrics in relay::setup - Rust
relay::setup

Function init_metrics

source
pub fn init_metrics(config: &Config) -> Result<()>
Expand description

Initialize the metric system.

\ No newline at end of file diff --git a/relay/setup/index.html b/relay/setup/index.html index 384c8c1635..797e0cdec7 100644 --- a/relay/setup/index.html +++ b/relay/setup/index.html @@ -1 +1 @@ -relay::setup - Rust
relay

Module setup

source

Functionsยง

\ No newline at end of file +relay::setup - Rust
relay

Module setup

source

Functionsยง

\ No newline at end of file diff --git a/relay/static.GLOBAL.html b/relay/static.GLOBAL.html index 7fd250cac6..4eb194e28c 100644 --- a/relay/static.GLOBAL.html +++ b/relay/static.GLOBAL.html @@ -1 +1 @@ -GLOBAL in relay - Rust
relay

Static GLOBAL

source
pub(crate) static GLOBAL: Jemalloc
\ No newline at end of file +GLOBAL in relay - Rust
relay

Static GLOBAL

source
pub(crate) static GLOBAL: Jemalloc
\ No newline at end of file diff --git a/relay/utils/fn.get_theme.html b/relay/utils/fn.get_theme.html index e7aef48d64..b31f2fbee7 100644 --- a/relay/utils/fn.get_theme.html +++ b/relay/utils/fn.get_theme.html @@ -1,2 +1,2 @@ -get_theme in relay::utils - Rust
relay::utils

Function get_theme

source
pub fn get_theme() -> &'static dyn Theme
Expand description

Returns the theme to use.

+get_theme in relay::utils - Rust
relay::utils

Function get_theme

source
pub fn get_theme() -> &'static dyn Theme
Expand description

Returns the theme to use.

\ No newline at end of file diff --git a/relay/utils/fn.prompt_value.html b/relay/utils/fn.prompt_value.html index 41c8164741..729ac70f38 100644 --- a/relay/utils/fn.prompt_value.html +++ b/relay/utils/fn.prompt_value.html @@ -1,3 +1,3 @@ -prompt_value in relay::utils - Rust
relay::utils

Function prompt_value

source
pub fn prompt_value<V: FromStr + Display>(name: &str, v: &mut V) -> Result<()>
where +prompt_value in relay::utils - Rust
relay::utils

Function prompt_value

source
pub fn prompt_value<V: FromStr + Display>(name: &str, v: &mut V) -> Result<()>
where <V as FromStr>::Err: Display,
Expand description

Prompts for a value that has a default.

\ No newline at end of file diff --git a/relay/utils/fn.prompt_value_no_default.html b/relay/utils/fn.prompt_value_no_default.html index 6e343904c6..79aee046c1 100644 --- a/relay/utils/fn.prompt_value_no_default.html +++ b/relay/utils/fn.prompt_value_no_default.html @@ -1,3 +1,3 @@ -prompt_value_no_default in relay::utils - Rust
relay::utils

Function prompt_value_no_default

source
pub fn prompt_value_no_default<V: FromStr + Display>(name: &str) -> Result<V>
where +prompt_value_no_default in relay::utils - Rust
relay::utils

Function prompt_value_no_default

source
pub fn prompt_value_no_default<V: FromStr + Display>(name: &str) -> Result<V>
where <V as FromStr>::Err: Display,
Expand description

Prompts for a value without a default.

\ No newline at end of file diff --git a/relay/utils/index.html b/relay/utils/index.html index aa4d43769c..e0cba0c97a 100644 --- a/relay/utils/index.html +++ b/relay/utils/index.html @@ -1 +1 @@ -relay::utils - Rust
relay

Module utils

source

Staticsยง

Functionsยง

\ No newline at end of file +relay::utils - Rust
relay

Module utils

source

Staticsยง

Functionsยง

\ No newline at end of file diff --git a/relay/utils/static.THEME.html b/relay/utils/static.THEME.html index 6d107e2436..89f0df7d5f 100644 --- a/relay/utils/static.THEME.html +++ b/relay/utils/static.THEME.html @@ -1 +1 @@ -THEME in relay::utils - Rust
relay::utils

Static THEME

source
static THEME: Lazy<ColorfulTheme>
\ No newline at end of file +THEME in relay::utils - Rust
relay::utils

Static THEME

source
static THEME: Lazy<ColorfulTheme>
\ No newline at end of file diff --git a/relay_auth/all.html b/relay_auth/all.html index 172bc327e7..375c7d63be 100644 --- a/relay_auth/all.html +++ b/relay_auth/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/relay_auth/constant.VERSION_MAJOR.html b/relay_auth/constant.VERSION_MAJOR.html index 368bf48410..112eebca6f 100644 --- a/relay_auth/constant.VERSION_MAJOR.html +++ b/relay_auth/constant.VERSION_MAJOR.html @@ -1 +1 @@ -VERSION_MAJOR in relay_auth - Rust
relay_auth

Constant VERSION_MAJOR

source
pub const VERSION_MAJOR: u8 = 24;
\ No newline at end of file +VERSION_MAJOR in relay_auth - Rust
relay_auth

Constant VERSION_MAJOR

source
pub const VERSION_MAJOR: u8 = 24;
\ No newline at end of file diff --git a/relay_auth/constant.VERSION_MINOR.html b/relay_auth/constant.VERSION_MINOR.html index 465b87f293..80a8c24a01 100644 --- a/relay_auth/constant.VERSION_MINOR.html +++ b/relay_auth/constant.VERSION_MINOR.html @@ -1 +1 @@ -VERSION_MINOR in relay_auth - Rust
relay_auth

Constant VERSION_MINOR

source
pub const VERSION_MINOR: u8 = 12;
\ No newline at end of file +VERSION_MINOR in relay_auth - Rust
relay_auth

Constant VERSION_MINOR

source
pub const VERSION_MINOR: u8 = 12;
\ No newline at end of file diff --git a/relay_auth/constant.VERSION_PATCH.html b/relay_auth/constant.VERSION_PATCH.html index b1f7e9a736..46728f8254 100644 --- a/relay_auth/constant.VERSION_PATCH.html +++ b/relay_auth/constant.VERSION_PATCH.html @@ -1 +1 @@ -VERSION_PATCH in relay_auth - Rust
relay_auth

Constant VERSION_PATCH

source
pub const VERSION_PATCH: u8 = 0;
\ No newline at end of file +VERSION_PATCH in relay_auth - Rust
relay_auth

Constant VERSION_PATCH

source
pub const VERSION_PATCH: u8 = 1;
\ No newline at end of file diff --git a/relay_auth/enum.KeyParseError.html b/relay_auth/enum.KeyParseError.html index af9b58b534..e10d80b645 100644 --- a/relay_auth/enum.KeyParseError.html +++ b/relay_auth/enum.KeyParseError.html @@ -1,4 +1,4 @@ -KeyParseError in relay_auth - Rust
relay_auth

Enum KeyParseError

source
pub enum KeyParseError {
+KeyParseError in relay_auth - Rust
relay_auth

Enum KeyParseError

source
pub enum KeyParseError {
     BadEncoding,
     BadKey,
 }
Expand description

Raised if a key could not be parsed.

diff --git a/relay_auth/enum.UnpackError.html b/relay_auth/enum.UnpackError.html index 89dc66db6e..136a705f00 100644 --- a/relay_auth/enum.UnpackError.html +++ b/relay_auth/enum.UnpackError.html @@ -1,4 +1,4 @@ -UnpackError in relay_auth - Rust
relay_auth

Enum UnpackError

source
pub enum UnpackError {
+UnpackError in relay_auth - Rust
relay_auth

Enum UnpackError

source
pub enum UnpackError {
     BadSignature,
     BadEncoding,
     BadPayload(Error),
diff --git a/relay_auth/fn.generate_key_pair.html b/relay_auth/fn.generate_key_pair.html
index fc54ae88f3..ec2a2e4d0b 100644
--- a/relay_auth/fn.generate_key_pair.html
+++ b/relay_auth/fn.generate_key_pair.html
@@ -1,2 +1,2 @@
-generate_key_pair in relay_auth - Rust
relay_auth

Function generate_key_pair

source
pub fn generate_key_pair() -> (SecretKey, PublicKey)
Expand description

Generates a secret + public key pair.

+generate_key_pair in relay_auth - Rust
relay_auth

Function generate_key_pair

source
pub fn generate_key_pair() -> (SecretKey, PublicKey)
Expand description

Generates a secret + public key pair.

\ No newline at end of file diff --git a/relay_auth/fn.generate_relay_id.html b/relay_auth/fn.generate_relay_id.html index 8adb881d15..1f353908e9 100644 --- a/relay_auth/fn.generate_relay_id.html +++ b/relay_auth/fn.generate_relay_id.html @@ -1,2 +1,2 @@ -generate_relay_id in relay_auth - Rust
relay_auth

Function generate_relay_id

source
pub fn generate_relay_id() -> RelayId
Expand description

Generates an Relay ID.

+generate_relay_id in relay_auth - Rust
relay_auth

Function generate_relay_id

source
pub fn generate_relay_id() -> RelayId
Expand description

Generates an Relay ID.

\ No newline at end of file diff --git a/relay_auth/index.html b/relay_auth/index.html index c39232bdaa..cff43c6ad9 100644 --- a/relay_auth/index.html +++ b/relay_auth/index.html @@ -1,4 +1,4 @@ -relay_auth - Rust

Crate relay_auth

source
Expand description

Authentication and crypto for Relay.

+relay_auth - Rust

Crate relay_auth

source
Expand description

Authentication and crypto for Relay.

This library contains the PublicKey and SecretKey types, which can be used to validate and sign traffic between Relays in authenticated endpoints. Additionally, Relays identify via a RelayId, which is included in the request signature and headers.

diff --git a/relay_auth/struct.ParseRelayVersionError.html b/relay_auth/struct.ParseRelayVersionError.html index 6cd543e61b..904454421b 100644 --- a/relay_auth/struct.ParseRelayVersionError.html +++ b/relay_auth/struct.ParseRelayVersionError.html @@ -1,4 +1,4 @@ -ParseRelayVersionError in relay_auth - Rust
relay_auth

Struct ParseRelayVersionError

source
pub struct ParseRelayVersionError;
Expand description

Raised if Relay cannot parse the provided version.

+ParseRelayVersionError in relay_auth - Rust
relay_auth

Struct ParseRelayVersionError

source
pub struct ParseRelayVersionError;
Expand description

Raised if Relay cannot parse the provided version.

Trait Implementationsยง

sourceยง

impl Clone for ParseRelayVersionError

sourceยง

fn clone(&self) -> ParseRelayVersionError

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
sourceยง

impl Debug for ParseRelayVersionError

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl Default for ParseRelayVersionError

sourceยง

fn default() -> ParseRelayVersionError

Returns the โ€œdefault valueโ€ for a type. Read more
sourceยง

impl Display for ParseRelayVersionError

sourceยง

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl Error for ParseRelayVersionError

1.30.0 ยท sourceยง

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 ยท sourceยง

fn description(&self) -> &str

๐Ÿ‘ŽDeprecated since 1.42.0: use the Display impl or to_string()
1.0.0 ยท sourceยง

fn cause(&self) -> Option<&dyn Error>

๐Ÿ‘ŽDeprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceยง

fn provide<'a>(&'a self, request: &mut Request<'a>)

๐Ÿ”ฌThis is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
sourceยง

impl Copy for ParseRelayVersionError

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceยง

impl<T> BorrowMut<T> for T
where diff --git a/relay_auth/struct.PublicKey.html b/relay_auth/struct.PublicKey.html index 2707934004..45ceb46b9d 100644 --- a/relay_auth/struct.PublicKey.html +++ b/relay_auth/struct.PublicKey.html @@ -1,4 +1,4 @@ -PublicKey in relay_auth - Rust
relay_auth

Struct PublicKey

source
pub struct PublicKey { /* private fields */ }
Expand description

Represents the public key of a Relay.

+PublicKey in relay_auth - Rust
relay_auth

Struct PublicKey

source
pub struct PublicKey { /* private fields */ }
Expand description

Represents the public key of a Relay.

Public keys are based on ed25519 but this should be considered an implementation detail for now. We only ever represent public keys on the wire as opaque ascii encoded strings of arbitrary format or length.

diff --git a/relay_auth/struct.RegisterChallenge.html b/relay_auth/struct.RegisterChallenge.html index 7545e961bd..c27fb7915d 100644 --- a/relay_auth/struct.RegisterChallenge.html +++ b/relay_auth/struct.RegisterChallenge.html @@ -1,4 +1,4 @@ -RegisterChallenge in relay_auth - Rust
relay_auth

Struct RegisterChallenge

source
pub struct RegisterChallenge { /* private fields */ }
Expand description

Represents the response the server is supposed to send to a register request.

+RegisterChallenge in relay_auth - Rust
relay_auth

Struct RegisterChallenge

source
pub struct RegisterChallenge { /* private fields */ }
Expand description

Represents the response the server is supposed to send to a register request.

Implementationsยง

sourceยง

impl RegisterChallenge

source

pub fn relay_id(&self) -> &RelayId

Returns the Relay ID of the registering Relay.

source

pub fn token(&self) -> &str

Returns the token that needs signing.

source

pub fn into_response(self) -> RegisterResponse

Creates a register response.

diff --git a/relay_auth/struct.RegisterRequest.html b/relay_auth/struct.RegisterRequest.html index 0bed86609b..10eed24137 100644 --- a/relay_auth/struct.RegisterRequest.html +++ b/relay_auth/struct.RegisterRequest.html @@ -1,4 +1,4 @@ -RegisterRequest in relay_auth - Rust
relay_auth

Struct RegisterRequest

source
pub struct RegisterRequest { /* private fields */ }
Expand description

Represents a request for registration with the upstream.

+RegisterRequest in relay_auth - Rust
relay_auth

Struct RegisterRequest

source
pub struct RegisterRequest { /* private fields */ }
Expand description

Represents a request for registration with the upstream.

This is created if the Relay signs in for the first time. The server needs to respond to this request with a unique token that is then used to sign the response.

diff --git a/relay_auth/struct.RegisterResponse.html b/relay_auth/struct.RegisterResponse.html index 7235332eea..7cb63a1b3d 100644 --- a/relay_auth/struct.RegisterResponse.html +++ b/relay_auth/struct.RegisterResponse.html @@ -1,4 +1,4 @@ -RegisterResponse in relay_auth - Rust
relay_auth

Struct RegisterResponse

source
pub struct RegisterResponse { /* private fields */ }
Expand description

Represents a response to a register challenge.

+RegisterResponse in relay_auth - Rust
relay_auth

Struct RegisterResponse

source
pub struct RegisterResponse { /* private fields */ }
Expand description

Represents a response to a register challenge.

The response contains the same data as the register challenge. By signing this payload successfully, this Relay authenticates with the upstream.

Implementationsยง

sourceยง

impl RegisterResponse

source

pub fn unpack( diff --git a/relay_auth/struct.RegisterState.html b/relay_auth/struct.RegisterState.html index a8580302f3..ef2714e414 100644 --- a/relay_auth/struct.RegisterState.html +++ b/relay_auth/struct.RegisterState.html @@ -1,4 +1,4 @@ -RegisterState in relay_auth - Rust
relay_auth

Struct RegisterState

source
pub struct RegisterState { /* private fields */ }
Expand description

A state structure containing relevant information from RegisterRequest.

+RegisterState in relay_auth - Rust
relay_auth

Struct RegisterState

source
pub struct RegisterState { /* private fields */ }
Expand description

A state structure containing relevant information from RegisterRequest.

This structure is used to carry over information between the downstream register request and register response. In addition to identifying information, it contains a random bit to avoid replay attacks.

diff --git a/relay_auth/struct.Registration.html b/relay_auth/struct.Registration.html index 0dc9acdf4c..27877ff9ca 100644 --- a/relay_auth/struct.Registration.html +++ b/relay_auth/struct.Registration.html @@ -1,4 +1,4 @@ -Registration in relay_auth - Rust
relay_auth

Struct Registration

source
pub struct Registration { /* private fields */ }
Expand description

Represents the final registration.

+Registration in relay_auth - Rust
relay_auth

Struct Registration

source
pub struct Registration { /* private fields */ }
Expand description

Represents the final registration.

Trait Implementationsยง

sourceยง

impl Debug for Registration

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl<'de> Deserialize<'de> for Registration

sourceยง

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
sourceยง

impl Serialize for Registration

sourceยง

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for T
where diff --git a/relay_auth/struct.RelayVersion.html b/relay_auth/struct.RelayVersion.html index adb1fb4853..b0813d83e0 100644 --- a/relay_auth/struct.RelayVersion.html +++ b/relay_auth/struct.RelayVersion.html @@ -1,4 +1,4 @@ -RelayVersion in relay_auth - Rust
relay_auth

Struct RelayVersion

source
pub struct RelayVersion { /* private fields */ }
Expand description

The version of a Relay.

+RelayVersion in relay_auth - Rust
relay_auth

Struct RelayVersion

source
pub struct RelayVersion { /* private fields */ }
Expand description

The version of a Relay.

Implementationsยง

sourceยง

impl RelayVersion

source

pub fn current() -> Self

Returns the current Relay version.

source

pub fn oldest() -> Self

Returns the oldest compatible Relay version.

Relays older than this cannot authenticate with this Relay. It is possible for newer Relays diff --git a/relay_auth/struct.SecretKey.html b/relay_auth/struct.SecretKey.html index 0af9dd30ff..9dcba0fa8f 100644 --- a/relay_auth/struct.SecretKey.html +++ b/relay_auth/struct.SecretKey.html @@ -1,4 +1,4 @@ -SecretKey in relay_auth - Rust

relay_auth

Struct SecretKey

source
pub struct SecretKey { /* private fields */ }
Expand description

Represents the secret key of an Relay.

+SecretKey in relay_auth - Rust
relay_auth

Struct SecretKey

source
pub struct SecretKey { /* private fields */ }
Expand description

Represents the secret key of an Relay.

Secret keys are based on ed25519 but this should be considered an implementation detail for now. We only ever represent public keys on the wire as opaque ascii encoded strings of arbitrary format or length.

diff --git a/relay_auth/struct.SignatureHeader.html b/relay_auth/struct.SignatureHeader.html index 9cfcbabff8..c2ec507813 100644 --- a/relay_auth/struct.SignatureHeader.html +++ b/relay_auth/struct.SignatureHeader.html @@ -1,4 +1,4 @@ -SignatureHeader in relay_auth - Rust
relay_auth

Struct SignatureHeader

source
pub struct SignatureHeader {
+SignatureHeader in relay_auth - Rust
relay_auth

Struct SignatureHeader

source
pub struct SignatureHeader {
     pub timestamp: Option<DateTime<Utc>>,
 }
Expand description

A wrapper around packed data that adds a timestamp.

This is internally automatically used when data is signed.

diff --git a/relay_auth/struct.SignedRegisterState.html b/relay_auth/struct.SignedRegisterState.html index ea75257e4a..7e16ab371e 100644 --- a/relay_auth/struct.SignedRegisterState.html +++ b/relay_auth/struct.SignedRegisterState.html @@ -1,4 +1,4 @@ -SignedRegisterState in relay_auth - Rust
relay_auth

Struct SignedRegisterState

source
pub struct SignedRegisterState(/* private fields */);
Expand description

An encoded and signed RegisterState.

+SignedRegisterState in relay_auth - Rust
relay_auth

Struct SignedRegisterState

source
pub struct SignedRegisterState(/* private fields */);
Expand description

An encoded and signed RegisterState.

This signature can be used by the upstream server to ensure that the downstream client did not tamper with the token without keeping state between requests. For more information, see RegisterState.

diff --git a/relay_auth/type.RelayId.html b/relay_auth/type.RelayId.html index 74c13729f5..d986ba22fd 100644 --- a/relay_auth/type.RelayId.html +++ b/relay_auth/type.RelayId.html @@ -1,2 +1,2 @@ -RelayId in relay_auth - Rust
relay_auth

Type Alias RelayId

source
pub type RelayId = Uuid;
Expand description

Alias for Relay IDs (UUIDs).

+RelayId in relay_auth - Rust
relay_auth

Type Alias RelayId

source
pub type RelayId = Uuid;
Expand description

Alias for Relay IDs (UUIDs).

Aliased Typeยง

struct RelayId(/* private fields */);
\ No newline at end of file diff --git a/relay_base_schema/all.html b/relay_base_schema/all.html index 4d00a20a40..a2deb62996 100644 --- a/relay_base_schema/all.html +++ b/relay_base_schema/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/relay_base_schema/data_category/enum.DataCategory.html b/relay_base_schema/data_category/enum.DataCategory.html index 3a30d203cd..ac6b21e412 100644 --- a/relay_base_schema/data_category/enum.DataCategory.html +++ b/relay_base_schema/data_category/enum.DataCategory.html @@ -1,4 +1,4 @@ -DataCategory in relay_base_schema::data_category - Rust
relay_base_schema::data_category

Enum DataCategory

source
#[repr(i8)]
pub enum DataCategory { +DataCategory in relay_base_schema::data_category - Rust
relay_base_schema::data_category

Enum DataCategory

source
#[repr(i8)]
pub enum DataCategory {
Show 24 variants Default = 0, Error = 1, Transaction = 2, diff --git a/relay_base_schema/data_category/index.html b/relay_base_schema/data_category/index.html index 6e48636ae0..f8c0403566 100644 --- a/relay_base_schema/data_category/index.html +++ b/relay_base_schema/data_category/index.html @@ -1,2 +1,2 @@ -relay_base_schema::data_category - Rust
relay_base_schema

Module data_category

source
Expand description

Defines the DataCategory type that classifies data Relay can handle.

+relay_base_schema::data_category - Rust
relay_base_schema

Module data_category

source
Expand description

Defines the DataCategory type that classifies data Relay can handle.

Enumsยง

  • Classifies the type of data that is being ingested.
\ No newline at end of file diff --git a/relay_base_schema/events/enum.EventType.html b/relay_base_schema/events/enum.EventType.html index e109086c14..578139bffb 100644 --- a/relay_base_schema/events/enum.EventType.html +++ b/relay_base_schema/events/enum.EventType.html @@ -1,4 +1,4 @@ -EventType in relay_base_schema::events - Rust
relay_base_schema::events

Enum EventType

source
pub enum EventType {
+EventType in relay_base_schema::events - Rust
relay_base_schema::events

Enum EventType

source
pub enum EventType {
     Error,
     Csp,
     Hpkp,
diff --git a/relay_base_schema/events/index.html b/relay_base_schema/events/index.html
index 4e6fcd6b33..67786baee6 100644
--- a/relay_base_schema/events/index.html
+++ b/relay_base_schema/events/index.html
@@ -1,4 +1,4 @@
-relay_base_schema::events - Rust
relay_base_schema

Module events

source
Expand description

Defines types related to Sentry events.

+relay_base_schema::events - Rust
relay_base_schema

Module events

source
Expand description

Defines types related to Sentry events.

As opposed to the event protocol defined in relay-event-schema, these types are meant to be used outside of the event protocol, for instance to reference Events from other places.

Structsยง

Enumsยง

\ No newline at end of file diff --git a/relay_base_schema/events/struct.ParseEventTypeError.html b/relay_base_schema/events/struct.ParseEventTypeError.html index 3907262b43..8d641e2c37 100644 --- a/relay_base_schema/events/struct.ParseEventTypeError.html +++ b/relay_base_schema/events/struct.ParseEventTypeError.html @@ -1,4 +1,4 @@ -ParseEventTypeError in relay_base_schema::events - Rust
relay_base_schema::events

Struct ParseEventTypeError

source
pub struct ParseEventTypeError;
Expand description

An error used when parsing EventType.

+ParseEventTypeError in relay_base_schema::events - Rust
relay_base_schema::events

Struct ParseEventTypeError

source
pub struct ParseEventTypeError;
Expand description

An error used when parsing EventType.

Trait Implementationsยง

sourceยง

impl Clone for ParseEventTypeError

sourceยง

fn clone(&self) -> ParseEventTypeError

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
sourceยง

impl Debug for ParseEventTypeError

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl Display for ParseEventTypeError

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl Error for ParseEventTypeError

1.30.0 ยท sourceยง

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 ยท sourceยง

fn description(&self) -> &str

๐Ÿ‘ŽDeprecated since 1.42.0: use the Display impl or to_string()
1.0.0 ยท sourceยง

fn cause(&self) -> Option<&dyn Error>

๐Ÿ‘ŽDeprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceยง

fn provide<'a>(&'a self, request: &mut Request<'a>)

๐Ÿ”ฌThis is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
sourceยง

impl Copy for ParseEventTypeError

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceยง

impl<T> BorrowMut<T> for T
where diff --git a/relay_base_schema/index.html b/relay_base_schema/index.html index a86751f82d..400cb0ebea 100644 --- a/relay_base_schema/index.html +++ b/relay_base_schema/index.html @@ -1,3 +1,3 @@ -relay_base_schema - Rust

Crate relay_base_schema

source
Expand description

Basic types for Relayโ€™s API schema used across multiple services.

+relay_base_schema - Rust

Crate relay_base_schema

source
Expand description

Basic types for Relayโ€™s API schema used across multiple services.

Modulesยง

\ No newline at end of file diff --git a/relay_base_schema/metrics/enum.DurationUnit.html b/relay_base_schema/metrics/enum.DurationUnit.html index d43f6d7ba4..9c984eefea 100644 --- a/relay_base_schema/metrics/enum.DurationUnit.html +++ b/relay_base_schema/metrics/enum.DurationUnit.html @@ -1,4 +1,4 @@ -DurationUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum DurationUnit

source
pub enum DurationUnit {
+DurationUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum DurationUnit

source
pub enum DurationUnit {
     NanoSecond,
     MicroSecond,
     MilliSecond,
diff --git a/relay_base_schema/metrics/enum.FractionUnit.html b/relay_base_schema/metrics/enum.FractionUnit.html
index 3bf4378220..68b18e29fd 100644
--- a/relay_base_schema/metrics/enum.FractionUnit.html
+++ b/relay_base_schema/metrics/enum.FractionUnit.html
@@ -1,4 +1,4 @@
-FractionUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum FractionUnit

source
pub enum FractionUnit {
+FractionUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum FractionUnit

source
pub enum FractionUnit {
     Ratio,
     Percent,
 }
Expand description

Units of fraction used in MetricUnit::Fraction.

diff --git a/relay_base_schema/metrics/enum.InformationUnit.html b/relay_base_schema/metrics/enum.InformationUnit.html index c50a5ebf40..f0d1fdc828 100644 --- a/relay_base_schema/metrics/enum.InformationUnit.html +++ b/relay_base_schema/metrics/enum.InformationUnit.html @@ -1,4 +1,4 @@ -InformationUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum InformationUnit

source
pub enum InformationUnit {
+InformationUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum InformationUnit

source
pub enum InformationUnit {
 
Show 14 variants Bit, Byte, KiloByte, diff --git a/relay_base_schema/metrics/enum.MetricNamespace.html b/relay_base_schema/metrics/enum.MetricNamespace.html index 1e24c55bda..c78ed9ef39 100644 --- a/relay_base_schema/metrics/enum.MetricNamespace.html +++ b/relay_base_schema/metrics/enum.MetricNamespace.html @@ -1,4 +1,4 @@ -MetricNamespace in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum MetricNamespace

source
pub enum MetricNamespace {
+MetricNamespace in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum MetricNamespace

source
pub enum MetricNamespace {
     Sessions,
     Transactions,
     Spans,
diff --git a/relay_base_schema/metrics/enum.MetricType.html b/relay_base_schema/metrics/enum.MetricType.html
index 0ff87814b1..cfce7a0252 100644
--- a/relay_base_schema/metrics/enum.MetricType.html
+++ b/relay_base_schema/metrics/enum.MetricType.html
@@ -1,4 +1,4 @@
-MetricType in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum MetricType

source
pub enum MetricType {
+MetricType in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum MetricType

source
pub enum MetricType {
     Counter,
     Distribution,
     Set,
diff --git a/relay_base_schema/metrics/enum.MetricUnit.html b/relay_base_schema/metrics/enum.MetricUnit.html
index 4d5159b3fc..9914b05eab 100644
--- a/relay_base_schema/metrics/enum.MetricUnit.html
+++ b/relay_base_schema/metrics/enum.MetricUnit.html
@@ -1,4 +1,4 @@
-MetricUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum MetricUnit

source
pub enum MetricUnit {
+MetricUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Enum MetricUnit

source
pub enum MetricUnit {
     Duration(DurationUnit),
     Information(InformationUnit),
     Fraction(FractionUnit),
diff --git a/relay_base_schema/metrics/fn.can_be_valid_metric_name.html b/relay_base_schema/metrics/fn.can_be_valid_metric_name.html
index 1bda558f78..8331425f28 100644
--- a/relay_base_schema/metrics/fn.can_be_valid_metric_name.html
+++ b/relay_base_schema/metrics/fn.can_be_valid_metric_name.html
@@ -1,2 +1,2 @@
-can_be_valid_metric_name in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Function can_be_valid_metric_name

source
pub fn can_be_valid_metric_name(name: &str) -> bool
Expand description

Returns whether try_normalize_metric_name can normalize the passed name.

+can_be_valid_metric_name in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Function can_be_valid_metric_name

source
pub fn can_be_valid_metric_name(name: &str) -> bool
Expand description

Returns whether try_normalize_metric_name can normalize the passed name.

\ No newline at end of file diff --git a/relay_base_schema/metrics/fn.try_normalize_metric_name.html b/relay_base_schema/metrics/fn.try_normalize_metric_name.html index 289a2a2eaf..19f5bfe7c6 100644 --- a/relay_base_schema/metrics/fn.try_normalize_metric_name.html +++ b/relay_base_schema/metrics/fn.try_normalize_metric_name.html @@ -1,4 +1,4 @@ -try_normalize_metric_name in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Function try_normalize_metric_name

source
pub fn try_normalize_metric_name(name: &str) -> Option<Cow<'_, str>>
Expand description

Validates a metric name and normalizes it. This is the statsd name, i.e. without type or unit.

+try_normalize_metric_name in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Function try_normalize_metric_name

source
pub fn try_normalize_metric_name(name: &str) -> Option<Cow<'_, str>>
Expand description

Validates a metric name and normalizes it. This is the statsd name, i.e. without type or unit.

Metric names cannot be empty, must begin with a letter and can consist of ASCII alphanumerics, underscores, dashes, and periods. The implementation will further replace dashes with underscores.

diff --git a/relay_base_schema/metrics/index.html b/relay_base_schema/metrics/index.html index 1903c52d2b..a46829f2cc 100644 --- a/relay_base_schema/metrics/index.html +++ b/relay_base_schema/metrics/index.html @@ -1,2 +1,2 @@ -relay_base_schema::metrics - Rust
relay_base_schema

Module metrics

source
Expand description

Type definitions for Sentry metrics.

+relay_base_schema::metrics - Rust
relay_base_schema

Module metrics

source
Expand description

Type definitions for Sentry metrics.

Structsยง

Enumsยง

Functionsยง

\ No newline at end of file diff --git a/relay_base_schema/metrics/struct.CustomUnit.html b/relay_base_schema/metrics/struct.CustomUnit.html index 2ca00fb89d..ba86f7f77b 100644 --- a/relay_base_schema/metrics/struct.CustomUnit.html +++ b/relay_base_schema/metrics/struct.CustomUnit.html @@ -1,4 +1,4 @@ -CustomUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct CustomUnit

source
pub struct CustomUnit(/* private fields */);
Expand description

Custom user-defined units without builtin conversion.

+CustomUnit in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct CustomUnit

source
pub struct CustomUnit(/* private fields */);
Expand description

Custom user-defined units without builtin conversion.

Implementationsยง

sourceยง

impl CustomUnit

source

pub fn parse(s: &str) -> Result<Self, ParseMetricUnitError>

Parses a CustomUnit from a string.

Custom units must consist of ASCII alphanumeric characters, underscores, and digits.

source

pub fn as_str(&self) -> &str

Returns the string representation of this unit.

diff --git a/relay_base_schema/metrics/struct.MetricName.html b/relay_base_schema/metrics/struct.MetricName.html index 0143e4f73a..b21e33a46f 100644 --- a/relay_base_schema/metrics/struct.MetricName.html +++ b/relay_base_schema/metrics/struct.MetricName.html @@ -1,4 +1,4 @@ -MetricName in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct MetricName

source
pub struct MetricName(/* private fields */);
Expand description

Optimized string represenation of a metric name.

+MetricName in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct MetricName

source
pub struct MetricName(/* private fields */);
Expand description

Optimized string represenation of a metric name.

The contained name does not need to be valid MRI, but it usually is.

The metric name can be efficiently cloned.

Implementationsยง

sourceยง

impl MetricName

source

pub fn try_type(&self) -> Option<MetricType>

Extracts the type from a well formed MRI.

diff --git a/relay_base_schema/metrics/struct.MetricResourceIdentifier.html b/relay_base_schema/metrics/struct.MetricResourceIdentifier.html index 9cc5937352..92fb07ba22 100644 --- a/relay_base_schema/metrics/struct.MetricResourceIdentifier.html +++ b/relay_base_schema/metrics/struct.MetricResourceIdentifier.html @@ -1,4 +1,4 @@ -MetricResourceIdentifier in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct MetricResourceIdentifier

source
pub struct MetricResourceIdentifier<'a> {
+MetricResourceIdentifier in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct MetricResourceIdentifier

source
pub struct MetricResourceIdentifier<'a> {
     pub ty: MetricType,
     pub namespace: MetricNamespace,
     pub name: Cow<'a, str>,
diff --git a/relay_base_schema/metrics/struct.ParseMetricError.html b/relay_base_schema/metrics/struct.ParseMetricError.html
index 366669ece5..97a15751b5 100644
--- a/relay_base_schema/metrics/struct.ParseMetricError.html
+++ b/relay_base_schema/metrics/struct.ParseMetricError.html
@@ -1,4 +1,4 @@
-ParseMetricError in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct ParseMetricError

source
pub struct ParseMetricError;
Expand description

An error returned when metrics or MRIs cannot be parsed.

+ParseMetricError in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct ParseMetricError

source
pub struct ParseMetricError;
Expand description

An error returned when metrics or MRIs cannot be parsed.

Trait Implementationsยง

sourceยง

impl Clone for ParseMetricError

sourceยง

fn clone(&self) -> ParseMetricError

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
sourceยง

impl Debug for ParseMetricError

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl Display for ParseMetricError

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl Error for ParseMetricError

1.30.0 ยท sourceยง

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 ยท sourceยง

fn description(&self) -> &str

๐Ÿ‘ŽDeprecated since 1.42.0: use the Display impl or to_string()
1.0.0 ยท sourceยง

fn cause(&self) -> Option<&dyn Error>

๐Ÿ‘ŽDeprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceยง

fn provide<'a>(&'a self, request: &mut Request<'a>)

๐Ÿ”ฌThis is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
sourceยง

impl Copy for ParseMetricError

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceยง

impl<T> BorrowMut<T> for T
where diff --git a/relay_base_schema/metrics/struct.ParseMetricUnitError.html b/relay_base_schema/metrics/struct.ParseMetricUnitError.html index e6b9915751..9c80f33006 100644 --- a/relay_base_schema/metrics/struct.ParseMetricUnitError.html +++ b/relay_base_schema/metrics/struct.ParseMetricUnitError.html @@ -1,4 +1,4 @@ -ParseMetricUnitError in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct ParseMetricUnitError

source
pub struct ParseMetricUnitError(/* private fields */);
Expand description

An error parsing a MetricUnit or one of its variants.

+ParseMetricUnitError in relay_base_schema::metrics - Rust
relay_base_schema::metrics

Struct ParseMetricUnitError

source
pub struct ParseMetricUnitError(/* private fields */);
Expand description

An error parsing a MetricUnit or one of its variants.

Trait Implementationsยง

sourceยง

impl Clone for ParseMetricUnitError

sourceยง

fn clone(&self) -> ParseMetricUnitError

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
sourceยง

impl Debug for ParseMetricUnitError

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl Copy for ParseMetricUnitError

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceยง

impl<T> BorrowMut<T> for T
where diff --git a/relay_base_schema/organization/index.html b/relay_base_schema/organization/index.html index ad813b249a..92d146a9db 100644 --- a/relay_base_schema/organization/index.html +++ b/relay_base_schema/organization/index.html @@ -1,3 +1,3 @@ -relay_base_schema::organization - Rust
relay_base_schema

Module organization

source
Expand description

Contains OrganizationId which is the ID of a Sentry organization and is currently a +relay_base_schema::organization - Rust

relay_base_schema

Module organization

source
Expand description

Contains OrganizationId which is the ID of a Sentry organization and is currently a a wrapper over u64.

Structsยง

\ No newline at end of file diff --git a/relay_base_schema/organization/struct.OrganizationId.html b/relay_base_schema/organization/struct.OrganizationId.html index 4e6278adfe..a4d05628ac 100644 --- a/relay_base_schema/organization/struct.OrganizationId.html +++ b/relay_base_schema/organization/struct.OrganizationId.html @@ -1,4 +1,4 @@ -OrganizationId in relay_base_schema::organization - Rust
relay_base_schema::organization

Struct OrganizationId

source
pub struct OrganizationId(/* private fields */);
Expand description

The unique identifier of a Sentry organization.

+OrganizationId in relay_base_schema::organization - Rust
relay_base_schema::organization

Struct OrganizationId

source
pub struct OrganizationId(/* private fields */);
Expand description

The unique identifier of a Sentry organization.

Implementationsยง

sourceยง

impl OrganizationId

source

pub fn new(id: u64) -> Self

Creates a new organization ID from its numeric value

source

pub fn value(self) -> u64

Returns the numeric value of the organization ID.

Trait Implementationsยง

sourceยง

impl Clone for OrganizationId

sourceยง

fn clone(&self) -> OrganizationId

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
sourceยง

impl Debug for OrganizationId

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl<'de> Deserialize<'de> for OrganizationId

sourceยง

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where diff --git a/relay_base_schema/project/enum.ParseProjectIdError.html b/relay_base_schema/project/enum.ParseProjectIdError.html index ec26f7e268..985746bca7 100644 --- a/relay_base_schema/project/enum.ParseProjectIdError.html +++ b/relay_base_schema/project/enum.ParseProjectIdError.html @@ -1,4 +1,4 @@ -ParseProjectIdError in relay_base_schema::project - Rust
relay_base_schema::project

Enum ParseProjectIdError

source
pub enum ParseProjectIdError {
+ParseProjectIdError in relay_base_schema::project - Rust
relay_base_schema::project

Enum ParseProjectIdError

source
pub enum ParseProjectIdError {
     InvalidValue,
     EmptyValue,
 }
Expand description

Raised if a project ID cannot be parsed from a string.

diff --git a/relay_base_schema/project/index.html b/relay_base_schema/project/index.html index 7d7d3705ca..21dd084af5 100644 --- a/relay_base_schema/project/index.html +++ b/relay_base_schema/project/index.html @@ -1,4 +1,4 @@ -relay_base_schema::project - Rust
relay_base_schema

Module project

source
Expand description

Contains ProjectKey and ProjectId types and necessary traits implementations.

+relay_base_schema::project - Rust
relay_base_schema

Module project

source
Expand description

Contains ProjectKey and ProjectId types and necessary traits implementations.