pub struct StackConfig {
pub enable_metrics: bool,
pub enable_tracing: bool,
pub timeout_ms: u64,
pub enable_recovery: bool,
}
Expand description
Middleware stack configuration
Fields§
§enable_metrics: bool
Enable middleware metrics
enable_tracing: bool
Enable middleware tracing
timeout_ms: u64
Middleware timeout in milliseconds
enable_recovery: bool
Enable error recovery
Trait Implementations§
Source§impl Clone for StackConfig
impl Clone for StackConfig
Source§fn clone(&self) -> StackConfig
fn clone(&self) -> StackConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StackConfig
impl Debug for StackConfig
Auto Trait Implementations§
impl Freeze for StackConfig
impl RefUnwindSafe for StackConfig
impl Send for StackConfig
impl Sync for StackConfig
impl Unpin for StackConfig
impl UnwindSafe for StackConfig
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