pub struct MultihostConfig {
pub hosts: usize,
}Expand description
Configuration for a multihost Feldera pipeline.
This configuration is primarily for the coordinator.
Fields§
§hosts: usizeNumber of hosts to launch.
For the configuration to be truly multihost, this should be at least 2. A value of 1 still runs the multihost coordinator but it only coordinates a single host.
Trait Implementations§
Source§impl Clone for MultihostConfig
impl Clone for MultihostConfig
Source§fn clone(&self) -> MultihostConfig
fn clone(&self) -> MultihostConfig
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 MultihostConfig
impl Debug for MultihostConfig
Source§impl Default for MultihostConfig
impl Default for MultihostConfig
Source§impl<'de> Deserialize<'de> for MultihostConfig
impl<'de> Deserialize<'de> for MultihostConfig
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
Source§impl PartialEq for MultihostConfig
impl PartialEq for MultihostConfig
Source§impl Serialize for MultihostConfig
impl Serialize for MultihostConfig
Source§impl<'__s> ToSchema<'__s> for MultihostConfig
impl<'__s> ToSchema<'__s> for MultihostConfig
impl Eq for MultihostConfig
impl StructuralPartialEq for MultihostConfig
Auto Trait Implementations§
impl Freeze for MultihostConfig
impl RefUnwindSafe for MultihostConfig
impl Send for MultihostConfig
impl Sync for MultihostConfig
impl Unpin for MultihostConfig
impl UnwindSafe for MultihostConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.