pub enum RelayMode {
Proxy,
Managed,
}
Expand description
The operation mode of a relay.
Variants§
Proxy
This relay acts as a proxy for all requests and events.
Events are normalized and rate limits from the upstream are enforced, but the relay will not fetch project configurations from the upstream or perform PII stripping. All events are accepted unless overridden on the file system.
Managed
Project configurations are managed by the upstream.
Project configurations are always fetched from the upstream, unless they are statically overridden in the file system. This relay must be allowed in the upstream Sentry. This is only possible, if the upstream is Sentry directly, or another managed Relay.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RelayMode
impl<'de> Deserialize<'de> for RelayMode
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for RelayMode
impl Eq for RelayMode
impl StructuralPartialEq for RelayMode
Auto Trait Implementations§
impl Freeze for RelayMode
impl RefUnwindSafe for RelayMode
impl Send for RelayMode
impl Sync for RelayMode
impl Unpin for RelayMode
impl UnwindSafe for RelayMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.