pub enum RuntimeProfile {
Development,
Testing,
Staging,
Production,
HighThroughput,
LowLatency,
Custom(Box<RaptorQConfig>),
}Expand description
Pre-defined configuration profiles.
Variants§
Development
Development: verbose logging, relaxed limits.
Testing
Testing: deterministic, debug-friendly.
Staging
Staging: production-like with extra observability.
Production
Production: optimized defaults.
HighThroughput
HighThroughput: tuned for large data volumes.
LowLatency
LowLatency: tuned for minimal delay.
Custom(Box<RaptorQConfig>)
Custom: user-provided configuration.
Implementations§
Source§impl RuntimeProfile
impl RuntimeProfile
Sourcepub fn to_config(&self) -> RaptorQConfig
pub fn to_config(&self) -> RaptorQConfig
Expands the profile into a concrete configuration.
Trait Implementations§
Source§impl Clone for RuntimeProfile
impl Clone for RuntimeProfile
Source§fn clone(&self) -> RuntimeProfile
fn clone(&self) -> RuntimeProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RuntimeProfile
impl RefUnwindSafe for RuntimeProfile
impl Send for RuntimeProfile
impl Sync for RuntimeProfile
impl Unpin for RuntimeProfile
impl UnsafeUnpin for RuntimeProfile
impl UnwindSafe for RuntimeProfile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).