pub struct OperationConfig {
pub enable_metrics: bool,
pub enable_validation: bool,
pub timeout_ms: Option<u64>,
pub memory_limit_bytes: Option<usize>,
}Expand description
Operation-specific configuration
Fields§
§enable_metrics: boolEnable performance metrics for this operation
enable_validation: boolEnable validation for this operation
timeout_ms: Option<u64>Custom timeout for this operation (None = no timeout)
memory_limit_bytes: Option<usize>Custom memory limit for this operation (None = no limit)
Trait Implementations§
Source§impl Clone for OperationConfig
impl Clone for OperationConfig
Source§fn clone(&self) -> OperationConfig
fn clone(&self) -> OperationConfig
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 OperationConfig
impl Debug for OperationConfig
Auto Trait Implementations§
impl Freeze for OperationConfig
impl RefUnwindSafe for OperationConfig
impl Send for OperationConfig
impl Sync for OperationConfig
impl Unpin for OperationConfig
impl UnsafeUnpin for OperationConfig
impl UnwindSafe for OperationConfig
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more