pub struct ComputationContext {
pub available_processing_power: f64,
pub memory_utilization: f64,
pub network_latency_ms: f64,
pub active_connections: usize,
pub computational_load: f64,
pub optimization_strategy: OptimizationStrategy,
}Expand description
Computational context for processing
Fields§
§available_processing_power: f64§memory_utilization: f64§network_latency_ms: f64§active_connections: usize§computational_load: f64§optimization_strategy: OptimizationStrategyTrait Implementations§
Source§impl Clone for ComputationContext
impl Clone for ComputationContext
Source§fn clone(&self) -> ComputationContext
fn clone(&self) -> ComputationContext
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 moreSource§impl Debug for ComputationContext
impl Debug for ComputationContext
Source§impl<'de> Deserialize<'de> for ComputationContext
impl<'de> Deserialize<'de> for ComputationContext
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
Auto Trait Implementations§
impl Freeze for ComputationContext
impl RefUnwindSafe for ComputationContext
impl Send for ComputationContext
impl Sync for ComputationContext
impl Unpin for ComputationContext
impl UnsafeUnpin for ComputationContext
impl UnwindSafe for ComputationContext
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