pub struct DistributedComputingConfig {Show 13 fields
pub enable_auto_discovery: bool,
pub enable_load_balancing: bool,
pub enable_fault_tolerance: bool,
pub max_nodes: usize,
pub heartbeat_interval_ms: u64,
pub task_timeout_seconds: u64,
pub communication_timeout_ms: u64,
pub enable_encryption: bool,
pub enable_compression: bool,
pub discovery_port: u16,
pub communication_port_range: (u16, u16),
pub failure_detection_threshold: u32,
pub enable_elastic_scaling: bool,
}
Expand description
Configuration for distributed computing
Fields§
§enable_auto_discovery: bool
Enable automatic node discovery
enable_load_balancing: bool
Enable load balancing
enable_fault_tolerance: bool
Enable fault tolerance
max_nodes: usize
Maximum number of nodes
heartbeat_interval_ms: u64
Heartbeat interval (milliseconds)
task_timeout_seconds: u64
Task timeout (seconds)
communication_timeout_ms: u64
Communication timeout (milliseconds)
enable_encryption: bool
Enable encryption
enable_compression: bool
Enable compression
discovery_port: u16
Cluster discovery port
communication_port_range: (u16, u16)
Communication port range
failure_detection_threshold: u32
Node failure detection threshold
enable_elastic_scaling: bool
Enable elastic scaling
Trait Implementations§
Source§impl Clone for DistributedComputingConfig
impl Clone for DistributedComputingConfig
Source§fn clone(&self) -> DistributedComputingConfig
fn clone(&self) -> DistributedComputingConfig
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 DistributedComputingConfig
impl Debug for DistributedComputingConfig
Source§impl Default for DistributedComputingConfig
impl Default for DistributedComputingConfig
Source§impl<'de> Deserialize<'de> for DistributedComputingConfig
impl<'de> Deserialize<'de> for DistributedComputingConfig
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 DistributedComputingConfig
impl RefUnwindSafe for DistributedComputingConfig
impl Send for DistributedComputingConfig
impl Sync for DistributedComputingConfig
impl Unpin for DistributedComputingConfig
impl UnwindSafe for DistributedComputingConfig
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